summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2023-08-29check_smtp: Let port option always take precedenceFranz Schwartau1-1/+6
Otherwise -s/--ssl would overwrite a port given with -p if it comes after it, e. g. check_smtp -H mailhost.example.com -p 4465 --ssl Found-By: Lorenz Kästle
2023-08-29check_smtp: add new longoption --tlsFranz Schwartau1-2/+3
This is an alias for -s/--ssl.
2023-08-29check_smtp: remove restriction of --proxy with --sslFranz Schwartau1-11/+7
2023-08-29check_smtp: set default port to smtps (465) for TLSFranz Schwartau1-1/+4
The port can still be set with -p.
2023-08-29Add support for SMTP over TLSFranz Schwartau1-9/+37
This is commonly used on smtps (465) port. PROXY protocol is not implemented with TLS in check_smtp.c, yet. Backported from nagios-plugins: https://github.com/nagios-plugins/nagios-plugins/commit/0a8cf08ebb0740aa55d6c60d3b79fcab282604fb
2023-08-28Merge remote-tracking branch 'upstream/master' into fix/repair_test_pipelinerefs/pull/1907/headLorenz Kästle2-13/+26
2023-08-28check_users: prefer systemd-logind over utmprefs/pull/1888/headThorsten 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-08-28Remove dead, commented codeLorenz Kästle1-9/+0
2023-08-28Enhance regex in test to be more tolerant to follow up textLorenz Kästle1-1/+1
2023-08-27Update test to ignore broken MIBsRincewindsHat1-33/+33
2023-08-27Implement option to ignore mib file parsing errorsRincewindsHat1-17/+47
2023-07-23Merge branch 'master' into check_swap_scanf_expressionsrefs/pull/1876/headLorenz Kästle9-83/+212
2023-07-11Merge branch 'master' into compiler_warning_part_6refs/pull/1871/headLorenz Kästle9-80/+202
2023-06-28Merge branch 'master' into compiler_warning_part_2refs/pull/1867/headwaja8-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 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 -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