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 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 */ |