briffle
2012-04-24 13:27:38 UTC
briffle [http://community.zenoss.org/people/briffle] created the discussion
"best practices for generating alerts"
To view the discussion, visit: http://community.zenoss.org/message/66034#66034
--------------------------------------------------------------
I have been using zenoss for about a year now to monitor our systems. We are looking to expand its use to include many of the scripts we run on our servers, as part of our cron jobs. I guess I am not sure the best way to use Zenoss to alert for two very different scenario.. I have never done it inside a shell script (mostly bash, some ksh), and would love some examples.
We have some scripts that run ittermittently, and would love to use Zenoss to alert us if they fail (have an error). Right now, we send emails of the results, good or bad, which means hundreds of emails to ignore, and an occasional one to have to deal with. We want to get out of the habit of ignoring all the emails :)  Actually, i would love to also send the good results too, so we know it ran, which leads to the next issue..
Secondly, we have some scripts that are hard to parse for errors.. in that case, it would be ideal to somehow have it let zenoss know it ran, and then, have zenoss throw an alert if it DOES NOT check in that day, but that is often only once per day. (so I guess the last 'event' would have to be > 24 hours)..
We just really haven't added our own 'custom' stuff to zenoss much, and would like to start!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66034#66034]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"best practices for generating alerts"
To view the discussion, visit: http://community.zenoss.org/message/66034#66034
--------------------------------------------------------------
I have been using zenoss for about a year now to monitor our systems. We are looking to expand its use to include many of the scripts we run on our servers, as part of our cron jobs. I guess I am not sure the best way to use Zenoss to alert for two very different scenario.. I have never done it inside a shell script (mostly bash, some ksh), and would love some examples.
We have some scripts that run ittermittently, and would love to use Zenoss to alert us if they fail (have an error). Right now, we send emails of the results, good or bad, which means hundreds of emails to ignore, and an occasional one to have to deal with. We want to get out of the habit of ignoring all the emails :)  Actually, i would love to also send the good results too, so we know it ran, which leads to the next issue..
Secondly, we have some scripts that are hard to parse for errors.. in that case, it would be ideal to somehow have it let zenoss know it ran, and then, have zenoss throw an alert if it DOES NOT check in that day, but that is often only once per day. (so I guess the last 'event' would have to be > 24 hours)..
We just really haven't added our own 'custom' stuff to zenoss much, and would like to start!
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66034#66034]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]