[hobbit] Hobbit 4.0.4 released - Alert Script Issue
Peter Welter
peter.welter at gmail.com
Wed Aug 17 14:09:55 CEST 2005
Henrik,
Status update:
I found out that setting the values the same for sending an email and
executing the consigne-script, worked out fine; see alerttrace.txt:
00007902 2005-08-17 11:02:50 *** Match with '$UNIXDAG' ***
00007902 2005-08-17 11:02:50 Mail alert with command 'mail -s "Hobbit
[329697] burad12:raid CRITICAL (RED)"
someaddress at somedomain.somewhere'
00007902 2005-08-17 11:02:50 Matching host:service:page
'burad12:raid:DNO/SAPEPROC' against rule line 197
00007902 2005-08-17 11:02:50 *** Match with '$UNIXTEST' ***
00007902 2005-08-17 11:02:50 Script alert with command
'/usr/local/bb/consigne.ksh' and recipient 00665022245
00007902 2005-08-17 11:03:13 send_alert lucifer:disk state Paging
00007902 2005-08-17 11:03:13 Matching host:service:page
'lucifer:disk:DNO/UB' against rule line 195
00007902 2005-08-17 11:03:13 Failed
'HOST=%(burad12|burad14|burad11|burad15)' (hostname not in include
list)
00007597 2005-08-17 11:03:21 @@page igrsxc002:msgs:WINDOWS=red
00007597 2005-08-17 11:03:21 state 1->1
00007597 2005-08-17 11:04:14 @@page igrsdm001:disk:WINDOWS=yellow
00007597 2005-08-17 11:04:14 state 1->1
However, since I bumped up the duration to 30m before the script is
executed and (probably) restarted hobbit several times (sooner than
the 30 minutes interval), the script seems not to execute yesterday
:-(
However it worked fine today, twice. For the moment I'll leave the
debug-file /tmp/alerttrace.txt in hobbit-alerts.cfg; it sure comes in
handy!
Regards, Peter
More information about the Xymon
mailing list