TECHZEN Zenoss User Community ARCHIVE  

Number of failures before event occurs?

Subject: Number of failures before event occurs?
Author: [Not Specified]
Posted: 2014-06-01 08:05

I'm using zencommand to utilize a nagios plugin for monitoring (I"m sure the community is getting tired of me saying that).

How can I configure it such that an event only occurs after two consecutive failures of that plugin

I've been through the settings over and over and I can't find anything..

Thanks
David



Subject: Hi David
Author: Jan Garaj
Posted: 2014-06-01 17:28

Hi David

> How can I configure it such that an *event* only occurs after two consecutive failures of that plugin
It'll piece of cake for Zabbix, but not for Zenoss :-)

If you want to create *notification* after 2 two consecutive failures(events), then it'll be easier (notification delay). But you want to depend on failures. Events are "states" for Zenoss, so I don't see easy solution in Zenoss. Even you implement it in your check script.

IMHO: Severity event escalation/transformation based on event count should be best Zenoss solution for you. So first event will have only INFO severity, but next in row will have CRITICAL severity.
http://community.zenoss.org/thread/8081
https://gist.github.com/cluther/1486570
I don't like this type of transformation, because it increases DB overhead. But if you have just ~70 devices it's OK.

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



< Previous
[SOLVED] WINRM Support
  Next
Moving local template to device?
>