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