Henrik "Størner" <henrik at hswn.dk> schrieb am 07.01.2011 12:46:17:
...
Bad idea. You can have hosts defined multiple times in the hosts.cfg (bb-hosts) file, but you MUST keep all of the network tests in one place - all of the others should be "0.0.0.0 hostname # noconn".
You should have heeded the warning you get when trying to split them across multiple locations: xymonnet will complain
"Host foo appears twice in hosts.cfg! This may cause strange results"
Hm ... I grepped all logfiles for that string, but it didn't appear twice nor once ...
and indeed, that is what you got.
So begin by putting all of the http/cont/whatever tests in one place. To be certain that is the definition Xymon uses, you can add the keyword "prefer" to this entry.
Thanks Henrik, works as described.
Have a nice weekend
Hermann-Josef Beckers