[xymon] IP address - from where?

Vernon Everett everett.vernon at gmail.com
Tue Jul 20 04:50:26 CEST 2010


Can somebody confirm this?
We had a monitored host, configured incorrectly in bb-hosts. The IP address
was incorrect.
(The IP address was allocated to a router somewhere on the network)
The entry was as follows. (Name & IP changed)
1.2.3.4  dbsrv1        #       ssh     oratns:1578     NOCOLUMNS:memory
Should have been
2.3.4.5  dbsrv1        #       ssh     oratns:1578     NOCOLUMNS:memory

The conn test was green. It could have been pinging the real host (nslookup
dbserv1 gave the correct IP)
Or it could have used the 1.2.3.4 IP of the router, which responds to a
ping.

However, the oratns and ssh columns were perpetually red.
Obviously, the router has no database listener, nor was it accepting ssh
connections (limited using ACLs)
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.
When I changed the IP in bb-hosts to the correct IP, oratns and ssh both
went green.

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.
Which was it using for the ping? Lookup, or bb-hosts?

Cheers
    Vernon



On Mon, Jul 19, 2010 at 9:43 PM, Larry Barber <lebarber at gmail.com> wrote:

> 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.
>
> Thanks,
> Larry Barber
>
>
> On Mon, Jul 19, 2010 at 3:36 AM, Vernon Everett <everett.vernon at gmail.com>wrote:
>
>> Hi all
>>
>> Probably need some of the coder types to answer this one for me.
>> For the different network tests, where does Xymon get the IP address from?
>>
>> In particular, ping, ssh, oratns, dns etc.
>> I think I read somewhere that for ping, Xymon does a host name lookup.
>> But is this the case for the other tests?
>>
>> Thanks
>>     Vernon
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20100720/175fff21/attachment.html>


More information about the Xymon mailing list