aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-14check_by_ssh: Add "-U" flag (#1123). (#1774)Gravatar Archie L. Cobbs
This causes a 255 exit value from ssh(1), which indicates a connection failure, to return UNKNOWN instead of CRITICAL; similar to check_nrpe's "-u" flag.
2022-07-03Update CodeQL and update runner before installing (#1775)Gravatar Lorenz
2022-06-18Cdmiub (#1770)Gravatar CDMIUB
* added timout option to check_disk_smb
2022-04-10Merge pull request #1762 from monitoring-plugins/continue_after_certificateGravatar Andreas Baumann
check_http/checkcurl: added --continue-after-certificate (backport from nagios-plugins)
2022-04-10check_curl: added option --continue-after-certificate (#1761)Gravatar Andreas Baumann
2022-04-10check_http: added option --continue-after-certificate (#1761)Gravatar Andreas Baumann
2022-03-26remove duplicate W=i/C=i args (#1755)Gravatar Tobias Fiebig
Co-authored-by: Tobias Fiebig <t.fiebig@tudelft.nl>
2022-03-17Add configfile feature to check_disk_smb (#1402)Gravatar Claudio Kuenzler
2022-03-15check_icmp: buffer offerflow (#1733)Gravatar Lorenz
* Fix different overflows * Less includes * Add testcases * Remove unused variable * Remove unused and commented includes
2022-02-15check_uptime: Fix lowercase typo in plugin outputGravatar Andreas Motl
2022-02-15check_uptime: Add option to report uptime in days instead of secondsGravatar Andreas Motl
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-02-01Use silent automake by default (#1747)Gravatar Lorenz
2022-01-30Description for -M was the wrong way around (#1746)Gravatar Lorenz
Using -M should show the mountpoint instead of the device the file system originated from. Seems like this was not the case for a long time and now the default is to show the mount point. Using `-M` reverts to showing the (block) device instead. The usage Description was adjusted with this commit.
2022-01-30Fix double percentage sign in usage (#1743)Gravatar Lorenz
2022-01-30sslutils: use chain from client certificatesGravatar Tobias Wiese
sslutils used to load only the first certificate when it was given a client certificate file. Added tests for check_http to connect to a http server that expects a client certificate (simple and with chain). Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
2022-01-29- delay set_source_ip() until address_family is detectedGravatar ghciv6
- add a test to check '-s'
2022-01-29fixed -ffollow for HTTP/2.0 (Fixes #1685): added major_version parsing to ↵Gravatar Andreas Baumann
PicoHTTPParser
2022-01-29check_http and check_curl: added --max-redirs=N option (feature #1684)Gravatar Andreas Baumann
2022-01-25add --queryname parameter to check_pgsql (#1741)Gravatar datamuc
This is used in the long output instead of the actual query. So instead of OK - 'select stuff from various, tables where some_stuff is null and other_stuff is not null' returned 42 one can use --queryname=check_greatest_basket and it will print OK - check_greatest_basket returned 42 That's nicer for alerting purposes, at least in our use case.
2022-01-23Point to Icinga Exchange instead of dead Monitoring Exchange (#1737)Gravatar Lorenz
2022-01-22Fixes the positioning of the code and some other changesGravatar RincewindsHat
2022-01-22Implements 'host-alive' mode (Closes. #1027)Gravatar Jan Wagner
To reduce the check-duration, it addes a host-alive flag which stops testing after the first successful reply.
2022-01-22Trivial printf fix and a little bit of code style (#1695)Gravatar Lorenz
* Fix several warnings (and some downright bugs probably) with formating in check_disk Update to master * Fix merge error, I forgot the last time * Fix indentation Co-authored-by: rincewind <rincewind@vulgrim.de>
2022-01-22Trivial source code formatting only: Use tabs consistently for source code ↵Gravatar Mark A. Ziesemer
indentation (whitespace), as per https://github.com/monitoring-plugins/monitoring-plugins/blob/master/CODING . (#1424) Looks good, thank you very much.
2022-01-21Rebase to master (#1731)Gravatar Lorenz
2022-01-14Merge pull request #1412 from glensc/pld/nagios-plugins-ping.patchGravatar Lorenz
[check_ping] understang ping6 output from iputils package
2022-01-14Merge pull request #1496 from FracKenA/Add-NullOID-ExitGravatar Lorenz
Added option for null zero length string exit codes
2022-01-14Updated int state to human readableGravatar Ken D
2022-01-14Added option for null zero length string exit codesGravatar Ken D
When using a large distributed network with the same group of checks used against a large number of devices, occationally there are missing cards in a few devices that are present in other devices. Rather than having a large number of unknown results, disable active checking on those large number of result or having to create a unique check configuration for those devices. This option allows you to select an OK, WARNING, CRITICAL or UNKNOWN status while still retaining the default behavior when not present. This also allows a for the check to immediately start checks as intended should the hardware be added that the check is looking for.
2022-01-14Merge pull request #1301 from nafets/exit_on_stderrGravatar Lorenz
check_by_ssh: added option to exit with an warning, if there is output on STDERR
2022-01-03Merge pull request #1642 from mdavranche/masterGravatar Lorenz
check_swap: Handle cached swap
2022-01-03Rename tmp variable to get even with masterGravatar Lorenz Kästle
2022-01-03Merge branch 'master' into masterGravatar Lorenz
2021-12-21Merge pull request #1679 from RincewindsHat/shell_check_check_sensors.shGravatar Lorenz
check_sensors.sh: Make shellcheck happier
2021-12-21check_sensors.sh: Make shellcheck happierGravatar rincewind
2021-12-20Merge pull request #1732 from RincewindsHat/check_log_missing_oldlog_abortGravatar Lorenz
Missing oldlog now aborts check_log
2021-12-20Apparently Dash is not Bash, so -v does not workGravatar RincewindsHat
2021-12-19Merge pull request #1725 from monitoring-plugins/check_game_update_urlGravatar Lorenz
Update Url to qstat
2021-12-02Missing oldlog now aborts check_logGravatar RincewindsHat
2021-12-02Merge pull request #1459 from waja/fix/shellcheckGravatar RincewindsHat
Several fixes shellcheck complaining about
2021-12-02Merge branch 'master' into fix/shellcheckGravatar RincewindsHat
2021-12-02Merge pull request #1490 from leeclemens/mailq-add-config-dirGravatar RincewindsHat
check_mailq: Add mailq -C option for config dir or config file
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 #1730 from RincewindsHat/check_file_age_more_explicit_helpGravatar RincewindsHat
Make size parameter a little bit more intelligible
2021-11-29Make size parameter a little bit more intelligibleGravatar RincewindsHat
2021-11-29Merge pull request #1493 from darksoul42/masterGravatar RincewindsHat
Fix regexp for nullmailer "mailq" output. Looks good. Thank you very much.
2021-11-28Merge pull request #1692 from RincewindsHat/modernize_check_logGravatar RincewindsHat
Modernize check log
2021-11-25Merge pull request #1729 from RincewindsHat/fix_QL_problemsGravatar RincewindsHat
Fix some QL problems
2021-11-25Merge pull request #1727 from phibos/fix_check_ups_1030Gravatar RincewindsHat
Fix possible overflow in check_ups. Looks good to me too, thank you very much