nagios generated email.

Hari Sekhon hpsekhon at googlemail.com
Tue Sep 5 11:56:50 CEST 2006


rob.moss at uk.bnpparibas.com wrote:
> Sorry about top posting, but i'm using Notes and it sucks
>
> Nagios just uses /bin/mailx which also relies on local
> sendmail/qmail/whatever to be configured properly.. I built my own perl
> emailer to connect directly to a configured mail server, use a configured
> FROM address and send TO an address passed to it by Nagios.  This script
> also formats the alert output so it's reasonably easy to change to suit
> your purposes..
>
> I have just uploaded it to Nagios Exchange here:
>
> http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=698
>
> Enjoy!
> Rob Moss / mossko
>   


Sorry to tell you this now but there is a much easier way, just install 
ssmtp and then make sure the line in ssmtp.conf which defines your mail 
server points to which ever mail server you want to use. Simple as that. 
You can then mailx all you like.

If you have a decent distro like Gentoo this is the default, very 
simple. I use mailx and it works very simply, no fuss.


Hari Sekhon

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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