Email notification

glynn.seymour at bayerbbs.com glynn.seymour at bayerbbs.com
Tue May 1 10:54:40 CEST 2007


>I'm noticing this the more I work on it. I can get it to send emails out
>just testing, but my nagios configuration won't send them out. I've
>defined /usr/sbin/postfix inside commands.cfg instead of the default
>...../printf thing that was in there. Should I have not done that?

I think not, but there is no one way ;-) - don't really know Postfix.

What are you sending test mails with? If I remember correctly, mail wasn't 
installed with Ubuntu server (6.10)by default, I had to apt-get install 
mailx (I think) package or the default command for sending mail (printf 
piped into mail) obviously doesn't work. Try mail from a shell prompt, if 
you can get that working restore the default mail command into Nagios

NB - I used ssmtp on Ubuntu rather than Postfix, but as Patrick pointed 
out if you can send mail somehow your MTA is almost certainly fine, its 
the mailing component at fault.
___________________________________________________________________________ 

Glynn Seymour 
Network Consultant 
BBS EMEA-IT UK 
Bayer plc, UK 


__________________________________________________________________________
Bayer plc is registered in England under number 935048. Registered Office: 
Bayer House, Strawberry Hill, Newbury, Berkshire RG14 1JA.   
The information contained in this e-mail is for the exclusive use of the 
intended recipient(s) and may be confidential, proprietary, and/or legally 
privileged.  Inadvertent disclosure of this message does not constitute a 
waiver of any privilege.  If you receive this message in error, please do 
not directly or indirectly use, print, copy, forward, or disclose any part 
of this message.  Please also delete this e-mail and all copies and notify 
the sender.Thank you. 

For alternate languages please go to http://bayerdisclaimer.bayerweb.com
__________________________________________________________________________

-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list