From 0645c9fc2c7f801ba3c7d68a17c137a63ada299f Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Tue, 18 Feb 2025 21:58:34 +0100 Subject: Implement new output functionality --- plugins/common.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'plugins/common.h') 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 @@ #define _COMMON_H_ #include "config.h" +#include "../lib/monitoringplug.h" #ifdef HAVE_FEATURES_H #include @@ -184,14 +185,6 @@ enum { ERROR = -1 }; -enum { - STATE_OK, - STATE_WARNING, - STATE_CRITICAL, - STATE_UNKNOWN, - STATE_DEPENDENT -}; - enum { DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ -- cgit v1.2.3-74-g34f1