summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
45 hourscheck_by_ssh: do not incorrectly assume that ssh (1) succeededLorenz Kästle1-21/+2
45 hoursfix include order errorLorenz Kästle1-1/+2
46 hourscheck_by_ssh: handle errrors of ssh (1) directlyLorenz Kästle1-0/+17
46 hourscheck_by_ssh: Implement modern output functionalityLorenz Kästle2-53/+152
46 hoursImplement replacement functions for executing commandsLorenz Kästle3-15/+299
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 daysMerge pull request #2176 from RincewindsHat/modern_output/check_smtpLorenz Kästle5-329/+624
check_smtp: modern output + some tls cert helper functions
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
11 dayscheck_smtp: modern output + some tls cert helper functionsLorenz Kästle4-294/+550
11 daysMerge pull request #2175 from RincewindsHat/modern_output/check_mysql_queryLorenz Kästle3-46/+65
check_mysql_query: implement modern output
11 daysFix typoLorenz Kästle1-1/+1
11 dayscheck_mysql_query: implement modern outputLorenz Kästle3-46/+65
11 daysMerge pull request #2174 from RincewindsHat/modern_output/check_mysqlLorenz Kästle3-112/+180
Modern output/check mysql
11 daysMerge pull request #2168 from RincewindsHat/refactor/check_dbiLorenz Kästle3-324/+432
check_dbi: new output functionality
11 dayscheck_mysql: implement modern outputLorenz Kästle3-110/+175
12 dayscheck_mysql: replace cpp constant with a proper enumLorenz Kästle1-2/+5
13 daysMerge pull request #2173 from RincewindsHat/modern_output/check_pgsqlLorenz Kästle2-99/+222
Modern output/check pgsql
13 daysfix typosLorenz Kästle1-2/+2
13 dayscheck_pgsql: implement cli params for output formatLorenz Kästle2-2/+22
13 dayscheck_pgsql: cleanup leftover codeLorenz Kästle1-15/+0
13 daysMerge branch 'master' into modern_output/check_pgsqlLorenz Kästle5-256/+394
13 dayscheck_pgsql: implement modern outputLorenz Kästle2-90/+206
13 daysMerge pull request #2172 from ↵Lorenz Kästle2-0/+28
RincewindsHat/fix/check-ntp-time/output-format-option check_ntp_time: add cli option for output format
13 dayscheck_ntp_time: add cli option for output formatLorenz Kästle2-0/+28
13 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
2025-11-04put includes before any declarationsLorenz Kästle1-5/+4
2025-11-04remove cpp constant and localize that value insteadLorenz Kästle1-2/+5
2025-11-04Forgot to actually set thresholdsLorenz Kästle1-8/+16
2025-11-04check_ntp_time: implement modern outputLorenz Kästle2-80/+93
2025-11-04check_ntp_peer: implement new output functionalityLorenz Kästle2-142/+164
2025-10-31check_ntp_peer: small refactoringLorenz Kästle1-23/+23
2025-10-31Merge pull request #2169 from RincewindsHat/check_curl_line_endingsLorenz Kästle1-2/+18
check_curl: accept non standard compliant status line
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-08Merge pull request #2166 from ↵waja1-2/+2
monitoring-plugins/dependabot-github_actions-github-codeql-action-4