Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-20 | add tests for check_log | lorenzg | 1 | -0/+82 | |
2023-01-20 | Fix indents | lgmu | 1 | -4/+4 | |
2023-01-20 | Added --exclude, cleanup args, fix -a count bug | lgmu | 1 | -60/+31 | |
Added --exclude to exclude patterns Cleaned up duplicated code in the args Fixed a bug when using --all because the count always returned "1" even when nothing matched entry=$($GREP "$query" "$tempdiff") count=$(echo "$entry" | wc -l) Example: $ touch testfile $ TEST123=$(grep 'test' testfile) $ echo "$TEST123" | wc -l 1 | |||||
2023-01-18 | Fixing nullmailer regex | andrew bezella | 1 | -2/+2 | |
attached is a patch that updates the format expected in the nullmailer mailq output. the regex is a little more flexible and less specific than the previous version. | |||||
2022-10-07 | Replace egrep with grep -E (#1791) | Lorenz | 1 | -2/+2 | |
Replace egrep with grep -E to avoid the deprecation warnings | |||||
2022-06-18 | Cdmiub (#1770) | CDMIUB | 1 | -2/+8 | |
* added timout option to check_disk_smb | |||||
2022-03-26 | remove duplicate W=i/C=i args (#1755) | Tobias Fiebig | 1 | -2/+0 | |
Co-authored-by: Tobias Fiebig <t.fiebig@tudelft.nl> | |||||
2022-03-17 | Add configfile feature to check_disk_smb (#1402) | Claudio Kuenzler | 1 | -4/+11 | |
2022-02-15 | check_uptime: Fix lowercase typo in plugin output | Andreas Motl | 2 | -9/+9 | |
2022-02-15 | check_uptime: Add option to report uptime in days instead of seconds | Andreas Motl | 2 | -3/+22 | |
Currently, the plugin output is: CRITICAL: Uptime is 38829029 seconds. When using the proposed `--days|-d` option, it will be: CRITICAL: Uptime is 449 days. | |||||
2022-01-21 | Rebase to master (#1731) | Lorenz | 1 | -7/+9 | |
2021-12-21 | Merge pull request #1679 from RincewindsHat/shell_check_check_sensors.sh | Lorenz | 1 | -1/+1 | |
check_sensors.sh: Make shellcheck happier | |||||
2021-12-21 | check_sensors.sh: Make shellcheck happierrefs/pull/1679/head | rincewind | 1 | -1/+1 | |
2021-12-19 | Apparently Dash is not Bash, so -v does not workrefs/pull/1732/head | RincewindsHat | 1 | -1/+1 | |
2021-12-02 | Missing oldlog now aborts check_log | RincewindsHat | 1 | -1/+10 | |
2021-12-02 | Merge branch 'master' into fix/shellcheckrefs/pull/1459/head | RincewindsHat | 11 | -77/+641 | |
2021-12-02 | Fix syntax error resulting from mergingrefs/pull/1490/head | RincewindsHat | 1 | -1/+1 | |
2021-12-02 | Merge branch 'master' into mailq-add-config-dir | RincewindsHat | 9 | -115/+586 | |
2021-11-29 | Make size parameter a little bit more intelligiblerefs/pull/1730/head | RincewindsHat | 1 | -1/+1 | |
2021-11-29 | Merge pull request #1493 from darksoul42/master | RincewindsHat | 1 | -1/+1 | |
Fix regexp for nullmailer "mailq" output. Looks good. Thank you very much. | |||||
2021-11-28 | Merge pull request #1692 from RincewindsHat/modernize_check_log | RincewindsHat | 1 | -42/+94 | |
Modernize check log | |||||
2021-10-20 | Add comment to make the purpose of the nickname fix more obvious | Lorenz Kästle | 1 | -0/+2 | |
2021-10-20 | Restrict the nickname length of the test user for check_ircd | Lorenz Kästle | 1 | -1/+1 | |
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-22 | Re-attach a comment to where it actually belongsrefs/pull/1699/head | Peter Newman | 1 | -1/+1 | |
2021-07-05 | Add quoting for the remaining variablesrefs/pull/1692/head | rincewind | 1 | -3/+3 | |
2021-07-02 | Add -a option to print all matching lines and -p and -e options for perl and ↵ | rincewind | 1 | -14/+37 | |
extended RE | |||||
2021-07-02 | Add extended and perl regex | rincewind | 1 | -2/+32 | |
2021-07-02 | Apply shellcheck | rincewind | 1 | -29/+29 | |
2021-07-02 | Remove modified note, since this is a git repository | rincewind | 1 | -2/+1 | |
2020-12-08 | check_mailq: restore accidentially removed optionsrefs/pull/1650/head | Sven Nierlein | 1 | -3/+5 | |
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-04 | tests: skip some tests if Monitoring::Plugin::Range isn't available | Sven Nierlein | 1 | -67/+36 | |
The check_file_age uses Monitoring::Plugin::Range internally. Skip thoses tests if the module isn't available. | |||||
2018-06-17 | Fixed error message, added commentrefs/pull/1538/head | Bernd Arnold | 1 | -1/+2 | |
2018-06-17 | Drop uptime binary call | Bernd Arnold | 1 | -1/+1 | |
No need to call /bin/uptime, since the string can be generated with strftime(...). | |||||
2018-06-17 | Added help text for range support | Bernd Arnold | 1 | -0/+6 | |
2018-06-17 | Remove useless (empty) print | Bernd Arnold | 1 | -1/+0 | |
2018-06-13 | fix typo in check_uptime | Sven Nierlein | 1 | -1/+1 | |
2018-06-13 | add check_uptime to makefile | Sven Nierlein | 1 | -0/+2 | |
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. |