[Xymon] alerting by OS type
Henrik Størner
henrik at hswn.dk
Wed Aug 17 21:28:38 CEST 2011
> I’d like to know if there is any way to configure alerts based on OS.
CLASS=aix
MAIL neil at example.com
The CLASS name comes from the Xymon client running on the host, if is
uses the "central mode" way of sending in data (if you don't know, check
if there is a "client data" link on the cpu-status - if there is, then
is uses central mode).
If you have an old-style Xymon client, then you can manually define the
class with a CLASS entry in hosts.cfg.
> I’d thought to change the hosts.cfg file and add a .win, .lin or .aix on
>
> Unfortunately when I do this any centrally configured tests (i.e cpu,
> disk. Mem etc) turn purple after a while even though, when clicked on,
> the underlying layer is green and showing current data.
If you change the hostname in hosts.cfg, then Xymon cannot match the
hostname sent by the client with the hostname in hosts.cfg, so data is
discarded - you will then see the server being listed in the "Ghost
clients" report. You can overcome this by putting a "CLIENT:fooserver"
on the "fooserver" entry in hosts.cfg.
Regards,
Henrik
More information about the Xymon
mailing list