Xymon Mailing List Archive search

How to suppress alerts when combo-testing?

list Bruce White
Tue, 7 Dec 2010 09:44:25 -0600
Message-Id: <user-066507edb6b4@xymon.invalid>

Use the EXSERVICE Tag in your alerts config file and the NOCOLUMNS tag
in your bb-hosts file.  The first will stop alerts from being sent, the
second will stop the column from appearing on your web page.   

 
 
 Bruce White
 Senior Enterprise Systems Engineer | Phone: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | http://www.fellowes.com/
 
 
 
Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
 

From: Carl Melgaard [mailto:user-cdea55422fa4@xymon.invalid] 
Sent: Tuesday, December 07, 2010 8:28 AM
To: 'xymon at xymon.com'
Subject: [xymon] SV: How to suppress alerts when combo-testing?

 
Hi,

 
Noone has a suggestion to, how I can suppress and hide tests only used
in my combotest below? I need to make the red-tests disappear, so they
wont create noise in the alerting or the acknowledge-page. How can I
hide red-alerts and suppress alerting on them?

 
/melgaard

 
Fra: Carl Melgaard [mailto:user-cdea55422fa4@xymon.invalid] 
Sendt: 2. december 2010 11:44
Til: 'xymon at xymon.com'
Emne: [xymon] How to suppress alerts when combo-testing?

 
Hi,

 
Im monitoring a cluster-setup, a/b-nodes + cluster ressource:

 
10.83.13.12     bskidmsrv001.bsk.rm.dk       #
COMMENT:"SLES11cluster-res" prefer

10.83.13.10     bskidmsrv001a.bsk.rm.dk      # COMMENT:"SLES11a" ldap
ldaps ntp ntpd badntp:1:3:3 prefer NOCOLUMNS:ldap,ldaps

10.83.13.11     bskidmsrv001b.bsk.rm.dk      # COMMENT:"SLES11b" ldap
ldaps ntp ntpd badntp:1:3:3 prefer NOCOLUMNS:ldap,ldaps

 
ldap + ldaps will always be red on one of the nodes, so I've made a
combotest to insert on the cluster-ressource:

 
bskidmsrv001.bsk.rm.dk.ldap = ( bskidmsrv001a.bsk.rm.dk.ldap +
bskidmsrv001b.bsk.rm.dk.ldap ) == 1

bskidmsrv001.bsk.rm.dk.ldaps = ( bskidmsrv001a.bsk.rm.dk.ldaps +
bskidmsrv001b.bsk.rm.dk.ldaps ) == 1

 
This works on - the green status shows up on the cluster-resseource host
- BUT I still get alerting on all the hidden red-tests, and I can still
acknowledge all of the tests, I thought I hid away with NOCOLUMNS.

 
How do I achieve this - ie. suppressing the red alerts on the nodes
where ldap/ldaps is not running?

 
Regards,

 
Carl Melgaard