summaryrefslogtreecommitdiffstats
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
33 hourscheck_by_ssh: fix some testsLorenz Kästle1-25/+25
33 hourscheck_by_ssh: some formattingLorenz Kästle1-3/+2
33 hourscheck_by_ssh: do not incorrectly assume that ssh (1) succeededLorenz Kästle1-21/+2
33 hourscheck_by_ssh: handle errrors of ssh (1) directlyLorenz Kästle1-0/+17
34 hourscheck_by_ssh: Implement modern output functionalityLorenz Kästle2-53/+152
34 hoursImplement replacement functions for executing commandsLorenz Kästle1-5/+0
This commit implements replacement functions for the previous exec functions. The replacements are implemented in a more "pure" style, the do no longer receive pointer arguments which they will write to, but create the pointers themselves and should therefore be easier to use, since it is more obvious what goes in and what comes out. Also a essentialy unused variable was removed with this.
9 dayscheck_smtp: certificate check is no longer opt-inLorenz Kästle2-40/+54
This is a breaking change. Testing whether a TLS certificate is still valid (expiration wise) is now the default in check_smtp. The reasoning is, that in most scenarios an expired certificate will effectively mean that the service is not working anymore due to the refusal of other software to talk to it. There is a new cli parameter though to explicitly ignore that.
9 dayscheck_smtp: implement output format cli parameterLorenz Kästle2-1/+27
10 dayssmall test correctionLorenz Kästle1-2/+2
10 daysFix initialisation on old compilersLorenz Kästle1-1/+1
10 dayscheck_smtp: adapt testsLorenz Kästle1-3/+2
10 dayscheck_smtp: modern output + some tls cert helper functionsLorenz Kästle4-294/+550
10 daysFix typoLorenz Kästle1-1/+1
10 dayscheck_mysql_query: implement modern outputLorenz Kästle3-46/+65
10 daysMerge pull request #2174 from RincewindsHat/modern_output/check_mysqlLorenz Kästle3-112/+180
Modern output/check mysql
10 daysMerge pull request #2168 from RincewindsHat/refactor/check_dbiLorenz Kästle3-324/+432
check_dbi: new output functionality
10 dayscheck_mysql: implement modern outputLorenz Kästle3-110/+175
12 dayscheck_mysql: replace cpp constant with a proper enumLorenz Kästle1-2/+5
12 daysfix typosLorenz Kästle1-2/+2
12 dayscheck_pgsql: implement cli params for output formatLorenz Kästle2-2/+22
12 dayscheck_pgsql: cleanup leftover codeLorenz Kästle1-15/+0
12 daysMerge branch 'master' into modern_output/check_pgsqlLorenz Kästle5-256/+394
12 dayscheck_pgsql: implement modern outputLorenz Kästle2-90/+206
12 dayscheck_ntp_time: add cli option for output formatLorenz Kästle2-0/+28
12 daysMerge pull request #2170 from RincewindsHat/modern_output/check_ntp_peerLorenz Kästle2-172/+251
Modern output/check ntp peer
13 dayscheck_ntp_peer: add cli param to set output formatLorenz Kästle2-10/+46
13 dayscheck_ntp_peer: fix several missing things and errorsLorenz Kästle2-4/+17
13 daysMerge pull request #2171 from RincewindsHat/modern_output/check_ntp_timeLorenz Kästle2-82/+97
check_ntp_time: implement modern output
13 dayscheck_ntp_time: reduce number of significant bits a bitLorenz Kästle1-1/+2
13 dayscheck_ntp_time: fix time-offset argument and descriptionLorenz Kästle1-2/+2
13 dayscheck_ntp_time: actually accept offset if knownLorenz Kästle1-0/+1
13 daysput includes before any declarationsLorenz Kästle1-5/+4
13 daysremove cpp constant and localize that value insteadLorenz Kästle1-2/+5
14 daysForgot to actually set thresholdsLorenz Kästle1-8/+16
14 dayscheck_ntp_time: implement modern outputLorenz Kästle2-80/+93
14 dayscheck_ntp_peer: implement new output functionalityLorenz Kästle2-142/+164
2025-10-31check_ntp_peer: small refactoringLorenz Kästle1-23/+23
2025-10-30check_dbi: more refactoring for coherence and simplificationLorenz Kästle2-73/+75
2025-10-30add some comments to explain changed codeLorenz Kästle1-0/+2
2025-10-30check_curl: accept non standard compliant status lineLorenz Kästle1-2/+16
If the status line from a server ended with '\n' instead of '\r\n' (defined by RFC 9112), check_curl failed to parse it and exited with an alarm. The RFC recommends to be lenient here and this change follows that suggestion.
2025-10-29check_dbi: add output format parameterLorenz Kästle2-0/+24
2025-10-29check_dbi: more refactoring for sanities sakeLorenz Kästle1-117/+51
2025-10-29Fix spelling errorsLorenz Kästle1-2/+2
2025-10-29check_dbi: new output functionalityLorenz Kästle2-145/+295
2025-10-18Fix some bugs after refactoringLorenz Kästle1-6/+13
2025-10-06Merge pull request #2159 from RincewindsHat/check_snmp_remove_useless_headersLorenz Kästle1-2/+0
check_snmp: remove useless headers
2025-09-30More renaming due to MySQL name chancesLorenz Kästle1-11/+26
Due to MySQL changing several term in Version 8.0.22 the way to determine the status of replicas has changed. To adapt to these changes in a517dc614e44650a7e9204c4202feec7a40fd37f check_mysql was modified to adapt to different versions. Some parts were missed though which results in failures to detect the replica status properly. This parts should be contained in this commit.
2025-09-26check_snmp: remove useless headersLorenz Kästle1-2/+0
2025-09-26fixes check_users build on OpenBSD (without utmpx)Stuart Henderson2-3/+1
2025-09-26check_mysql: Assume MySQL server by default (in replica check)Lorenz Kästle1-5/+2
In the Debian Bug tracker (and then Github) a person pointed out, that a MySQL server does not respond with a hint that is indeed the MySQL software but only with the version string. Which makes sense if one assumes to be the only implementation. This commit changes the behaviour of the Replica check to assume that the counterpart is a MySQL server if there are not hints that it is a MariaDB server.