Commit graph

81 commits

Author SHA1 Message Date
Lorenz Kästle
7484fcc260 Fix PS_FORMAT 2026-01-09 14:08:41 +01:00
Alvar Penning
59d7d1c2f1
configure.ac: Fix PostgreSQL Check for OpenBSD
On OpenBSD, crypt is named crypto. This diff is a portable version of a
patch residing in the OpenBSD ports since ages.

1f15238782/net/monitoring-plugins/patches/patch-configure_ac
2025-12-11 21:05:49 +01:00
Lorenz Kästle
30a9908d8d
Remove check_nt (#2195)
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Spellcheck / codespell (push) Waiting to run
Tests / Running unit and integrationt tests (push) Waiting to run
Tests / Running rpm build test on almalinux:9 (push) Waiting to run
Tests / Running rpm build test on fedora:latest (push) Waiting to run
Tests / Running rpm build test on rockylinux:8 (push) Waiting to run
check_nt was used to connect NSclient++ on windows, both the method
and the target are pretty much dead.
Therefor check_nt gets removed.
2025-12-03 22:39:19 +01:00
Lorenz Kästle
ebc2415330 check_snmp: fix DES availability detection(?) 2025-08-28 13:14:29 +02:00
Lorenz Kästle
b65f94fe0e Remove testing for SNMPGETNEXT from autotools stuff 2025-08-28 11:24:16 +02:00
Lorenz Kästle
882ef5015f Merge branch 'master' into refactor/check_procs 2025-06-28 09:53:59 +02:00
Lorenz Kästle
88683af1da Implement autoconf logic for fping version detection 2025-06-11 17:09:27 +02:00
Lorenz Kästle
1187374e74 Remove unused FPING6 variable 2025-06-11 13:11:04 +02:00
William
1fb9300a2f Remove un-needed flags 2025-05-07 13:17:47 +10:00
Lorenz Kästle
59e0a258f9 Migrate disk tests from lib, tool 2025-03-18 15:57:44 +01:00
Lorenz Kästle
16c3e24993 check_procs: general refactoring 2025-03-12 14:53: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
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
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
3faeed07c4 Merge branch 'master' into check_swap_again 2024-11-02 13:37:39 +01:00
Jan Wagner
316ab98e7d Update version to new git version 2024-07-24 22:25:37 +02:00
Jan Wagner
0b2fc15209 Update version for release 2024-07-23 19:26:58 +00:00
RincewindsHat
c9cfe677a7 Remove gettext stuff from main configure.ac 2023-12-20 10:02:47 +01:00
RincewindsHat
6fcbbaafc4 Implement first unit test for check_swap 2023-12-20 10:02:47 +01:00
RincewindsHat
2dec5182c5 check_swap: refactor to improve readability 2023-12-20 10:02:47 +01:00
Jan Wagner
40370b8ff0 Removing translation files
Unfortunately there is very less coverage of the translations and
was not very much contribution recently this area.
On the other side, maintaing the po files consumes a significant effort.
For now we drop the translation files, but we can revert this change
anytime in the future.
2023-10-31 02:17:38 +01:00
Jan Wagner
4276469994 Change versions back to git 2023-10-17 17:58:36 +02:00
Jan Wagner
0d0b044c6d Prepare release 2.3.4 2023-10-17 17:56:06 +02:00
Lorenz Kästle
dbd49978af
Update configure.ac
Co-authored-by: waja <waja@users.noreply.github.com>
2023-10-13 01:38:42 +02:00
Lorenz Kästle
60ecb14b7c
Merge branch 'master' into autoconf_fix 2023-09-30 22:55:35 +02:00
RincewindsHat
bc2d1e4b5e Somehow this fixes detection of the availability of struct timeval for me 2023-09-23 21:41:50 +02:00
RincewindsHat
513929d796 Remove check for RETSIGTYPE in autoconf stuff
autoupdate tells me, that since C89 I can safely assume RETSIGTYPE
is void.

Therefore to simplify things I removed the corresponding configure.ac
line and replaced all mentions of RETSIGTYPE with void.
2023-09-23 12:31:33 +02:00
Thorsten Kukuk
801784ae89 check_users: prefer systemd-logind over utmp
Prefer systemd-logind over utmp to get the number of logged in users.
utmp is not reliable for this (e.g. some terminals create utmp entries,
other not) and utmp is not Y2038 safe with glibc on Linux.
2023-08-28 14:55:56 +02:00
Lorenz Kästle
a359667f2b Changing remaining sscanf format specifier to unsigned long 2023-04-26 18:19:23 +02:00
Jan Wagner
0f3703e641 Fix a lot of typos reported by codespell 2023-04-14 18:35:00 +00:00
RincewindsHat
393bd16d2e Set autoconf prerequisite version to 2.64 2023-01-31 14:46:37 +01:00
Lorenz
1ec6b162cb
Replace egrep with grep -E (#1791)
Replace egrep with grep -E to avoid the deprecation warnings
2022-10-07 11:44:47 +02:00
Lorenz
5943528121
Use silent automake by default (#1747) 2022-02-01 09:57:50 +01:00
Sven Nierlein
282ccd4a8b check_procs: improve ps args autodetection
one of the first ps commands in the configure.ac is `axwo 'stat comm vsz rss user uid pid ppid args'` which
works on most modern linux systems (checked debian 10/11 and centos 7/8). But this test misses the etime
argument. Therefore `check_procs --metric=ELAPSED` does not work.

To fix this, we simply do the same test including etime before that one.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
2021-11-01 13:35:11 +01:00
Jan Wagner
bcedcee206 New version number for git 2020-12-09 22:48:44 +01:00
Jan Wagner
233251f43b Updating version number 2020-12-09 14:10:53 +01:00
Sven Nierlein
53e6f2970d Merge branch 'upstream' into check_curl 2020-05-15 11:46:54 +02:00
ghciv6
4264e7a6ed - workaround for issue #1550
- better use "ping -4" instead of "ping" if supported
2020-04-14 12:37:00 +02:00
Andreas Baumann
0d5fe4c35e remove obsolete AM_CONDITIONAL([WITH_CHECK_CURL]) 2019-09-07 11:19:32 +02:00
Andreas Baumann
2f4d6764d7 Merge branch 'master' into feature_check_curl 2019-04-04 13:09:15 +02:00
Sven Nierlein
b2f7eca374 check_curl: fix builds if curl is not enabled 2018-10-24 10:09:02 +02:00
Sven Nierlein
7061a76f89 builds: alway put picohttpparser into the dist tarball
substituting PICOHTTPPARSER_DIR only when curl gets build, leads
to different dist tarballs depending on wether libcurl was available
or not. This then breaks later builds from this tarball because of
the missing files.
2018-10-24 09:54:20 +02:00
Sven Nierlein
7a46c98f83 check_curl: do not build check_curl if curllibs are missing 2018-10-24 09:17:16 +02:00
Sven Nierlein
ac45ad31c6 check_curl: enable by default if all requirements are met 2018-10-23 09:35:51 +02:00
Andreas Baumann
d6491ba403 removed embedded uriparser library, added --with-uriparser configure option
to use uriparser library from the system
2018-10-22 16:30:31 +02:00
Andreas Baumann
00cb1408ad fixed redirect sticky port handling in redir 2018-10-22 16:30:31 +02:00
Andreas Baumann
a739a56148 some rework:
- added old style 'redir' function and options along to a new
  libcurl internal 'follow' parameter 'curl'
- moved picohttpparser to it's own subdirectory
- added uriparser to be used instead of the home-grown parser in
  'redir'
2018-10-22 16:30:31 +02:00