mailq (was Re: check_nrpe misbehaving?)
Subhendu Ghosh
sghosh at sghosh.org
Fri Apr 22 19:40:45 CEST 2005
On Fri, 22 Apr 2005, schnitzel meister wrote:
> I've filled the mailq, and check_mailq is not returning the same value
> as mailq itself.
>
> The problem line is:
> if (/empty/ ) {
> $msg = "OK: mailq is empty";
>
> Here is what mailq tells me:
>
> MSP Queue status...
> /var/spool/mqueue-client is empty
> Total requests: 0
> MTA Queue status...
> /var/spool/mqueue (14 requests)
> -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
> etc.
>
> So I suppose that's the primary problem.
> I'm using v1.5 of the plugin, I'll go back to the earlier version for
> the moment.
>
> Thanks for your help.
which version of sendmail/mailq is reporting both client and server queue
stats? normally you need to specify -Ac to get client queue info.
--
-sg
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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