Lorenz Kästle
d35c43e95f
Revert "Migrate check_users to new ouput infrastructure"
...
This reverts commit 10086edbf03fd807794bcfb3fff626da69a9fdb2.
2025-03-07 23:38:50 +01:00
Lorenz Kästle
53247ae748
netutils.c: clang-format + do NOT print here
2025-03-07 23:38:50 +01:00
Lorenz Kästle
1ba8110da7
check_ssh: adapt tests
2025-03-07 23:38:50 +01:00
Lorenz Kästle
2e9f9ebf7d
check_ssh.c: clang-format
2025-03-07 23:38:50 +01:00
Lorenz Kästle
6428696f31
check_ssh: exit properly if TCP connection fails
2025-03-07 23:38:50 +01:00
Lorenz Kästle
92fb0ec662
check_ssh: add missing break statement
2025-03-07 23:38:50 +01:00
Lorenz Kästle
46683da7b7
check_ssh: fix typo
2025-03-07 23:38:50 +01:00
Lorenz Kästle
ce3eff0908
check_ssh: no more implicit conversion
2025-03-07 23:38:50 +01:00
Lorenz Kästle
b48ec884be
check_ssh: Verify that timeout is a positive integer
2025-03-07 23:38:50 +01:00
Lorenz Kästle
9ea4dbc253
check_ssh: move only time relevant stuff in timeout area
2025-03-07 23:38:50 +01:00
Lorenz Kästle
add5bfb1e4
check_ssh: Move default SSH constant around a bit
2025-03-07 23:38:50 +01:00
Lorenz Kästle
5ee9a5eadd
check_ssh: modify usage string to avoid old call syntax
2025-03-07 23:38:50 +01:00
Lorenz Kästle
ed06df7f34
check_ssh: Migrate to new output infrastructure
2025-03-07 23:38:50 +01:00
Lorenz Kästle
c87bc7eee4
check_ssh: centralize configuration in external header
2025-03-07 23:38:50 +01:00
Lorenz Kästle
fb4f46f93d
Migrate check_users to new ouput infrastructure
2025-03-07 23:38:50 +01:00
Lorenz Kästle
665e2f9130
clang-format
2025-03-07 23:38:50 +01:00
Lorenz Kästle
4173d724a4
Merge pull request #2077 from RincewindsHat/eval_instead_try_tini
...
Just use eval instead of Try::Tiny in tests
2025-03-07 22:39:03 +01:00
Lorenz Kästle
ff8aa20d0e
Just use eval instead of Try::Tiny in tests
2025-03-07 19:29:24 +01:00
Lorenz Kästle
03b09f7ce0
Merge pull request #2076 from RincewindsHat/feature/json_parsing_in_tests
...
Implement JSON output parsing for tests
2025-03-07 18:18:29 +01:00
Lorenz Kästle
f227543178
Use Try::Tiny instead of experimental feature
2025-03-07 18:09:03 +01:00
Lorenz Kästle
18dedf3463
Do not die in tests if JSON Parsing fails
2025-03-07 17:28:36 +01:00
Lorenz Kästle
5ad1c0e821
Implement JSON output parsing for tests
2025-03-07 17:05:02 +01:00
Lorenz Kästle
9e1c72ac15
Merge pull request #2068 from RincewindsHat/check_mysql_replica_check
...
Check mysql replica check
2025-03-07 17:02:55 +01:00
Lorenz Kästle
06fa1036f9
Merge pull request #2072 from RincewindsHat/remove_tinderbox_stuff
...
Remove tinderbox related stuff
2025-02-25 18:15:16 +01:00
Lorenz Kästle
a8466af86c
Remove tinderbox related stuff
...
Tinderbox ist quite dead (and has been for a while now).
Removing the related files.
2025-02-25 18:01:51 +01:00
Lorenz Kästle
be449a0981
Merge pull request #2069 from RincewindsHat/check_by_ssh_missing_options
...
Check by ssh missing options
2025-02-24 21:00:49 +01:00
Lorenz Kästle
3ed6b7cd3e
check_mysql tests: Also exchange slave for replica
2025-02-24 20:55:18 +01:00
Lorenz Kästle
1c0b72e3ff
check_by_ssh: clang-format
2025-02-24 20:32:37 +01:00
Lorenz Kästle
02adcbfa89
check_by_ssh: Remove warning/critical from help
2025-02-24 20:32:19 +01:00
Lorenz Kästle
c08e2bc656
Add libmysqlclient-dev to dependencies
2025-02-24 20:28:05 +01:00
Lorenz Kästle
a517dc614e
Add MySQL server version dectection and adaptive replica query
2025-02-24 19:52:08 +01:00
Lorenz Kästle
97894cdd17
Add check-replica option for check_mysql, deprecate check_slave
...
This commit adds an option "check-replica" to check_mysql which
replaces "check-slave" (which still works).
The changes are introduced to follow the naming scheme of
MySQL/MariaDB, since this was changed there in version 8 (MySQL) or
10.5.1 (MariaDB).
2025-02-24 19:50:34 +01:00
Lorenz Kästle
75658bd04d
Merge pull request #2064 from RincewindsHat/feature/new_output_infra
...
Feature/new output infra
2025-02-21 14:33:24 +01:00
Lorenz Kästle
7c8c9d9b3e
Remove check_swap tests with one-line format
2025-02-21 13:57:17 +01:00
Lorenz Kästle
1d590a0efe
Rename icingaweb2 format to multi-line
2025-02-20 23:52:32 +01:00
Lorenz Kästle
07873c765b
Place output-format help string with the other common ones
2025-02-20 23:49:22 +01:00
Lorenz Kästle
3cd29d86cc
Remove output formats one-line and summary-only
2025-02-20 23:45:13 +01:00
Lorenz Kästle
b8f203ace7
Rename variable check_slave to check_replica
2025-02-20 18:05:36 +01:00
Lorenz Kästle
599c137fd3
clang-format
2025-02-20 17:11:06 +01:00
Lorenz Kästle
b38dec3e9b
Merge pull request #2066 from RincewindsHat/remove_roadmap
...
Remove ROADMAP
2025-02-20 17:03:33 +01:00
Lorenz Kästle
c2919d5fa7
Remove ROADMAP
...
The roadmap file in this repository has not been used for decades.
This commit removes it to avoid confusion.
2025-02-20 16:53:27 +01:00
Lorenz Kästle
a7b3bb968a
Merge pull request #2065 from RincewindsHat/opttest_tool
...
Opttest tool
2025-02-20 16:38:34 +01:00
Lorenz Kästle
0d0f4ee7e3
Add a comment to opttest to explain the purpose
2025-02-19 19:46:37 +01:00
Lorenz Kästle
faacf5525b
Fix wrong exit codes
2025-02-19 19:44:17 +01:00
Lorenz Kästle
b982e12ecf
Fix opttest script
2025-02-19 19:43:40 +01:00
Lorenz Kästle
f7f958eee7
Remove cJSON related part of autoconf, it's just not optional right now
2025-02-19 19:19:54 +01:00
Lorenz Kästle
119e935b6f
Remove errornously commited file
2025-02-19 19:17:16 +01:00
Lorenz Kästle
90b7df9980
Implement JSON serialising of perfdata
2025-02-19 18:28:50 +01:00
Lorenz Kästle
7d37894967
Install libjson-perl in test runner
2025-02-19 17:32:56 +01:00
Lorenz Kästle
24f21473fb
Use asprintf in lib directly instead of xasprintf
2025-02-19 16:59:32 +01:00