TECHZEN Zenoss User Community ARCHIVE  

Creating Custom Trigger Evaluations

Subject: Creating Custom Trigger Evaluations
Author: Tony Plovich
Posted: 2017-07-11 12:58

Hello,

I'm running into an issue where the number of triggers and notifications I need to configure is bloating out.  This is because I need to create a separate trigger / notification pair for each distinct group of devices as well as different alerting scheme's (IE criticals get sent out every 15 minutes after they trigger vs warnings get send every 2 hours after the initial trigger vs traps which trigger as they arrive).  It seems like I could greatly reduce the number of notifications and triggers if I could trigger on every x event (IE every third event triggers a notification).  In python this would be a simple modulo (%) operation, however it doesn't look like I can do this with Zenoss's built in trigger evaluations. 

Is there any easy way to add new evaluations to triggers?

--Tony

< Previous
JSON event query on dedupid
  Next
Developing Zenpacks
>