Module: check_mk
Branch: master
Commit: f6c3f2b7949104c7ba99fcc151fc0b58109b9948
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f6c3f2b7949104…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Feb 12 11:52:40 2016 +0100
We need know the state values for CMC compilation.
---
livestatus/src/TableStateHistory.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/livestatus/src/TableStateHistory.cc b/livestatus/src/TableStateHistory.cc
index ee0f79a..acc696b 100644
--- a/livestatus/src/TableStateHistory.cc
+++ b/livestatus/src/TableStateHistory.cc
@@ -50,6 +50,10 @@
#include "Host.h"
#include "Service.h"
#include "Timeperiod.h"
+#define STATE_OK 0
+#define STATE_WARNING 1
+#define STATE_CRITICAL 2
+#define STATE_UNKNOWN 3
#else
#include "auth.h"
#endif