Xymon Mailing List Archive search

Purple storm

list Jeremy Laidman
Fri, 13 Apr 2012 13:46:03 +1000
Message-Id: <CAAnki7DX9=qdzmPLSpOSiZ_NUypN-b9mmxt0=user-8f79410e1557@xymon.invalid>

On Fri, Apr 13, 2012 at 2:53 AM, Josh Luthman
<user-4c45a83f15cb@xymon.invalid>wrote:
Can you make the default to testip but specify a host to use DNS?
No, but you can define .default. more than once, and the defaults will
change for subsequent hosts until the next .default. (if any).  So you
could do:

0.0.0.0 .default. # testip dialup

1.1.1.1 server1 # ssh smtp
1.1.1.2 server2 # ssh telnet

0.0.0.0 .default. # dialup
1.1.1.3 server3 # ssh http

0.0.0.0 .default. # testip dialup
1.1.1.4 server4 # ssh rdp
1.1.1.5 server5 # ssh telnet

All hosts except server3 will get the "testip" setting.

Please note that this is just how I think it should work, and I haven't
tested it.

J