I just have Ubuntu desktop edition setup hosting my Nagios since we only monitor like 60 things total. It came preinstalled with the Postfix mail client. I can send any mail I want thru a shell, I can just not get Nagios to issue notification emails. I'm using the contact templates out of localhost.cfg and modded them to my information. I don't think that is my problem. I believe it lies in my command_line in the notify-*-by-email commands.
Stephen Valdinger MIS Helpdesk Coordinator Dover Chemical Corporation 3676 Davis Rd NW Dover, OH 44622 330-365-3622 [EMAIL PROTECTED] Your day probably won't get as bad as this guys...... -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 01, 2007 4:55 AM To: Valdinger, Stephen (DOV, MSX) Cc: [email protected] Subject: Re: [Nagios-users] Email notification >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 __________________________________________________________________________ ------------------------------------------------------------------------- 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/ _______________________________________________ Nagios-users mailing list [email protected] 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
