[Xymon] Ping Mulitple IPs Per System?
Deiss, Mark
Mark.Deiss at xerox.com
Mon Aug 26 14:24:47 CEST 2013
>From the hosts.cfg man page:
conn={best,|worst,}IP1[,IP2...]
This adds additional IP-adresses that are pinged during the normal "conn" test. So the normal "conn" test must be enabled (the default) before this tag has any effect. The IP-adresses listed here are pinged in addition to the main IP-address.
When multiple IP's are pinged, you can choose if ALL IP's must respond (the "worst" method), or AT LEAST one IP must respond (the "best" setting). All of the IP's are reported in a single "conn" status, whose color is determined from the result of pinging the IP's and the best/worst setting. The default method is "best" - so it will report green if just one of the IP's respond to ping.
----------------
The problem I had with this approach is that if you wanted to test a bunch of VIPs and console IP for a given server, there is nothing that identifies what is what. All you get is each IP and it's state. I prefer to add comments for each IP to be embedded in the web display. To that end created an external test that would parse the hosts.cfg for ip declarations that would optionally contain descriptions to be displayed with the associated IP. If you want that, I can dig it out and send it to you.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Shackelford, Ken
Sent: Friday, August 23, 2013 1:54 PM
To: xymon at xymon.com
Subject: [Xymon] Ping Mulitple IPs Per System?
Hello,
I've been given the task of migrating from an old Big Brother installation to Xymon and have managed to get just about
everything migrated except for one small thing. We have fair number of WAN routers at various locations and are currently
monitoring them on both their internal Ethernet interface and on their external Serial interface. These entries show up on the
same line in the BB screen complete with graphs, etc. It appears the person who implemented this copied the bb-network.sh
and modified it to use a different file than bb-hosts and runs it out of the "ext" directory. I've found the "xymonnet" program
that does much the same thing as bb-network.sh, but there is no way to specify a different configuration file other than hosts.cfg.
In short, is there a way to have a second IP address for a system and have Xymon produce a second "conn" (or whatever
name) column for that IP? I know I could just add two entries to hosts.cfg ("machine" and "machine.serial" or some such), but that
seems a bit like a kludge.
Any suggestions?
Thanks,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130826/995e426b/attachment.html>
More information about the Xymon
mailing list