[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SV: [hobbit] Howto get Hobbit to send email
- To: hobbit (at) hswn.dk
- Subject: Re: SV: [hobbit] Howto get Hobbit to send email
- From: henrik (at) hswn.dk (Henrik Stoerner)
- Date: Mon, 4 Jun 2007 22:33:54 +0200
- References: <03D21F677F387444985F052E78DB5F7282CC29 (at) BRSEXCH02.brs.local> <46640DB2.8080806 (at) wi.rr.com> <03D21F677F387444985F052E78DB5F7282CC43 (at) BRSEXCH02.brs.local>
- User-agent: Mutt/1.5.13 (2006-08-11)
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