diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 14:23:54 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-19 14:23:54 +0100 |
| commit | bd2611685f28f877e1f2b01ec2af3435c56d836f (patch) | |
| tree | b0347ef72a21dec3e4a05a045d41f752ba0d1519 /plugins | |
| parent | ec18b80cdbdc2c4c1e7eb587e251177e8cc7ca11 (diff) | |
| parent | e23325f7c3b34d8950cf27e9ab23af362d0b341b (diff) | |
| download | monitoring-plugins-bd261168.tar.gz | |
Merge branch 'master' into feature/new_output_infra
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/check_http.c | 2 | ||||
| -rw-r--r-- | plugins/common.h | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 97c0e39a..baff682a 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
| @@ -1805,7 +1805,7 @@ print_help (void) | |||
| 1805 | printf (" %s\n", "--invert-regex"); | 1805 | printf (" %s\n", "--invert-regex"); |
| 1806 | printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)")); | 1806 | printf (" %s\n", _("Return STATE if found, OK if not (STATE is CRITICAL, per default)")); |
| 1807 | printf (" %s\n", _("can be changed with --state--regex)")); | 1807 | printf (" %s\n", _("can be changed with --state--regex)")); |
| 1808 | printf (" %s\n", "--regex-state=STATE"); | 1808 | printf (" %s\n", "--state-regex=STATE"); |
| 1809 | printf (" %s\n", _("Return STATE if regex is found, OK if not\n")); | 1809 | printf (" %s\n", _("Return STATE if regex is found, OK if not\n")); |
| 1810 | 1810 | ||
| 1811 | printf (" %s\n", "-a, --authorization=AUTH_PAIR"); | 1811 | printf (" %s\n", "-a, --authorization=AUTH_PAIR"); |
diff --git a/plugins/common.h b/plugins/common.h index 47b1e4df..603bae55 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
| @@ -91,16 +91,10 @@ | |||
| 91 | # define GET_NUMBER_OF_CPUS() -1 | 91 | # define GET_NUMBER_OF_CPUS() -1 |
| 92 | #endif | 92 | #endif |
| 93 | 93 | ||
| 94 | #ifdef TIME_WITH_SYS_TIME | 94 | #ifdef HAVE_SYS_TIME_H |
| 95 | # include <sys/time.h> | 95 | # include <sys/time.h> |
| 96 | # include <time.h> | ||
| 97 | #else | ||
| 98 | # ifdef HAVE_SYS_TIME_H | ||
| 99 | # include <sys/time.h> | ||
| 100 | # else | ||
| 101 | # include <time.h> | ||
| 102 | # endif | ||
| 103 | #endif | 96 | #endif |
| 97 | #include <time.h> | ||
| 104 | 98 | ||
| 105 | #ifdef HAVE_SYS_TYPES_H | 99 | #ifdef HAVE_SYS_TYPES_H |
| 106 | #include <sys/types.h> | 100 | #include <sys/types.h> |
