Adam Kennedy wrote: > 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 >
Correction to my previous email. Suse10 calls this package "mailx". The file to edit is /etc/mail.rc on that distribution. Hope that helps. -- 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 [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
