[Nagiosplug-devel] [nagios-plugins] check_mailq.pl: separate submission queue (#1192)

waja notifications at github.com
Tue Oct 1 15:10:25 CEST 2013

check_mailq.pl ignores the separate submission queue used in (modern?) sendmail

For the queue output below with one message in the submission queue and no
messages in the transport queue, check_mailq.pl reports zero messages in the
queue because the request count from the last queue always overwrites previous
queues. If the sendmail MTA isn't running or has become wedged, messages will
sit in the submission queue forever.

The attached patch fixes this in a backwards compatible way (i.e., it shouldn't
break any of the currently supported formats).
Just turning attached patch of github issue #972 into a push request.
(Closes #972)
You can merge this Pull Request by running:

  git pull https://github.com/waja/nagios-plugins github972

Or you can view, comment on it, or merge it online at:


-- Commit Summary --

  * check_mailq.pl: separate submission queue

-- File Changes --

    M THANKS.in (1)
    M plugins-scripts/check_mailq.pl (36)

-- Patch Links --

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20131001/59f2da35/attachment.html>

More information about the Devel mailing list