[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can I do macro in hobbit-client.cfg like hobbit-alerts.cfg ?
- To: hobbit system monitoring <hobbit (at) hswn.dk>
- Subject: Can I do macro in hobbit-client.cfg like hobbit-alerts.cfg ?
- From: "T.J. Yang" <tj_yang (at) hotmail.com>
- Date: Tue, 2 Oct 2007 14:52:11 -0500
- Importance: Normal
I am looking for following MACRO(R1) syntax to work in hobbit-client.cfg beside hobbit-alerts.cfg
$A=a.com|b.com
PROC sendmail 1 -1 red
$B=b1.com|b2.com
PROC syslog 1 -1 red
$ALL=$A|$B
PROC cron 1 -1 red
So all 4 machines will have cron process monitored beside group A have sendmail and group B have syslog processes monitored.
Is above syntax supported in hobbit-client.cfg ?
R1: http://www.hswn.dk/hobbit/help/manpages/man5/hobbit-alerts.cfg.5.html
T.J. Yang
_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Café. Stop by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline