Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-06-13 | Refactoring | Bernd Arnold | 1 | -7/+7 | |
Better alignment. Avoid duplications ("Exceeds ... threshold"). | |||||
2018-06-13 | Added tests for range values | Bernd Arnold | 1 | -1/+57 | |
2018-06-13 | Introducing ranges for warning and critical | Bernd Arnold | 2 | -42/+95 | |
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-13 | Modified alignment | Bernd Arnold | 1 | -2/+2 | |
2018-06-13 | Fix: Use macro for perl binary | Bernd Arnold | 1 | -1/+1 | |
I've messed that up in the previous commit 554b702f9d65fdfe640f20633543e00cd79d64ac. | |||||
2018-06-09 | Fix: Initialize values | Bernd Arnold | 1 | -0/+1 | |
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-03 | Fix: uptime_file variable was declared too late | Bernd Arnold | 1 | -3/+3 | |
When called with --help, the following error was shown: Use of uninitialized value $uptime_file in concatenation (.) or string at | |||||
2018-06-03 | Added test file | Bernd Arnold | 1 | -0/+73 | |
2018-06-03 | Added suffix "s" for seconds in perfdata output | Bernd Arnold | 1 | -1/+1 | |
2018-06-03 | Rename to .pl | Bernd Arnold | 1 | -0/+0 | |
All other check script also have the .pl ending | |||||
2018-05-30 | Replaced my values with macros | Bernd Arnold | 1 | -5/+4 | |
2018-05-30 | My version of check_uptime | Bernd Arnold | 1 | -0/+256 | |
Derived from check_mailq | |||||
2017-06-07 | Fix regexp for nullmailer "mailq" outputrefs/pull/1493/head | Stephane Lapie | 1 | -1/+1 | |
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-16 | Add mailq -C option for config dir or config file | Lee Clemens | 1 | -9/+17 | |
New variable, mailq_args, is appended for postfix mta mailq commands Fixes #1489 | |||||
2017-04-20 | Merge pull request #1461 from philipowen/file-size-lessthan | Sven Nierlein | 2 | -15/+92 | |
Enable check_file_age to test for maximum file size | |||||
2017-04-05 | resolve issues from code reviewrefs/pull/1461/head | phowen | 1 | -3/+3 | |
2017-03-13 | script tests: fix relative lib path in utils testrefs/pull/1471/head | Sven Nierlein | 1 | -0/+1 | |
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-12 | fix timeout issue with check_disk_smb | Sven Nierlein | 1 | -1/+6 | |
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-14 | add range checking to check_file_age | phowen | 2 | -16/+93 | |
2017-01-06 | Fixing shellcheck SC2166 | Jan Wagner | 1 | -6/+6 | |
2017-01-06 | Fixing shellcheck SC2162 | Jan Wagner | 1 | -1/+1 | |
2017-01-06 | Fixing shellcheck SC2143 | Jan Wagner | 1 | -3/+3 | |
2017-01-06 | Fixing shellcheck SC2009 | Jan Wagner | 1 | -1/+1 | |
This requires pgrep from the procps package. | |||||
2017-01-06 | Fixing shellcheck SC2086 | Jan Wagner | 3 | -145/+145 | |
2017-01-06 | Fixing shellcheck SC2006 | Jan Wagner | 3 | -41/+41 | |
2016-11-19 | Merge pull request #1376 from riskersen/check_mssql | Oliver Skibbe | 1 | -1/+1 | |
check_mssql.pl: switched alarm timeout | |||||
2016-11-18 | It's useful to use 'useful' instead of 'usefull' | Jan Wagner | 2 | -2/+2 | |
2016-03-03 | allow checking 0-sized resource (ex. IPC$)refs/pull/1411/head | Elan Ruusamäe | 1 | -1/+2 | |
patch by Marek Marczykowski <marmarek@staszic.waw.pl> | |||||
2015-10-15 | check_mssql.pl: switched alarm timeoutrefs/pull/1376/head | Bernd Apfel | 1 | -1/+1 | |
- alarm() now uses -t option contributed by Bernd Arnold (wopfel@gmail.com) closes #991 | |||||
2015-10-05 | plugins-scripts/Makefile.am: Testing shell scripts with 'sh -n' | Jan Wagner | 1 | -0/+1 | |
2015-10-05 | plugins-scripts/Makefile.am: Cosmetical changes | Jan Wagner | 1 | -1/+1 | |
2015-10-04 | Merge branch 'pr/1364' | Holger Weiss | 1 | -472/+0 | |
* pr/1364: check_ntp.pl: Droping this superseded plugin Conflicts: NEWS plugins-scripts/check_ntp.pl | |||||
2015-10-04 | Merge branch 'pr/1363' | Holger Weiss | 14 | -30/+30 | |
* 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-04 | check_ntp.pl: Droping this superseded pluginrefs/pull/1364/head | Jan Wagner | 1 | -472/+0 | |
2015-10-04 | check_netdns.pl: Prototyping functions | Jan Wagner | 1 | -1/+4 | |
2015-10-04 | change exit code to unknown on help and version info | Sven Nierlein | 14 | -30/+30 | |
Signed-off-by: Sven Nierlein <sven@nierlein.de> | |||||
2015-10-04 | check_ntp.pl: Using FindBin | Jan Wagner | 1 | -1/+2 | |
2015-10-04 | plugins-scripts/Makefile.am: Testing scripts with 'perl -wc' | Jan Wagner | 1 | -0/+1 | |
2015-10-02 | also update check_rpc.pl and check_wave.pl | Elan Ruusamäe | 2 | -2/+0 | |
2015-10-02 | drop superfluous libexecdir | Elan Ruusamäe | 10 | -11/+1 | |
utils.pm locate is already convered by FindBin | |||||
2014-12-02 | check_mailq: Add sudo support | Holger Weiss | 2 | -8/+23 | |
This addition is based on a patch contributed by Christopher Schultz. Closes #1099. Closes #1171. | |||||
2014-10-08 | check_ifstatus: Fix "-n" and "-u" options | Holger Weiss | 1 | -1/+1 | |
Ignore interface if it's specified via "-n" OR "-u", not just when it's specified via "-n" AND "-u". | |||||
2014-10-06 | check_file_age: Provide performance data | Jonas Genannt | 2 | -3/+10 | |
2014-10-06 | Merge branch 'maint' | Jan Wagner | 4 | -11/+10 | |
Conflicts: NEWS THANKS.in | |||||
2014-09-29 | check_mailq: fixed mailer names | Simon Meggle | 1 | -2/+2 | |
(Closes #1289) | |||||
2014-09-10 | Add check_ifstatus option to ignore interfaces by name | Nick Peelman | 1 | -19/+38 | |
Ignoring by index is not always an option, as the index can change on chassis switches as blade configurations change. | |||||
2014-08-20 | Setting PATH at first | Jan Wagner | 3 | -7/+6 | |
2014-08-20 | check_log.sh: droping path from basename | Jan Wagner | 1 | -1/+1 | |
while evaluating PROGNAME (Closes Debian Bug #758662) | |||||
2014-07-31 | tests: check_disk_smb may exit with critical for unresponsive hosts too | Sven Nierlein | 1 | -1/+1 | |
Unknown (ex. debian 7) %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du No Answer from Client Critical (ex. debian 8) %> ./check_disk_smb -H 1.1.1.1 -s np_foobar -vvv /usr/bin/smbclient //1.1.1.1/np_foobar -U guest% -c du Connection to 1.1.1.1 failed CRITICAL Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de> | |||||
2014-07-20 | check_ifstatus: perfdata bug | Jan Wagner | 1 | -1/+1 | |
The perfdata output violates the current Nagios Plugin Development Guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN202 : "space separated list of label/value pairs"). Thus the Addon PNP did not read the perdata correctly. The patch replaces the commas with spaces in the perfdata output. Many thanks to Patric Wust. --- Closes #1169 and #721. |