diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-21 14:33:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 14:33:24 +0100 |
commit | 75658bd04d84d037dbcc9fafd9f7860555ac4836 (patch) | |
tree | 6b50ee39401c68a27757abac785c931bd82ae02d /plugins/common.h | |
parent | b38dec3e9b45efa6a6631acc38ada853e69fc547 (diff) | |
parent | 7c8c9d9b3e7bb6c29d82788d05d74e3f18f01aa5 (diff) | |
download | monitoring-plugins-75658bd0.tar.gz |
Merge pull request #2064 from RincewindsHat/feature/new_output_infra
Feature/new output infra
Diffstat (limited to 'plugins/common.h')
-rw-r--r-- | plugins/common.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/common.h b/plugins/common.h index b7a7d59b..603bae55 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -32,6 +32,7 @@ | |||
32 | #define _COMMON_H_ | 32 | #define _COMMON_H_ |
33 | 33 | ||
34 | #include "config.h" | 34 | #include "config.h" |
35 | #include "../lib/monitoringplug.h" | ||
35 | 36 | ||
36 | #ifdef HAVE_FEATURES_H | 37 | #ifdef HAVE_FEATURES_H |
37 | #include <features.h> | 38 | #include <features.h> |
@@ -179,14 +180,6 @@ enum { | |||
179 | }; | 180 | }; |
180 | 181 | ||
181 | enum { | 182 | enum { |
182 | STATE_OK, | ||
183 | STATE_WARNING, | ||
184 | STATE_CRITICAL, | ||
185 | STATE_UNKNOWN, | ||
186 | STATE_DEPENDENT | ||
187 | }; | ||
188 | |||
189 | enum { | ||
190 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ | 183 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ |
191 | MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ | 184 | MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ |
192 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ | 185 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ |