SV: [hobbit] Howto get Hobbit to send email

Kim Langtved Johansen klj at Beredskabsstyrelsen.dk
Mon Jun 4 17:39:43 CEST 2007


Hey,

My Postfix don't have it's own logfile, it's logging into my Syslog.
This text comes into my Syslog, when I send an e-mail with Mutt:

Jun  4 14:05:12 localhost postfix/pickup[4983]: F40F19B6DC: uid=0
from=<root>
Jun  4 14:05:12 localhost postfix/cleanup[6502]: F40F19B6DC:
message-id=<20070604120511.GA6475 at localhost>
Jun  4 14:05:12 localhost postfix/qmgr[4984]: F40F19B6DC:
from=<root at localhost>, size=397, nrcpt=1 (queue active)
Jun  4 14:05:12 localhost postfix/smtp[6504]: F40F19B6DC:
to=<klj at brs.dk>, relay=MainEmailserver[MainEmailServerIP]:25,
delay=0.18, delays=0.09/0.02/0.02/0.06, $
Jun  4 14:05:12 localhost postfix/qmgr[4984]: F40F19B6DC: removed 


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

But nothing appear in the Syslog from Postfix.

Kim.

-----Oprindelig meddelelse-----
Fra: Rich Smrcina [mailto:rsmrcina at wi.rr.com] 
Sendt: 4. juni 2007 15:04
Til: hobbit at hswn.dk
Emne: Re: [hobbit] Howto get Hobbit to send email

What is the message in syslog?  Does postfix maintain a separate log
file as well?  If so, what is in it?

Kim Langtved Johansen wrote:
> Hey,
>  
> I have being using Hobbit for a while.
>  
> But now I want it to be able to send email notifications, but I can't 
> get it to work.
>  
> I have installet postfix on my server (Ubuntu) and set it up to relay 
> to our main mailserver. I kan send mail from it with mutt.
>  
> I have tryed to set at alert up in hobbit-alerts.cfg. And I can see 
> that it is "sending a email.." in the 
> /var/log/hobbit/notifications.log. But I can also se in 
> /var/log/syslog that it is not sending anything to my main email
server. As it do if I send with Mutt.
>  
> Please help me...
>  
> Best regards,
>  
> Kim Johansen
> Beredskabsstyrelsen

--
Rich Smrcina
VM Assist, Inc.
Phone: 414-491-6001
Ans Service:  360-715-2467
rich.smrcina at vmassist.com

Catch the WAVV!  http://www.wavv.org
WAVV 2008 - Chattanooga - April 18-22, 2008

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list