Xymon Mailing List Archive search

spoofed IP's in hosts.cfg

2 messages in this thread

list Kris Springer · Thu, 20 Feb 2014 16:13:17 -0800 ·
I use xymon to monitor not only servers but also many specific URL's through
ports that we host for various purposes.  Some of the things I monitor are
behind multiple NAT firewalls and the IP's of the hosts are not only
irrelevant but not forwarded through my firewall and thus not needed to be
in my hosts.cfg file which is not on my local network.  I did some searching
and saw that I could enter 0.0.0.0 for the IP's, but now my hosts.cfg file
doesn't work.  What can I enter as the IP's for hosts in my hosts.cfg file
when I don't want the IP's specified?

 
Thank you.


Kris Springer
list John Thurston · Thu, 20 Feb 2014 16:38:24 -0900 ·
quoted from Kris Springer
On 2/20/2014 3:13 PM, Kris Springer wrote:
I use xymon to monitor not only servers but also many specific URL's through
ports that we host for various purposes.  Some of the things I monitor are
behind multiple NAT firewalls and the IP's of the hosts are not only
irrelevant but not forwarded through my firewall and thus not needed to be
in my hosts.cfg file which is not on my local network.  I did some searching
and saw that I could enter 0.0.0.0 for the IP's, but now my hosts.cfg file
doesn't work.  What can I enter as the IP's for hosts in my hosts.cfg file
when I don't want the IP's specified?
If I understand your question... I use 127.0.0.1 as an IP address for 
'pseudohosts' and label them with "testip noconn"

This gives me a line in hosts.cfg, does not try to do name resolution on 
it, and doesn't try to ping it.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska