Sendmail setup with Nagios

Jon Angliss jon at netdork.net
Fri Oct 10 04:10:43 CEST 2008


On Wed, 8 Oct 2008 17:55:09 -0800, Izz Abdullah
<izz_abdullah at inbox.com> wrote:

>I've read the documentation, and have two options:
>1. relay alerts from the Nagios server to our local Exchange server (which is too much company politics)
>2. setup sendmail correctly to send alerts
>
>So, I know now how to do number one (I think), but number 2, cannot.  I am an experienced linux user, but have always been anti-sendmail because of the different security risks over the past.  I am guessing that not only does sendmail have to be installed, but the Nagios server must also act as a mail server.  Can someone please guide me in arranging this setup correctly as I am stuck and need to get alert notifications setup correctly soon.

I'm trying to figure out what you're trying to do.  Are you trying to
send your emails through the exchange server's SMTP service? Or are
you trying to get the server running nagios send them directly to
their destination?  

If you're trying to use the Exchange server as a relay, use the
SMARTHOST option in Sendmail.  However, I think that's overkill for
simply relaying.  Checkout nullmailer, or ssmtp.  Both are small,
lightweight smtp services that relay through a server, which in this
case would be your exchange server.  You just have to be cautious of
relying on your Exchange server, as if that goes down, you won't get
alerts.
-- 
Jon Angliss


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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