diff options
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 833479ce..47b1e4df 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> |
@@ -185,14 +186,6 @@ enum { | |||
185 | }; | 186 | }; |
186 | 187 | ||
187 | enum { | 188 | enum { |
188 | STATE_OK, | ||
189 | STATE_WARNING, | ||
190 | STATE_CRITICAL, | ||
191 | STATE_UNKNOWN, | ||
192 | STATE_DEPENDENT | ||
193 | }; | ||
194 | |||
195 | enum { | ||
196 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ | 189 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ |
197 | MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ | 190 | MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ |
198 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ | 191 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ |