Commit graph

4422 commits

Author SHA1 Message Date
Lorenz Kästle
44e4e467c6 Do not print on failed network connections 2025-03-13 00:43:46 +01:00
Lorenz Kästle
d5ed6a2d8f check_tcp: small improvement + output format picker 2025-03-13 00:43:22 +01:00
Lorenz Kästle
554bf3e525 Refactor check_tcp and implement new output format 2025-03-04 11:02:33 +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
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
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
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
Lorenz Kästle
d4274cfdac Ignore generated stuff for vendored stuff in lib 2025-02-19 16:58:05 +01:00
Lorenz Kästle
4ca309dd99 Maybe fix compilation errors 2025-02-19 16:33:08 +01:00
Lorenz Kästle
e6f0bb802c Add new files to EXTRA_DIST 2025-02-19 16:23:37 +01:00
Lorenz Kästle
cb5abf1981 opttest.pl: Move to tools 2025-02-19 14:36:37 +01:00
Lorenz Kästle
73bd77ef84 opttest.pl Fix Perl complaints 2025-02-19 14:36:05 +01:00
Lorenz Kästle
bd2611685f Merge branch 'master' into feature/new_output_infra 2025-02-19 14:23:54 +01:00
Lorenz Kästle
ec18b80cdb Add tests for check_swap with JSON output 2025-02-19 12:07:01 +01:00
Lorenz Kästle
d27e0862a9 Fix previous check_swap tests 2025-02-19 11:57:25 +01:00
Lorenz Kästle
6320a4e953 Fix one-line formatting 2025-02-19 11:50:08 +01:00
Lorenz Kästle
24172ca0e0 Exit with 0 in JSON-format if everything else works 2025-02-19 11:49:43 +01:00
Lorenz Kästle
5acd14fcfb Implement new output functionality for check_swap 2025-02-18 21:58:59 +01:00
Lorenz Kästle
0645c9fc2c Implement new output functionality 2025-02-18 21:58:34 +01:00
Lorenz Kästle
99a978b669
Merge pull request #2062 from orlitzky/snmpgetnext
Require snmpgetnext to build check_snmp
2025-02-17 23:28:54 +01:00
Michael Orlitzky
e6086f597b configure.ac: require snmpgetnext for check_snmp
PATH_TO_SNMPGETNEXT is used unconditionally in plugins/check_snmp.c,
and the build will fail if it is left undefined (that is, if we are
building check_snmp but snmpgetnext was neither found on the user's
PATH or supplied manually).

To avoid this build failure, we now test for snmpgetnext inside the
case for snmpget, and skip check_snmp unless BOTH are found.
2025-02-15 22:58:07 -05:00
Michael Orlitzky
df03c12a2b configure.ac: use AS_IF in net-snmp tests
Not strictly required here, but the AS_IF macro is generally safer
because it handles (often unintentional) AC_REQUIRE calls.
2025-02-15 22:57:55 -05:00
Michael Orlitzky
69296300f6 configure.ac: update net-snmp homepage 2025-02-15 22:57:51 -05:00
Lorenz Kästle
e23325f7c3
Merge pull request #2056 from monitoring-plugins/fix_check_http_state_regex
check_http: fix documentation for --state-regex
2025-01-07 11:36:08 +01:00
Lorenz Kästle
558aca48ed
Merge branch 'master' into fix_check_http_state_regex 2025-01-07 11:25:47 +01:00
Lorenz Kästle
a8ac865e67
Merge pull request #2058 from weiss/update-autoconf
Update configure.ac to Autoconf 2.71 syntax
2025-01-01 23:25:15 +01:00
Holger Weiss
29396a397e configure.ac: Lower required Autoconf version
Revert the bump to requiring Autoconf 2.71, as some of our CI images
don't offer that version yet.  Keep the remaining changes though, as
they should be compatible with Autoconf 2.64.
2024-12-31 12:38:40 +01:00
Holger Weiss
d1455e4e0c Add new Gnulib file to .gitignore 2024-12-31 11:34:01 +01:00
Holger Weiss
b709a4d858 Don't check for TIME_WITH_SYS_TIME
Follow the suggestion made by the autoupdate(1) tool:

| All current systems provide time.h; it need not be checked for.  Not
| all systems provide sys/time.h, but those that do, all allow you to
| include it and time.h simultaneously.

Therefore, include sys/time.h if available, and include time.h
unconditionally.
2024-12-31 11:13:01 +01:00
Holger Weiss
28b4f8dde4 configure.ac: Bump Autoconf to version 2.71
Apply all changes suggested by the autoupdate(1) tool.
2024-12-31 11:07:00 +01:00
Lorenz Kästle
39680498ee
Merge pull request #1976 from RincewindsHat/check_swap_again
Refactor check_swap
2024-12-29 21:23:38 +01:00
Lorenz Kästle
54529b6013 Merge branch 'master' into check_swap_again 2024-12-29 20:10:05 +01:00
Lorenz Kästle
e301a9410d
Merge pull request #2057 from RincewindsHat/fix/test_rpm_build
Fix breakage in rpm build test due to changes in mock
2024-12-29 19:42:47 +01:00