summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2023-06-12check_smtp: update year in copyright headerrefs/pull/1885/headFranz Schwartau1-1/+1
2023-06-12check_smtp: add missing -r option in usageFranz Schwartau1-1/+1
2023-06-12check_smtp: Add option to prefix PROXY headerPatrick Uiterwijk1-1/+16
This enables checks of SMTP servers that expect the haproxy PROXY protocol: -o smtpd_upstream_proxy_protocol=haproxy. Backported from nagios-plugins: https://github.com/nagios-plugins/nagios-plugins/commit/3246efe923b5482c5024c40e593ce942e628a3cb
2023-06-12Merge pull request #1884 from RincewindsHat/check_disk_iec_unitsLorenz1-6/+21
check_disk: Display SI units correctly
2023-05-30check_mysql: handle ER_ACCESS_DENIED_NO_PASSWORD_ERROR if ignore_auth=1refs/pull/1883/headPlaton Pronko1-1/+4
In some situations MySQL might return ER_ACCESS_DENIED_NO_PASSWORD_ERROR instead of ER_ACCESS_DENIED_ERROR. Semantically these errors are the same.
2023-05-26check_disk: Display SI units correctlyrefs/pull/1884/headRincewindsHat1-6/+21
2023-05-21Merge branch 'master' into check_swap_scanf_expressionsLorenz6-7/+17
2023-05-10Merge pull request #1486 from philipowen/feature/pgsql-extra-infoLorenz1-1/+11
check_pgsql: Add extra output
2023-05-08Merge pull request #1875 from RincewindsHat/file_encodingsLorenz1-1/+1
check_nt: change encoding from latin1 to utf8
2023-05-08Merge pull request #1866 from RincewindsHat/compiler_warning_part_1Lorenz3-4/+4
Compiler warning part 1
2023-04-28Typo in check_mysqlrefs/pull/1878/headLorenz Kästle1-1/+1
2023-04-26Update plugins/check_nt.crefs/pull/1875/headLorenz1-1/+1
Co-authored-by: datamuc <m@rbfh.de>
2023-04-26Changing remaining sscanf format specifier to unsigned longLorenz Kästle1-3/+3
2023-04-26check_nt: change encoding from latin1 to utf8Lorenz Kästle1-1/+1
2023-04-26Avoid unnecessary malloc and use stack insteadLorenz Kästle1-6/+1
2023-04-17Refix spelling issuesRincewindsHat1-1/+1
2023-04-17Try fixing deprecated functions in libdbiRincewindsHat1-3/+10
2023-04-17Fixes for WaddressRincewindsHat1-3/+5
* check_snmp: Fix string comparison
2023-04-17Fixes for -Wnonnull-compareRincewindsHat1-4/+0
2023-04-17Replace deprecated TLS client functionsRincewindsHat1-44/+33
2023-04-17Fixes for -WrestrictRincewindsHat1-67/+184
2023-04-17Fixes for -Wunused-parametersRincewindsHat3-13/+16
2023-04-17Fixes for -Wimplicit-fallthroughRincewindsHat7-0/+7
2023-04-17Fixes for -Wunusedrefs/pull/1866/headRincewindsHat1-3/+2
* lib/utils_base.c * plugins/check_curl.c * plugins-root/check_dhcp.c Removed a line which theoretically can not do anything, but there was comment which indicated something else. Still trying this though.
2023-04-17Remove unused variable from check_httpRincewindsHat1-1/+0
2023-04-17Implicit function declarationsRincewindsHat1-0/+2
2023-04-17Fix a psuedo typoJan Wagner2-2/+2
2023-04-14Fix a lot of typos reported by codespellrefs/pull/1864/headJan Wagner29-62/+62
2023-04-13Fix 'requres' typorefs/pull/1863/headdonien1-1/+1
2023-03-27Merge pull request #1850 from sni/fix_check_snmp_multiplierLorenz1-8/+10
check_snmp: disable multiplier when unused
2023-03-27simplify coderefs/pull/1850/headSven Nierlein1-4/+1
if statement is always true at this point, so remove it.
2023-03-27Merge pull request #1855 from monitoring-plugins/curlfreebsdfixesLorenz1-1/+2
check_curl: including netinet/in.h (for FreeBSD), fixed an ambigous compare warning
2023-03-21check_procs: add a test for the newly added -X option.Christian Kujau1-2/+6
$ make test [...] perl -I .. -I .. ../test.pl No application (check_curl) found for test harness (check_curl.t) No application (check_snmp) found for test harness (check_snmp.t) ./t/check_procs.t ...... ok ./tests/check_nt.t ..... ok ./tests/check_procs.t .. ok All tests successful. Files=4, Tests=73, 8 wallclock secs ( 0.05 usr 0.02 sys + 0.38 cusr 0.22 csys = 0.67 CPU) Result: PASS Signed-off-by: Christian Kujau <lists@nerdbynature.de>
2023-03-21check_procs: Implement --exclude-process to exclude specific processes.Christian Kujau1-2/+45
Signed-off-by: Christian Kujau <lists@nerdbynature.de>
2023-03-17Merge branch 'master' into fix_check_snmp_multiplierSven Nierlein1-3/+0
2023-03-16check_curk: including netinet/in.h (for FreeBSD), fixed an ambigous compare ↵refs/pull/1855/headAndreas Baumann1-1/+2
warning
2023-03-16check_swap: Remove unnecessary and problematic includesrefs/pull/1854/headRincewindsHat1-3/+0
2023-03-15check_snmp: disable multiplier when unusedSven Nierlein1-4/+9
- if no multiplier is set, simply return the given string. Otherwise we would strip off the unit. - if used, allocate new space to hold the result which might be larger than the initial input Signed-off-by: Sven Nierlein <sven@consol.de>
2023-03-12Merge pull request #1842 from sthen/patch-1Lorenz1-0/+4
check_radius: cope with radcli-1.3.1 RC_BUFFER_LEN
2023-03-12Merge pull request #1847 from monitoring-plugins/curlfix1845Lorenz1-15/+35
Fix for SSL host list messup when picking from multiple IPs (#1844)
2023-03-11check_curl: removed a superflous variablerefs/pull/1847/headAndreas Baumann1-1/+0
2023-03-11Merge branch 'master' into patch-1refs/pull/1842/headLorenz5-115/+266
2023-03-11Merge pull request #1801 from ↵Lorenz2-22/+117
KriSchu/feature_check_disk_add_ignore_missing_option check_disk: add ignore-missing option to return OK for missing fs
2023-03-08fixed a wrong compare and a wrong size in strncatrefs/pull/1846/headAndreas Baumann1-2/+2
2023-03-08check_curl.c: Include all IPs from getaddrinfo() in curl DNS cacheBarak Shohat1-13/+26
2023-03-07check_curl: in SSL host caching mode try to connect and bind and take the ↵Andreas Baumann1-7/+15
first getaddrinfo result which succeeds
2023-03-06check_disk: use cleaner code for ignore-missing optionrefs/pull/1801/headKristian Schuster1-18/+16
- use datatype bool for new vars ignore_missing and path_ignored instead of int - directly initialize preamble and ignored_preamble with their strings
2023-02-20check_disk: fix ugly output with -e option and adapt tests accordinglyKristian Schuster2-9/+9
2023-02-20check_disk: fix tests by setting correct test number and escaping line end regexKristian Schuster1-4/+4
2023-02-19Merge remote-tracking branch 'origin/master' into ↵Kristian Schuster16-253/+548
feature_check_disk_add_ignore_missing_option