aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_mailq.pl
AgeCommit message (Collapse)Author
2022-03-26remove duplicate W=i/C=i args (#1755)Gravatar Tobias Fiebig
Co-authored-by: Tobias Fiebig <t.fiebig@tudelft.nl>
2022-01-21Rebase to master (#1731)Gravatar Lorenz
2021-12-02Fix syntax error resulting from mergingGravatar RincewindsHat
2021-12-02Merge branch 'master' into mailq-add-config-dirGravatar RincewindsHat
2021-11-29Merge pull request #1493 from darksoul42/masterGravatar RincewindsHat
Fix regexp for nullmailer "mailq" output. Looks good. Thank you very much.
2020-12-08check_mailq: restore accidentially removed optionsGravatar Sven Nierlein
with https://github.com/monitoring-plugins/monitoring-plugins/issues/381 -W and -C have been removed. It would have been sufficient to only remove the long options. Restoring short options.. - fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954961
2017-06-07Fix regexp for nullmailer "mailq" outputGravatar Stephane Lapie
As it currently is, the regular expression does not match mailq command output on a Debian Jessie setup. Three erroneous behaviors fixed : - Meaningful lines do not end with the "bytes" word - There might be one or more space before the byte count, not 2 - Time match was completely broken, it only accounted for 0-29 minutes and 0-29 seconds.
2017-05-16Add mailq -C option for config dir or config fileGravatar Lee Clemens
New variable, mailq_args, is appended for postfix mta mailq commands Fixes #1489
2015-10-04change exit code to unknown on help and version infoGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-02drop superfluous libexecdirGravatar Elan Ruusamäe
utils.pm locate is already convered by FindBin
2014-12-02check_mailq: Add sudo supportGravatar Holger Weiss
This addition is based on a patch contributed by Christopher Schultz. Closes #1099. Closes #1171.
2014-09-29check_mailq: fixed mailer namesGravatar Simon Meggle
(Closes #1289)
2014-07-06Don't rely on FindBin module to locate utils.pmGravatar Holger Weiss
As the FindBin module doesn't work with ePN, set the path to utils.pm explicitly at build time. Keep using FindBin additionally, so that the plugins can also be executed from the build directory. Closes #1271.
2014-02-28Replace "plugins-scripts/subst.in" fooGravatar Holger Weiss
Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in" in favor of simple sed(1) substitutions. The plugins in the "plugins-scripts" directory now always use the PATH specified via "./configure --trusted-path", or the default PATH hard-coded in "configure.ac". Fixes #1242.
2014-02-28Merge remote-tracking branch 'awiddersheim/fix_trusted_path'Gravatar Holger Weiss
* awiddersheim/fix_trusted_path: Fix trusted path Conflicts: plugins-scripts/check_ntp.pl plugins-scripts/subst.in Closes #1212.
2014-02-27utils.pm: use FindBin instead of awk to find the path toGravatar Evgeni Golov
'use lib utils.pm' is not valid Perl syntax: Bareword "utils" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. Bareword "pm" not allowed while "strict subs" in use at plugins-scripts/check_ircd.pl line 52. This makes it impossible to use the plugins directly from the git tree, e.g. while hacking on them. Using FindBin::Bin as the library path allows that, while preserving the original behaviour of adding the libexec path when the plugin is properly installed.
2014-02-27check_mailq: add $mailq to check output, so it is easily visible what was ↵Gravatar Evgeni Golov
autodetected Closes: #1242
2014-02-27check_mailq: document autodetection in the usage outputGravatar Evgeni Golov
2014-02-27check_mailq: try to autodetect which mailq implementation we are usingGravatar Evgeni Golov
This is done by looking at some common directories and files each MTA installs on the system. If no known file is found, the old default sendmail is used. Of course this still can be overridden by -M.
2014-01-29check_mailq: adding nullmailer supportGravatar Jan Wagner
Adding nullmailer support to check_mailq submitted by Luca Corti Closes: #740 Closes: #1189
2014-01-29Just fixing small typo in commentGravatar Jan Wagner
2014-01-22fix outdated Free Software Foundation addressGravatar Lars Vogdt
2013-10-22Fix trusted pathGravatar awiddersheim
When configuring the plugins you have the option to specify a trusted path with --with-trusted-path. This option seems to have been deprecated at some point for unknown reasons and had typically had no affect. This commit makes this option work again for those who have a desire to use it. There should be no affect on those who have not chosen to specify a trusted path.
2009-02-20Typo fixes (Jan Wagner - SF 1878971)Gravatar Ton Voon
2008-11-23Removing CVS/SVN tags and replacing with git-based versioningGravatar Thomas Guyot-Sionnest
For contrib/, full tags have been imported from subversion git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
2006-07-05Fixed checking of return codes from external mailq programsGravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1443 f882894a-f735-0410-b71e-b25c423dba1c
2005-04-14check_mailq fix, don't be case sensitive matching /^\s+Total\sRequests:\s(\d+)$/Gravatar M. Sean Finney
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1162 f882894a-f735-0410-b71e-b25c423dba1c
2005-01-03fixes for #1094324Gravatar Benoit Mortier
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1076 f882894a-f735-0410-b71e-b25c423dba1c
2003-09-15Added Exim support (768445 - Eric Bollengier)Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@726 f882894a-f735-0410-b71e-b25c423dba1c
2003-05-14Added postfix support (Thomas Nilsen - 735218)Gravatar Ton Voon
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@513 f882894a-f735-0410-b71e-b25c423dba1c
2003-04-13Added sendmail multi-queue support (Canau), merged qmail support (Schmid)Gravatar Subhendu Ghosh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@490 f882894a-f735-0410-b71e-b25c423dba1c
2002-10-30monitor mailqGravatar Subhendu Ghosh
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@163 f882894a-f735-0410-b71e-b25c423dba1c