Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-10-15 | Merge pull request #1637 from aanriot/master | Lorenz Kästle | 1 | -12/+33 | |
check_ifstatus: Add -d switch | |||||
2024-03-18 | check_ircd: IPv6 support (#1995) | alvar | 1 | -35/+26 | |
The prior bindRemote function was restricted to IPv4 by explicitly using address family specific functions as pack_sockaddr_in or unparametrized gethostbyname. Since Perl 5.14, released in early 2013, there is IO::Socket::IP, which supports lookups and connects for a dual stacked network. By switching the connection establishment code, the plugin is now able to establish connections to IPv6-only hosts. Furthermore, additional -4 and -6 flags were introduced to enforce a specific address family. > $ netstat -p tcp -ln | grep 6667 > tcp6 0 0 *.6667 *.* LISTEN > $ ./plugins-scripts/check_ircd -H localhost > IRCD ok - Current Local Users: 4 > $ ./plugins-scripts/check_ircd -H localhost -4 > IRCD UNKNOWN: Could not start socket (Connection refused) > $ ./plugins-scripts/check_ircd -H localhost -6 > IRCD ok - Current Local Users: 4 | |||||
2023-11-05 | Shellcheck fixes for check_oracle | RincewindsHat | 1 | -10/+13 | |
2023-10-26 | check_mailq: exit on empty strings and exit early | Sven Nierlein | 1 | -76/+69 | |
in case of $utils::PATH_TO_MAILQ beeing an empty string, the "defined" is still true and leads to misleading error messages. While on it, rewrite cascaded if/elsifs to more readably exit-early ifs. | |||||
2023-10-26 | check_mailq: unify tabs/spaces | Sven Nierlein | 1 | -508/+507 | |
2023-10-26 | check_mailq: remove trailing whitespaces | Sven Nierlein | 1 | -23/+23 | |
2023-10-06 | use pack_sockaddr_in rather than hand-rolled | Stuart Henderson | 1 | -3/+1 | |
On some OS, sockaddr structs include a length field. Perl's pack_sockaddr_in takes this into account; the hand-rolled "pack('S n a4 x8'..." doesn't do so, resulting in connection failures. | |||||
2023-10-03 | Merge pull request #1411 from ↵ | Lorenz Kästle | 1 | -1/+2 | |
glensc/pld/nagios-plugins-check_disk_smb-zero-cap.patch check_disk_smb: allow checking 0-sized resource (ex. IPC$) | |||||
2023-09-20 | Merge branch 'master' into master | Lorenz Kästle | 14 | -41/+68 | |
2023-09-07 | check_breeze, check_wave, unset CDPATH env var | RincewindsHat | 2 | -1/+3 | |
2023-09-07 | Use compile time determined path to snmpget in check_wave | RincewindsHat | 1 | -7/+7 | |
2023-09-07 | Add dynamic path to snmpget to perl utils | RincewindsHat | 1 | -0/+1 | |
2023-05-02 | also fixed the --help returns | MisterMountain | 3 | -5/+5 | |
2023-05-02 | Merge branch 'monitoring-plugins:master' into fix_version_return_code | Björn Berg | 7 | -11/+11 | |
2023-04-14 | Fix a lot of typos reported by codespell | Jan Wagner | 7 | -11/+11 | |
2023-04-11 | fixed the identation (and also patched -V on check_oracle to behave exactly ↵ | MisterMountain | 2 | -6/+6 | |
like --version again) | |||||
2023-04-11 | fixed the outputs of the --versions options on 3 scripts | MisterMountain | 3 | -3/+3 | |
2023-03-27 | Merge pull request #1852 from RincewindsHat/check_mssql | Lorenz | 1 | -2/+2 | |
Actually build check_mssql too | |||||
2023-03-15 | Actually build check_mssql too | RincewindsHat | 1 | -2/+2 | |
2023-03-10 | Merge branch 'master' into master | Lorenz | 11 | -239/+399 | |
2023-02-03 | check_mailq.pl: separate submission queue | Jan Wagner | 1 | -6/+30 | |
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-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 happier | rincewind | 1 | -1/+1 | |
2021-12-20 | Apparently Dash is not Bash, so -v does not work | 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/shellcheck | RincewindsHat | 11 | -77/+641 | |
2021-12-02 | Fix syntax error resulting from merging | 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 intelligible | 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 belongs | Peter Newman | 1 | -1/+1 | |
2021-07-05 | Add quoting for the remaining variables | 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 | |