Xymon Mailing List Archive search

hobbitd_alert command is not working ( maybe )

list Michael A. Price
Mon, 23 Oct 2006 12:53:00 -0400
Message-Id: <user-61b4f7a033de@xymon.invalid>

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:user-2a9e3c790857@xymon.invalid] Skickat: den 23 oktober 2006 18:02
Till: user-ae9b8668bcde@xymon.invalid
Ämne: [hobbit] hobbitd_alert command is not working ( maybe )


Hello,

My hobbit-alert.cfg file has the following line in it:

HOST=*
        MAIL user-2a9e3c790857@xymon.invalid
    
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)" user-2a9e3c790857@xymon.invalid'
    
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