Yeah, do that works! So I don't know why it's not portin me over to the exchange box for these notifications, unless my Nagios user isn't set up right for email or something strange like that. Does anyone have some documentation on this?
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 7:40 AM To: Valdinger, Stephen (DOV, MSX) Subject: RE: [Nagios-users] Email notification All the default command does is string a couple of shell commands together - try mail -s Testing [EMAIL PROTECTED] at a shell prompt - you should then be able to type in the body of the message, and use CTRL+D twice to close and send - if this works, you're golden, but like I said I think the mail package is missing from Ubuntu by default and I had to apt-get install mailx to get the mail program installed. Have to use SUSE now for commercial support, but I don't have to like it X-) - found Ubuntu much nicer to be honest. ________________________________________________________________________ ___ Glynn Seymour Network Consultant BBS EMEA-IT UK Bayer plc, UK "Valdinger, Stephen (DOV, MSX)" <[EMAIL PROTECTED]> 01/05/2007 12:31 To <[EMAIL PROTECTED]> cc Subject RE: [Nagios-users] Email notification Yeah, we are sending out the emails to an Exchange box using the postfix, well trying to haha. I'm just using the default configurations just changing it for my name and email addy and hostnames and what-not. I'll put that command back to normal and see if I can't get something to happen. Notifications are all enabled as well. 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 7:30 AM To: Valdinger, Stephen (DOV, MSX) Subject: RE: [Nagios-users] Email notification Yes, I understand your problem - what I'm saying is that Postfix (as far as my knowledge extends) is a MTA, not a 'mail sending' program like elm or mail or whatever. It gives you the capability of sending and receiving mail depending on configuration, but doesn't actually do the job - it's Exchange to Outlook if you like, or Domino Server to Notes. So what exactly do you type at a shell prompt to send a test mail? Can you pipe text into this command? What is your Nagios notify-*-by-email command? Are notifications enabled for the service/contact/timeperiod/globally? Can you see the command being called in the Nagios log? To be honest, the printf/mail combination works pretty well IMHO out of the box, though I added some HTML stripping as we format some of our custom plugin output to look nice on the console. I'd concentrate on getting the standard command to work, which it should quite happily with Postfix. ________________________________________________________________________ ___ 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
