[Nagiosplug-devel] [ nagiosplug-Bugs-961327 ] Check_mailq only shows one of multiple queues
SourceForge.net
noreply at sourceforge.net
Mon Apr 11 05:51:38 CEST 2005
Bugs item #961327, was opened at 2004-05-27 00:42
Message generated for change (Comment added) made by spig68ca
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=961327&group_id=29880
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: T Everett (teamc26)
Assigned to: Nobody/Anonymous (nobody)
Summary: Check_mailq only shows one of multiple queues
Initial Comment:
I am running sendmail with 6 queue directories. The
path is /var/spool/mqueue/q01 through q06.
Is there any way to make the check_mailq plugin check
all of the queues?
----------------------------------------------------------------------
Comment By: Spiggles (spig68ca)
Date: 2005-04-11 09:47
Message:
Logged In: YES
user_id=1257046
I think have run into this on our servers. It was not
showing the summary for all queues, only the last one. The
problem was a pattern match that is case sensitive in the
check_mailq script.
On line 174 I changed;
} elsif (/^\s+Total\sRequests:\s(\d+)$/) {
to
} elsif (/^\s+Total\srequests:\s(\d+)$/) {
This fixed our problem anyway.
----------------------------------------------------------------------
Comment By: Ton Voon (tonvoon)
Date: 2004-11-23 20:54
Message:
Logged In: YES
user_id=664364
Moving to Bugs tracker as Support Requests will be closed.
----------------------------------------------------------------------
Comment By: T Everett (teamc26)
Date: 2004-05-27 01:08
Message:
Logged In: YES
user_id=1050807
I downloaded the latest plugins and the check_mailq plugin
does state the it supports mutliple queues. I tested it but
the plugin is only reporting back the last queue (q06) number
of queued messages.
/usr/bin/mailq = /var/spool/mqueue/q05 (6
requests)
/usr/bin/mailq = srcdomain = hotmail.com
/usr/bin/mailq = srcdomain = panasonic.com
/usr/bin/mailq = dstdomain = pcsystems.net
/usr/bin/mailq = dstdomain = net.mx
/usr/bin/mailq = dstdomain = net.mx
/usr/bin/mailq = dstdomain = net.mx
/usr/bin/mailq = dstdomain = cryptsoft.com
/usr/bin/mailq = /var/spool/mqueue/q06 (2
requests)
/usr/bin/mailq = srcdomain = com.br
/usr/bin/mailq = srcdomain = panasonic.com
/usr/bin/mailq = dstdomain = pcsystems.net
msg_q = 2 warn=2 crit=9
WARNING: mailq is 2 (threshold w = 2)|unsent=2;2;9;0
Thanks,
Tony
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=961327&group_id=29880
More information about the Devel
mailing list