Xymon Mailing List Archive search

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

list Andy Farrior
Thu, 10 Dec 2015 21:14:16 -0600
Message-Id: <user-1822b8886589@xymon.invalid>


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