Module: check_mk
Branch: master
Commit: c635bd63a58b0cf3572a21ba6f8ef2794c6a9a9c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c635bd63a58b0c…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Tue Dec 6 21:03:39 2016 +0100
Fixed check_bi_local.py to match new naming convention of states
---
doc/treasures/localchecks/check_bi_local.py | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/doc/treasures/localchecks/check_bi_local.py
b/doc/treasures/localchecks/check_bi_local.py
index 1dce31e..72220ea 100755
--- a/doc/treasures/localchecks/check_bi_local.py
+++ b/doc/treasures/localchecks/check_bi_local.py
@@ -24,9 +24,6 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-# NOTE: This file is deprecated and superseeded by check_bi_aggr,
-# which can be configured via WATO now.
-
# Example for creating real Nagios checks from BI aggregations.
# Installation:
@@ -102,10 +99,10 @@ except:
sys.exit(1)
states = {
- "OK" : 0,
- "WARN" : 1,
- "CRIT" : 2,
- "UNKNOWN" : 3,
+ "OK" : 0,
+ "WARN" : 1,
+ "CRIT" : 2,
+ "UNKN" : 3,
}
for name, state, output in data[1:]: