alerting by OS type
Hi all,
I'd like to know if there is any way to configure alerts based on OS.
I'd thought to change the hosts.cfg file and add a .win, .lin or .aix on the end of the hostname then use CLIENT and NAME parms to keep it working.
That would then have enabled me to use host=*.lin etc in the alerts.cfg file.
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.
We have a mix of Linux, AIX and Windows hosts and it would be really useful to me to be able to send alerts to different groups depending on the OS, however our server names don't comply to any standard that would allow me to use a regex to accomplish this.
Has anyone any ideas how I might make this work.
Thanks,
Neil Simmonds Operations Analyst Operations Support Group Express Gifts Ltd. neil.simmonds at express-gifts.co.uk
Tel :- 01254 303092 Fax :- 01254 303100
Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151. Express Gifts Limited is authorised and regulated by the Financial Services Authority
NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030
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
participants (2)
-
henrik@hswn.dk
-
Neil.Simmonds@express-gifts.co.uk