Notification by mail

Adam Kennedy akennedy at cyberlinkint.com
Thu Feb 28 16:08:31 CET 2008


Yassir lhahi wrote:
> Hello
> i've installed nagios3 in a suse10 distribution every thing is allright 
> but the only problem is the mail  notification:( i expalin my architecture)
> nagios is in server1
> postfix well configured in server2
> how can i link between the both servers inorder to send the mails
> PLease help me as soon as possible this is a very big problem for me
> Thks in advance
> Yassir

If you have the nail package installed on the nagios box for sending 
messages then you can edit /etc/nail.rc to have this line somewhere:
set smtp=mail.yourdomain.com

Obviously change mail.yourdomain.com to be whatever FQDN/IP your mail 
server is. Then you can let nagios send messages through /usr/bin/mail

-- 

Adam Kennedy
Senior Network Administrator
Cyberlink Technologies, Inc.
Phone: 888-293-3693 x4352
Fax: 574-855-5761

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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