monitoring-plugins/plugins-scripts
Jan Wagner 12ae1fb662 check_mailq.pl: separate submission queue
check_mailq.pl ignores the separate submission queue used in (modern?) sendmail
implementations.

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)
2023-02-03 14:44:52 +00:00
..
t add tests for check_log 2023-01-20 09:11:26 +01:00
check_breeze.pl change exit code to unknown on help and version info 2015-10-04 19:24:30 +02:00
check_disk_smb.pl Cdmiub (#1770) 2022-06-18 09:15:58 +02:00
check_file_age.pl Make size parameter a little bit more intelligible 2021-11-29 17:27:57 +01:00
check_flexlm.pl change exit code to unknown on help and version info 2015-10-04 19:24:30 +02:00
check_ifoperstatus.pl Re-attach a comment to where it actually belongs 2021-07-22 13:33:14 +01:00
check_ifstatus.pl It's useful to use 'useful' instead of 'usefull' 2016-11-18 11:47:20 +01:00
check_ircd.pl Add comment to make the purpose of the nickname fix more obvious 2021-10-20 11:14:44 +02:00
check_log.sh Fix indents 2023-01-20 09:11:26 +01:00
check_mailq.pl check_mailq.pl: separate submission queue 2023-02-03 14:44:52 +00:00
check_mssql.pl check_mssql.pl: switched alarm timeout 2015-10-15 11:20:20 +02:00
check_netdns.pl Merge branch 'pr/1363' 2015-10-04 23:42:41 +02:00
check_oracle.sh Fixing shellcheck SC2166 2017-01-06 18:39:51 +01:00
check_rpc.pl change exit code to unknown on help and version info 2015-10-04 19:24:30 +02:00
check_sensors.sh Replace egrep with grep -E (#1791) 2022-10-07 11:44:47 +02:00
check_uptime.pl check_uptime: Fix lowercase typo in plugin output 2022-02-15 16:31:23 +01:00
check_wave.pl change exit code to unknown on help and version info 2015-10-04 19:24:30 +02:00
Makefile.am add check_uptime to makefile 2018-06-13 20:23:07 +02:00
utils.pm.in check_mailq: Add sudo support 2014-12-02 21:13:38 +01:00
utils.sh.in utils.sh: Don't define $ECHO 2014-01-13 22:55:43 +01:00