summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2023-08-28check_users: prefer systemd-logind over utmpThorsten Kukuk2-13/+26
Prefer systemd-logind over utmp to get the number of logged in users. utmp is not reliable for this (e.g. some terminals create utmp entries, other not) and utmp is not Y2038 safe with glibc on Linux.
2023-07-23Merge branch 'master' into check_swap_scanf_expressionsLorenz Kästle9-83/+212
2023-07-11Merge branch 'master' into compiler_warning_part_6Lorenz Kästle9-80/+202
2023-06-28Merge branch 'master' into compiler_warning_part_2waja8-18/+76
2023-06-28Merge branch 'master' into compiler_warning_part_6waja8-18/+76
2023-06-28Merge branch 'master' into check_swap_scanf_expressionswaja3-11/+59
2023-06-12Add support for SNI in check_smtp.Arkadiusz Miśkiewicz1-2/+17
Add support for SSL/TLS hostname extension support (SNI) for check_smtp plugin. Backported from nagios-plugins: https://github.com/nagios-plugins/nagios-plugins/commit/9f1628f4b5525335ce1d6e48e8ac8b07d0757f82
2023-06-12check_smtp: update year in copyright headerFranz 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=1Platon 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 correctlyRincewindsHat1-6/+21
2023-05-22Merge 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_mysqlLorenz Kästle1-1/+1
2023-04-27Update plugins/check_nt.cLorenz1-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-18Refix spelling issuesRincewindsHat1-1/+1
2023-04-18Try fixing deprecated functions in libdbiRincewindsHat1-3/+10
2023-04-18Fixes for -WrestrictRincewindsHat1-67/+184
2023-04-18Fixes for -Wunused-parametersRincewindsHat3-13/+16
2023-04-18Fixes for -Wimplicit-fallthroughRincewindsHat7-0/+7
2023-04-18Fixes for -WunusedRincewindsHat1-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-18Remove unused variable from check_httpRincewindsHat1-1/+0
2023-04-18Implicit function declarationsRincewindsHat1-0/+2
2023-04-17Fix a psuedo typoJan Wagner2-2/+2
2023-04-14Fix a lot of typos reported by codespellJan Wagner29-62/+62
2023-04-13Fix 'requres' typodonien1-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 codeSven 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 ↵Andreas Baumann1-1/+2
warning
2023-03-16check_swap: Remove unnecessary and problematic includesRincewindsHat1-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 variableAndreas Baumann1-1/+0
2023-03-11Merge branch 'master' into patch-1Lorenz5-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 strncatAndreas 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