Commit graph

4906 commits

Author SHA1 Message Date
Lorenz Kästle
62035adf6c check_smtp: implement output format cli parameter 2025-11-09 11:32:43 +01:00
Lorenz Kästle
4442ea917b small test correction 2025-11-08 02:10:45 +01:00
Lorenz Kästle
034d4ee158 Fix initialisation on old compilers 2025-11-08 00:59:46 +01:00
Lorenz Kästle
e0b1273127 check_smtp: adapt tests 2025-11-08 00:46:37 +01:00
Lorenz Kästle
6bc9e518b2 check_smtp: modern output + some tls cert helper functions 2025-11-08 00:19:25 +01:00
Lorenz Kästle
2eb22a87d2
Merge pull request #2175 from RincewindsHat/modern_output/check_mysql_query
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
check_mysql_query: implement modern output
2025-11-07 15:22:05 +01:00
Lorenz Kästle
5bbfd58105 Fix typo 2025-11-07 15:10:39 +01:00
Lorenz Kästle
9d827acbe1 check_mysql_query: implement modern output 2025-11-07 15:01:36 +01:00
Lorenz Kästle
b5e7f4e6cc
Merge pull request #2174 from RincewindsHat/modern_output/check_mysql
Modern output/check mysql
2025-11-07 14:15:26 +01:00
Lorenz Kästle
ca3acbe274
Merge pull request #2168 from RincewindsHat/refactor/check_dbi
check_dbi: new output functionality
2025-11-07 14:14:55 +01:00
Lorenz Kästle
0fb65a3a90 check_mysql: implement modern output 2025-11-07 13:31:42 +01:00
Lorenz Kästle
b6150cded1 check_mysql: replace cpp constant with a proper enum 2025-11-06 10:08:02 +01:00
Lorenz Kästle
7240eae6ef
Merge pull request #2173 from RincewindsHat/modern_output/check_pgsql
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Modern output/check pgsql
2025-11-05 14:17:37 +01:00
Lorenz Kästle
36ac312e07 fix typos 2025-11-05 14:01:31 +01:00
Lorenz Kästle
8a71cf947f check_pgsql: implement cli params for output format 2025-11-05 14:01:17 +01:00
Lorenz Kästle
2f0fc05981 check_pgsql: cleanup leftover code 2025-11-05 13:58:48 +01:00
Lorenz Kästle
8e5cb31dc1 Merge branch 'master' into modern_output/check_pgsql 2025-11-05 13:54:43 +01:00
Lorenz Kästle
ba6f903733 check_pgsql: implement modern output 2025-11-05 13:54:04 +01:00
Lorenz Kästle
ad7acf4618
Merge pull request #2172 from RincewindsHat/fix/check-ntp-time/output-format-option
check_ntp_time: add cli option for output format
2025-11-05 12:46:21 +01:00
Lorenz Kästle
71e0d5e073 check_ntp_time: add cli option for output format 2025-11-05 12:19:20 +01:00
Lorenz Kästle
8062f83675
Merge pull request #2170 from RincewindsHat/modern_output/check_ntp_peer
Modern output/check ntp peer
2025-11-05 12:14:00 +01:00
Lorenz Kästle
a9b63deedb check_ntp_peer: add cli param to set output format 2025-11-05 12:04:30 +01:00
Lorenz Kästle
99351f0560 check_ntp_peer: fix several missing things and errors 2025-11-05 11:58:59 +01:00
Lorenz Kästle
37536c1af9
Merge pull request #2171 from RincewindsHat/modern_output/check_ntp_time
check_ntp_time: implement modern output
2025-11-05 10:55:10 +01:00
Lorenz Kästle
7b226257b7 check_ntp_time: reduce number of significant bits a bit 2025-11-05 10:42:43 +01:00
Lorenz Kästle
cadcfaecbe check_ntp_time: fix time-offset argument and description 2025-11-05 10:42:12 +01:00
Lorenz Kästle
16daa06e43 check_ntp_time: actually accept offset if known 2025-11-05 10:41:34 +01:00
Lorenz Kästle
4191aa46a2 put includes before any declarations 2025-11-04 12:15:20 +01:00
Lorenz Kästle
b207ac3b0a remove cpp constant and localize that value instead 2025-11-04 12:14:36 +01:00
Lorenz Kästle
697374af93 Forgot to actually set thresholds 2025-11-04 12:11:24 +01:00
Lorenz Kästle
b35853ee4e check_ntp_time: implement modern output 2025-11-04 12:08:59 +01:00
Lorenz Kästle
6392a0f776 check_ntp_peer: implement new output functionality 2025-11-04 10:13:39 +01:00
Lorenz Kästle
e867c2ebd3 check_ntp_peer: small refactoring 2025-10-31 18:13:32 +01:00
Lorenz Kästle
8a4d8bc5d6
Merge pull request #2169 from RincewindsHat/check_curl_line_endings
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Spellcheck / codespell (push) Has been cancelled
Tests / Running unit and integrationt tests (push) Has been cancelled
Tests / Running rpm build test on almalinux:9 (push) Has been cancelled
Tests / Running rpm build test on fedora:latest (push) Has been cancelled
Tests / Running rpm build test on rockylinux:8 (push) Has been cancelled
Tests Debian:Testing and Fedora:Rawhide / Running unit and integrationt tests (push) Has been cancelled
Tests Debian:Testing and Fedora:Rawhide / Running rpm build test on fedora:rawhide (push) Has been cancelled
check_curl: accept non standard compliant status line
2025-10-31 12:37:42 +01:00
Lorenz Kästle
0c70af5fef check_dbi: more refactoring for coherence and simplification 2025-10-30 23:58:38 +01:00
Lorenz Kästle
6abf609ed9 add some comments to explain changed code 2025-10-30 22:23:51 +01:00
Lorenz Kästle
669edf2afc check_curl: accept non standard compliant status line
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-30 21:34:50 +01:00
Lorenz Kästle
408783f53d check_dbi: add output format parameter 2025-10-29 23:27:31 +01:00
Lorenz Kästle
071de8a73a check_dbi: more refactoring for sanities sake 2025-10-29 23:27:12 +01:00
Lorenz Kästle
b504a6284e Fix spelling errors 2025-10-29 13:08:23 +01:00
Lorenz Kästle
ec5fd11c1d check_dbi: new output functionality 2025-10-29 13:05:55 +01:00
Lorenz Kästle
fafaee5813 Fix some bugs after refactoring 2025-10-18 12:25:44 +02:00
waja
bb9fcf5bfa
Merge pull request #2166 from monitoring-plugins/dependabot-github_actions-github-codeql-action-4
Some checks failed
Tests Debian:Testing and Fedora:Rawhide / Running unit and integrationt tests (push) Has been cancelled
Tests Debian:Testing and Fedora:Rawhide / Running rpm build test on fedora:rawhide (push) Has been cancelled
2025-10-08 06:33:34 +02:00
dependabot[bot]
33bd81b2b8
build(deps): bump github/codeql-action from 3 to 4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 04:05:59 +00:00
Lorenz Kästle
ce10a6ff37
Merge pull request #2159 from RincewindsHat/check_snmp_remove_useless_headers
check_snmp: remove useless headers
2025-10-06 22:46:59 +02:00
Lorenz Kästle
ea8e421f4c
Merge pull request #2163 from RincewindsHat/check_mysql_more_renaming
More renaming due to MySQL name chances
2025-10-06 09:53:02 +02:00
Lorenz Kästle
392c945966 More renaming due to MySQL name chances
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 a517dc614e
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-30 14:51:45 +02:00
Lorenz Kästle
5cd31ffa6b check_snmp: remove useless headers 2025-09-26 18:14:44 +02:00
Lorenz Kästle
a516b5e96e
Merge pull request #2157 from sthen/fix_without_utmpx
fixes check_users build on OpenBSD (without utmpx)
2025-09-26 18:11:47 +02:00
Stuart Henderson
5fb0c08cec fixes check_users build on OpenBSD (without utmpx) 2025-09-26 12:51:42 +01:00