Monitoring a mail server
Steve Shipway
s.shipway at auckland.ac.nz
Wed Feb 1 21:34:53 CET 2006
> > 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.
Steve
-------------------------------------------------------
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