aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-11Check swap compiler warnings (#1756)Gravatar Lorenz
* Fix compiler warnings * Fix superfluous whitespaces
2022-07-25check_swap: Fix unit for total in perfdata (#1779)Gravatar Lorenz
* check_swap: Fix unit for total in perfdata * Remove trailing whitespaces
2022-07-25fix parsing swap values (#1780)Gravatar Sven Nierlein
tmp_KB changed from float to uint64, so change the sscanf format accordingly.
2022-07-24check_snmp: Segfault if number of processed lines is greater than number of ↵Gravatar adrb
thresholds Segfault at line 489 if number of processed lines is greater than number (#1589) of thresholds Co-authored-by: Lorenz <12514511+RincewindsHat@users.noreply.github.com>
2022-07-20Remove check_http and check_curl test which are somehow always failing (#1777)Gravatar Lorenz
* Remove failing checks for check_http * Remove failing checks for check_curl
2022-07-14Set msg_namelen to the size of the sockaddr struct for the appropriate ↵Gravatar eriksejr
address family and not sockaddr_storage (#1771) Co-authored-by: Erik Sejr <eriks@ssimicro.com> Co-authored-by: Lorenz <12514511+RincewindsHat@users.noreply.github.com>
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