SV: [hobbit] Howto get Hobbit to send email

Henrik Stoerner henrik at hswn.dk
Mon Jun 4 22:33:54 CEST 2007


On Mon, Jun 04, 2007 at 05:39:43PM +0200, Kim Langtved Johansen wrote:
> And then I have an alarm in Hobbit, this Appear in the notifications.log
> for hobbit:
> 
> Mon Jun  4 15:02:53 2007 Server.disk (IP) klj at brs.dk[121] 1180962173 100
> Mon Jun  4 15:02:53 2007 Server.disk (IP) REPEAR=1m[121] 1180962173 100

It tries to send an e-mail to "klj at brs.dk". And you have a typo on line
121 of your hobbit-alerts.cfg - it should probably be "REPEAT=1m"
instead of "REPEAR=1m" (T instead of R).

Do us a favour and run
   bbcmd hobbitd_alert --test Server disk
and look for the line that says
   Mail alert with command 'mail -s "Hobbit [12345] Server:disk CRITICAL (RED)" klj at brs.dk'

That's the exact command Hobbit uses to send the alert. Check that it
works; some systems need to have MAILCMD set to "mailx" instead of
"mail" (the default) in hobbitserver.cfg.


Regards,
Henrik




More information about the Xymon mailing list