Monitoring a mail server

Robert Fitzpatrick lists at webtent.net
Wed Feb 1 21:51:14 CET 2006


On Thu, 2006-02-02 at 09:34 +1300, Steve Shipway wrote:
> > > He can monitor it via check_tcp, but if amavisd is not functional, 
> > > _he's not going to get the email alert._  Because his email isn't 
> > > going to work.
> ...
> > Yes, you got it, but how do I send an email alert sent 
> > directly to a remote SMTP gateway?
> 
> If you are using amavisd, then I take it you have this sort of setup:
> 
> port 25 SMTPd ----> port 10024 amavisd  ---> port 10025 SMTPd ----> deliver
> 
> although you might have missed out the first step and just had amavisd on
> port 25.  If this is the case, why not configure your Nagios notification
> command to inject its mail directly into the system on port 10025 rather
> than the default 25?  That way you'd bypass amavisd and directly deliver.
> Of course you'd still be dependent on the local smtp daemon, but amavisd
> would be out of the loop.
> 
> Of course, you've probably got port 10025 locked down to localhost only (if
> you're sensible :) but that shouldn't prevent Nagios from accessing it.
> 

Exactly what I'd like to do, but how do I tell Nagios to deliver to port
10025? Sorry for the ignorance, thanks.

-- 
Robert



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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