diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-18 21:58:34 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-18 21:58:34 +0100 |
| commit | 0645c9fc2c7f801ba3c7d68a17c137a63ada299f (patch) | |
| tree | ce222906f546f03301defba9ce81ba57591a8eb3 /plugins/common.h | |
| parent | 39680498ee0987a5e0eb203a2c0539aa1fa94d39 (diff) | |
| download | monitoring-plugins-0645c9fc2c7f801ba3c7d68a17c137a63ada299f.tar.gz | |
Implement new output functionality
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 */ |
