Zensyslog Clear Events

Posted by Stefan Mai on Server Fault See other posts from Server Fault or by Stefan Mai
Published on 2011-12-08T00:52:18Z Indexed on 2012/11/04 23:03 UTC
Read the original article Hit count: 269

Filed under:
|
|

I've hooked up Zenoss' Zensyslog so that messages from a distributed list of client machines are all conglomerated into events on the Zenoss server. This is all fantastic, and I can bump messages by simply using the logger command:

logger -t webserver_is_down "The web server is down"

What I'd like to be able to do is also post an event that clears for when the webserver comes up.

logger -t webserver_is_up "The web server is up"

I've tried to set this up with Event classes but with no dice. Is there a Syslog level that correlates with Zenoss' clear/0 level? Is there another easy way to do this?

Thanks for any help you can give!

© Server Fault or respective owner

Related posts about syslog

Related posts about syslog-ng