11 Dec
2015
11 Dec
'15
3:14 a.m.
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