When I run hobbitd_alert I get this:
$ ./hobbitd_alert --test leopg9 msgs
00016117 2006-10-23 19:00:20 send_alert leopg9:msgs state Paging
00016117 2006-10-23 19:00:20 Matching host:service:page 'leopg9:msgs:'
against r
ule line 115
00016117 2006-10-23 19:00:20 *** Match with 'HOST=leopg9' ***
00016117 2006-10-23 19:00:20 Matching host:service:page 'leopg9:msgs:'
against r
ule line 116
00016117 2006-10-23 19:00:20 *** Match with 'MAIL hobbit REPEAT=1h COLOR=red
REC
OVERED' ***
00016117 2006-10-23 19:00:20 Mail alert with command 'mail -s "Hobbit
[12345] le
opg9:msgs CRITICAL (RED)" hobbit'
-----Ursprungligt meddelande-----
Från: Michael A. Price [mailto:mprice (at) hst.nasa.gov]
Skickat: den 23 oktober 2006 18:53
Till: hobbit (at) hswn.dk
Ämne: Re: SV: [hobbit] hobbitd_alert command is not working ( maybe )
Lars,
Mine is defined as the following.
MAILC="mail" # Command used
to send an
e-mail
with no subject
MAIL="$MAILC -s" # Command
used to send an
e-mail
with a subject
--------------------------------------------------------------
--------------------
If that was messed up, wouldnt it prevent my alerts not
working at all,
because they work now. Its just I cant get them to work when
I use the
hobbitd_alert command.
thanx, michael
Lars Ebeling wrote:
Från: Michael A. Price [mailto:mprice (at) hst.nasa.gov]
Skickat: den 23 oktober 2006 18:02
Till: hobbit (at) hswn.dk
Ämne: [hobbit] hobbitd_alert command is not working ( maybe )
Hello,
-----------------------------------------------------
My hobbit-alert.cfg file has the following line in it:
HOST=*
MAIL mprice (at) hst.nasa.gov
Hi
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'
The command to send the mail look very odd. What have you
as MAILC=??
in hobbitserver.cfg? Should be like # For the hobbitd_alert module
MAILC="mailx" # Command
used to send an
e-mail
with no subject
MAIL="$MAILC -s" # Command
used to send an
e-mail
with a subject
Lars
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk