[Xymon] how to get list of IP addresses used by Xymon for each host entry

FARRIOR, Andy Andy.Farrior at victoriacollege.edu
Fri Dec 11 04:14:16 CET 2015



if your hosts.cfg file looks like this:

0.0.0.0  foo  # dns
10.1.1.2 bar # testip ntp


and the DNS lookup for foo is 10.1.1.1, what xymon command would I issue in a script to get a list of the IP addresses Xymon has associated with each host?


so, for the above example, the result would be:

10.1.1.1 foo # tests
10.1.1.2 bar # tests


I'm looking for a way to get the IP addresses Xymon is using for each host.

thx,
andy



More information about the Xymon mailing list