hobbitd_alert command is not working ( maybe )
Michael A. Price
mprice at hst.nasa.gov
Mon Oct 23 18:02:01 CEST 2006
Hello,
-----------------------------------------------------
My hobbit-alert.cfg file has the following line in it:
HOST=*
MAIL mprice at hst.nasa.gov
----------------------------------------------------------
I can run the command like this with the output below:
[hobbit at hobbithost bin]$ ./hobbitd_alert --test v43mgt conn
00003217 2006-10-23 11:59:07 send_alert v43mgt:conn state Paging
00003217 2006-10-23 11:59:07 Matching host:service:page 'v43mgt:conn:'
against rule line 129
00003217 2006-10-23 11:59:07 *** Match with 'HOST=*' ***
00003217 2006-10-23 11:59:07 Matching host:service:page 'v43mgt:conn:'
against rule line 129
00003217 2006-10-23 11:59:07 *** Match with 'HOST=*' ***
00003217 2006-10-23 11:59:07 Mail alert with command
'/var/spool/mail/hobbit "Hobbit [12345] v43mgt:conn CRITICAL (RED)"
mprice at hst.nasa.gov'
------------------------------------------------------------
It seems to work but I never get the test email, I do get regular alarms
when a host is down though. What is wrong my testing??? I just
configured the hobbit server to alert me via email, so i am trying to
test this.
thanx in advance, michael a. price
Michael A. Price
----------------------------------------------
>
More information about the Xymon
mailing list