Xymon Mailing List Archive search

alerting by OS type

list Henrik Størner
Wed, 17 Aug 2011 21:28:38 +0200
Message-Id: <user-5a1362e1e9d4@xymon.invalid>

I’d like to know if there is any way to configure alerts based on OS.
CLASS=aix
	MAIL user-c1741f96b3b3@xymon.invalid

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