TECHZEN Zenoss User Community ARCHIVE  

How to disable specific alarms

Subject: How to disable specific alarms
Author: Mark H
Posted: 2014-01-16 12:21

Hi everyone,

Shiny new forums eh! Shame I lost all my profile and history but hey-ho.

Anyway, I've successfully installed the 'MySQL Database Monitor (Core)' Zenpack on my Zenoss 4.2.4 server and am monitoring a server MySQL db. Trouble is I keep getting "LATEST DETECTED DEADLOCK" alarms in to Zenoss. I know these alarms are nothing serious and want to either disable that particular alarm or drop it's severity down from 3 to 2.

Over to you clever lot for the answer :)


Subject: Hi Handsy,
Author: [Not Specified]
Posted: 2014-01-19 21:31

To which event class does the event get generated. If you are sure about the event class, you can do a messgae.find and bring down the severity. See the below snippet

if evt.message.find('LATEST DETECTED DEADLOCK') >=0:

Subject: Instead of reducing severity
Author: Andrew Kirch
Posted: 2014-01-20 11:48

why not simply filter it out of your notifications Otherwise look at the event itself (double click on it) and you'll see what category it's coming from, and adjust Event Class Mappings accordingly.

Andrew Kirch

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard

< Previous
Issue installation Zenoss 4.2.4 on CentOS 6.5
Enhancing users and roles in Zenoss Core