[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sending particular alert message to particular users
- To: <hobbit (at) hswn.dk>
- Subject: sending particular alert message to particular users
- From: "Camelia Anghel" <canghel (at) cjh.org>
- Date: Thu, 10 Sep 2009 09:43:38 -0400
- Thread-index: AcoxguT8QKS9Lv/+R/2Ckqwoueo3cAAl6qMg
- Thread-topic: sending particular alert message to particular users
Hello,
This is how my hobbit-client.cfg and hobbit-alerts.cfg look and I would
like to send the first LOG to some users and the second LOG to different
users.
How do I send an alert based on a warning expression?
Hobbit-client.cfg
HOST=myhost.org
LOG /var/log/messages %failure*|%failed*|%error*|%Warning* COLOR=red
LOG /var/log/www_server_4881.log %exceeded* COLOR=red
Hobbit-alerts.cfg
HOST=myhost.org
MAIL user (at) something.org SERVICE=msgs REPEAT=30m COLOR=red
RECOVERED
Any help, suggestion will be appreciated
Thanks,
Camelia Anghel
canghel (at) cjh.org