Can somebody confirm this?<br>We had a monitored host, configured incorrectly in bb-hosts. The IP address was incorrect.<br>(The IP address was allocated to a router somewhere on the network)<br>The entry was as follows. (Name & IP changed)<br>
1.2.3.4  dbsrv1        #       ssh     oratns:1578     NOCOLUMNS:memory<br>Should have been<br>2.3.4.5  dbsrv1        #       ssh     oratns:1578     NOCOLUMNS:memory<br><br>The conn test was green. It could have been pinging the real host (nslookup dbserv1 gave the correct IP)<br>
Or it could have used the 1.2.3.4 IP of the router, which responds to a ping.<br><br>However, the oratns and ssh columns were perpetually red.<br>Obviously, the router has no database listener, nor was it accepting ssh connections (limited using ACLs)<br>
So it looked like it was using the bb-hosts IP. If it was doing a name lookup, it would  have used the correct IP, and returned green.<br>When I changed the IP in bb-hosts to the correct IP, oratns and ssh both went green.<br>
<br>I always thought that Xymon does a name lookup, but from this, it appears as if oratns and ssh use the IP address in bb-hosts.<br>Which was it using for the ping? Lookup, or bb-hosts?<br><br>Cheers<br>    Vernon<br><br>
<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 9:43 PM, Larry Barber <span dir="ltr"><<a href="mailto:lebarber@gmail.com">lebarber@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you have "testip" in the server's stanza in bb-hosts then Hobbit uses the ip address in the bb-hosts file. Otherwise it does a DNS lookup based on the server's name. <br><br>Thanks,<br><font color="#888888">Larry Barber</font><div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Mon, Jul 19, 2010 at 3:36 AM, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi all<br><br>Probably need some of the coder types to answer this one for me.<br>For the different network tests, where does Xymon get the IP address from?<br><br>In particular, ping, ssh, oratns, dns etc.<br>I think I read somewhere that for ping, Xymon does a host name lookup.<br>


But is this the case for the other tests?<br><br>Thanks<br><font color="#888888">    Vernon<br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>