aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
AgeCommit message (Collapse)Author
2021-10-20Add comment to make the purpose of the nickname fix more obviousGravatar Lorenz Kästle
2021-10-20Restrict the nickname length of the test user for check_ircdGravatar Lorenz Kästle
check_ircd was using the string `ircd` plus the PID as a nickname for connecting to a IRC network by default. This caused errors, when the PID was too high and the network restricted the length of the nickname to 9 characters. This patch "fixes" this by just cutting it of, if it gets too big.
2021-07-22Re-attach a comment to where it actually belongsGravatar Peter Newman
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
2018-12-04tests: skip some tests if Monitoring::Plugin::Range isn't availableGravatar Sven Nierlein
The check_file_age uses Monitoring::Plugin::Range internally. Skip thoses tests if the module isn't available.
2018-06-17Fixed error message, added commentGravatar Bernd Arnold
2018-06-17Drop uptime binary callGravatar Bernd Arnold
No need to call /bin/uptime, since the string can be generated with strftime(...).
2018-06-17Added help text for range supportGravatar Bernd Arnold
2018-06-17Remove useless (empty) printGravatar Bernd Arnold
2018-06-13fix typo in check_uptimeGravatar Sven Nierlein
2018-06-13add check_uptime to makefileGravatar Sven Nierlein
2018-06-13RefactoringGravatar Bernd Arnold
Better alignment. Avoid duplications ("Exceeds ... threshold").
2018-06-13Added tests for range valuesGravatar Bernd Arnold
2018-06-13Introducing ranges for warning and criticalGravatar Bernd Arnold
Works as before: -w 1w -c 2w New (as before, but also warn if uptime < 5m, and crit if uptime < 2m): -w 5m:1w -c 2m:2w (idea by @sni) Also refactored the time calculation, if a suffix is present: New sub calc_as_seconds($)
2018-06-13Modified alignmentGravatar Bernd Arnold
2018-06-13Fix: Use macro for perl binaryGravatar Bernd Arnold
I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac.
2018-06-09Fix: Initialize valuesGravatar Bernd Arnold
Otherwise, there's a warning about unitialized values: Use of uninitialized value $hours in numeric gt (>) at ... Use of uninitialized value $days in numeric gt (>) at ...
2018-06-03Fix: uptime_file variable was declared too lateGravatar Bernd Arnold
When called with --help, the following error was shown: Use of uninitialized value $uptime_file in concatenation (.) or string at
2018-06-03Added test fileGravatar Bernd Arnold
2018-06-03Added suffix "s" for seconds in perfdata outputGravatar Bernd Arnold
2018-06-03Rename to .plGravatar Bernd Arnold
All other check script also have the .pl ending
2018-05-30Replaced my values with macrosGravatar Bernd Arnold
2018-05-30My version of check_uptimeGravatar Bernd Arnold
Derived from check_mailq
2017-04-20Merge pull request #1461 from philipowen/file-size-lessthanGravatar Sven Nierlein
Enable check_file_age to test for maximum file size
2017-04-05resolve issues from code reviewGravatar phowen
2017-03-13script tests: fix relative lib path in utils testGravatar Sven Nierlein
utils.pm uses relative include ".." but the path is relativ to the current folder, so it does not work when running "perl t/utils.t". Just add another lib of "." fixes that. We could use FindBin but we don't want to make it unnecessarily complicated. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-03-12fix timeout issue with check_disk_smbGravatar Sven Nierlein
check_disk_smb hangs if the smbclient is still running. So send a sigint to all childs and exit cleanly. Signed-off-by: Sven Nierlein <sven@nierlein.de>
2017-02-14add range checking to check_file_ageGravatar phowen
2016-11-19Merge pull request #1376 from riskersen/check_mssqlGravatar Oliver Skibbe
check_mssql.pl: switched alarm timeout
2016-11-18It's useful to use 'useful' instead of 'usefull'Gravatar Jan Wagner
2015-10-15check_mssql.pl: switched alarm timeoutGravatar Bernd Apfel
- alarm() now uses -t option contributed by Bernd Arnold (wopfel@gmail.com) closes #991
2015-10-05plugins-scripts/Makefile.am: Testing shell scripts with 'sh -n'Gravatar Jan Wagner
2015-10-05plugins-scripts/Makefile.am: Cosmetical changesGravatar Jan Wagner
2015-10-04Merge branch 'pr/1364'Gravatar Holger Weiss
* pr/1364: check_ntp.pl: Droping this superseded plugin Conflicts: NEWS plugins-scripts/check_ntp.pl
2015-10-04Merge branch 'pr/1363'Gravatar Holger Weiss
* pr/1363: use unknown exit code for help/version in plugins-root as well use unknown exit code for help/version in plugins change exit code to unknown on help and version info use exit code 3 for version and help
2015-10-04check_ntp.pl: Droping this superseded pluginGravatar Jan Wagner
2015-10-04check_netdns.pl: Prototyping functionsGravatar Jan Wagner
2015-10-04change exit code to unknown on help and version infoGravatar Sven Nierlein
Signed-off-by: Sven Nierlein <sven@nierlein.de>
2015-10-04check_ntp.pl: Using FindBinGravatar Jan Wagner
2015-10-04plugins-scripts/Makefile.am: Testing scripts with 'perl -wc'Gravatar Jan Wagner
2015-10-02also update check_rpc.pl and check_wave.plGravatar Elan Ruusamäe
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-10-08check_ifstatus: Fix "-n" and "-u" optionsGravatar Holger Weiss
Ignore interface if it's specified via "-n" OR "-u", not just when it's specified via "-n" AND "-u".
2014-10-06check_file_age: Provide performance dataGravatar Jonas Genannt
2014-10-06Merge branch 'maint'Gravatar Jan Wagner
Conflicts: NEWS THANKS.in
2014-09-29check_mailq: fixed mailer namesGravatar Simon Meggle
(Closes #1289)
2014-09-10Add check_ifstatus option to ignore interfaces by nameGravatar Nick Peelman
Ignoring by index is not always an option, as the index can change on chassis switches as blade configurations change.
2014-08-20Setting PATH at firstGravatar Jan Wagner
2014-08-20check_log.sh: droping path from basenameGravatar Jan Wagner
while evaluating PROGNAME (Closes Debian Bug #758662)