Email notifications

Anthony Mendoza anthony at onetruemedia.com
Fri Apr 27 21:58:16 CEST 2007


Not a Nagios specific question, but you want to edit /etc/mail/submit.mc

Change this:
FEATURE(`msp', `[127.0.0.1]')dnl

To whathever the IP is on your Exchange box or edit /etc/mail/submit.cf
and change D{MTAHost}[127.0.0.1] to the appropriate IP.

If you still want to keep the sendmail daemon running and don't want to
edit submit.mc or submit.cf then modify sendmail.mc instead:

dnl define(`SMART_HOST',`smtp.your.provider')
and change it to
define(`SMART_HOST',`IP of your exchange server')

and recompile with m4..

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

-- 
Anthony Mendoza / Director, IT / w: 650-249-5111 / c: 310-594-3222



On 4/27/2007 12:46 PM, James E. Pratt had said:
> I would just make the exchange server a smarthost on the local nagios'
> sendmail.cf file ... (Not sure how to "bypass" the local mailer?)
>
> Regards
> jamie
>
>
>
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of
> Valdinger, Stephen (DOV, MSX)
> Sent: Friday, April 27, 2007 3:30 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Email notifications
>
> Has anyone had success getting nagios to send email thru an exchange
> server? If so, how did you do so? Any help or links to documentation
> would be helpful!
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
>  
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>  
>
>  
>
>  
>
> Your day probably won't get as bad as this guys......
>
>  
>
>
> -------------------------------------------------------------------------
> 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
> 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
>   

-------------------------------------------------------------------------
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
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