Hi Everyone. I have NRPE running on my Ubuntu mail gateway (referred to as
SMTP) that is running MailScanner, clamav, etc. I am having problems with
the check_mailq command. It doesn¹t seem to be reporting correctly.

When I run the mailq command (as of about 1 minute ago) there were 10
messages in the queue. They were all MAILER-DAEMON emails so nothing that
would suggest a relay problem. When I run the following command from SMTP:

 /usr/local/nagios/libexec/libexec/check_nrpe -H 127.0.0.1 -c check_mailq

it returns: OK: mailq is empty|unsent=0;10;15;0

The same thing happens when it is run from Nagios. Yesterday a Exchange
server who the SMTP server relays for went down and we got no notification
that mail started spooling on the SMTP box.

Any suggestions why this command is always reporting the mailq is empty?
Also, does anyone have any good NRPE scripts that check MailScanner?

Thanks.

 

-------------------------------------------------------------------------
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
Nagios-users@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

Reply via email to