Xymon Mailing List Archive search

Howto get Hobbit to send email

list Henrik Størner
Mon, 4 Jun 2007 22:33:54 +0200
Message-Id: <user-fed5a353a94f@xymon.invalid>

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) user-e0692d31006f@xymon.invalid[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 "user-e0692d31006f@xymon.invalid". 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)" user-e0692d31006f@xymon.invalid'

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