[xymon] Host appears twice in bb-hosts warning
Henrik Størner
henrik at hswn.dk
Thu Jan 27 12:39:07 CET 2011
In <0D5B2E64-803A-48E3-8A4E-9D40F8E5B75F at haskins.yale.edu> Richard Crane <richard.crane at haskins.yale.edu> writes:
>Can anyone tell me why the second of these two hosts generates a warning =
>(and turns bbtest yellow), but the first does not? =20
>xx.xx.xx.xx litt.haskins.yale.edu # bbd =20
>xx.xx.xx.xx litt # prefer noconn ssh =
>http://litt/synbak/2011/index.html
"litt.haskins.yale.edu" is different from "litt". Xymon uses the
full string that you provide, so with/without a domain is considered
two different hosts.
>yy.yy.yy.yy tjmac # ssh ldap FMS pptp http://tjmac/fmi-test/phptest.php
>yy.yy.yy.yy tjmac # prefer noconn fm-5003 fm-16000 fm-16001 =
>NOPROPRED:fm-5003,fm-5353,fm-2399,fm-16000,fm-16001,fm-16004 =
>http://tjmac/fmi-test/phptest.php
These are identical. And when you have the same host listed twice,
you MUST list all of the network tests on one of the lines.
So your config should be
yy.yy.yy.yy tjmac # ssh ldap FMS pptp \
http://tjmac/fmi-test/phptest.php \
fm-5003 fm-16000 fm-16001
NOPROPRED:fm-5003,fm-5353,fm-2399,fm-16000,fm-16001,fm-16004
and then later
0.0.0.0 tjmac # noconn
You cannot control what status columns show up on each of the two
lines by splitting the test-specifications between the two lines.
If you want a status to only appear on one of the entries, then
use the "group-only" or "group-except" definitions.
Regards,
Henrik
More information about the Xymon
mailing list