[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: [hobbit] hobbitd_alert command is not working ( maybe )




> 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