[Xymon] xymonnet testip And host.cfg Entry

Rebman,Scott (HHSC Contractor) Scott.Rebman at hhsc.state.tx.us
Fri Aug 22 18:17:58 CEST 2014


Looking for assistance in recognizing (pinging) admin networks on Solaris 10/11 global zones and ldoms but keep using public IP's for containers (zones)

Found the following on the xymonnet man page:

--dns=[ip|only|standard]
      Determines how xymonnet finds the IP adresses of the hosts to test. By default (the "standard"), xymonnet does a DNS lookup of the hostname to determine the IP address, unless the host has the "testip" tag, or the DNS lookup fails.
      With "--dns=only" xymonnet will ONLY do the DNS lookup; if it fails, then all services on that host will be reported as being down.
      With "--dns=ip" xymonnet will never do a DNS lookup; it will use the IP adresse specified in hosts.cfg for the tests. Thus, this setting is equivalent to having the "testip" tag on all hosts. Note that http tests will ignore this setting and still perform a DNS lookup for the hostname given in the URL; see the "xymonnet tags for HTTP tests" section in hosts.cfg<http://xymon.sourceforge.net/xymon/help/manpages/man5/hosts.cfg.5.html>(5)

But on the host.cfg man page:

testip
      By default, Xymon will perform a name lookup of the hostname to get the IP address it will use for network tests. This tag causes Xymon to use the IP listed in the hosts.cfg file.

But then it goes on to say later in the hosts.cfg page:

Testing sites by IP-address
      xymonnet ignores the "testip" tag normally used to force a test to use the IP-address from the hosts.cfg file instead of the hostname, when it performs http and https tests.

      The reason for this is that it interacts badly with virtual hosts, especially if these are IP-based as is common with https-websites.
The xymon info page does list the admin network IP but the conn page continues to check the public IP address:

<Organization Name>     <Global Zone> - Information     Fri Aug 22 09:38:43 2014
[X]


08/21/14 What happened to the iostat2<http://dwru002.hhscie.txaccess.net/hobbit/help/doc/removed-iostat2.html> column on the Solaris boxes?



Hostname:
<Global Zone>

OS:
SunOS <Global Zone> 5.11 11.1 sun4v sparc sun4v

Client S/W:


IP:
172.###.###.78


[X]
<Organization Name>     <Global Zone>  - conn   Fri Aug 22 09:40:14 2014
[X]


08/21/14 What happened to the iostat2<http://dwru002.hhscie.txaccess.net/hobbit/help/doc/removed-iostat2.html> column on the Solaris boxes?



Top of Form
Bottom of Form

[X]







































-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140822/ddaf5e4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture (Device Independent Bitmap) 1.jpg
Type: image/jpeg
Size: 787 bytes
Desc: Picture (Device Independent Bitmap) 1.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140822/ddaf5e4c/attachment.jpg>


More information about the Xymon mailing list