Module: check_mk
Branch: master
Commit: d161aa0ae1dfd997a616f90fd86064b0ba875324
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d161aa0ae1dfd9…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jun 13 14:21:33 2016 +0200
3636 FIX juniper_fru: fixed present state handling
---
.werks/3636 | 10 ++++++++++
ChangeLog | 2 +-
checks/juniper_fru | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/3636 b/.werks/3636
new file mode 100644
index 0000000..c35430a
--- /dev/null
+++ b/.werks/3636
@@ -0,0 +1,10 @@
+Title: juniper_fru: fixed present state handling
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i1
+Date: 1465820463
+
+
diff --git a/ChangeLog b/ChangeLog
index dcf1a4f..ed8c775 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -266,6 +266,7 @@
* 3643 FIX: Fixed check_mkevents active check....
* 3635 FIX: get_average: fixed overflow error
* 3653 FIX: fileinfo.groups: Fixed UNKNOWN shown in WATO discovery when configured as
manual check
+ * 3636 FIX: juniper_fru: fixed present state handling
Multisite:
* 3187 notification view: new filter for log command via regex
@@ -431,7 +432,6 @@
* 3583 FIX: Fixed loosing some services after saving services in WATO...
* 3588 FIX: BI aggregation: Fixed folding of tag groups in aggregation rules using
host/service searches
* 3620 FIX: Do not longer put SNMP MIB files into WATO snapshots...
- * 3542 FIX: WATO Web API: fixed exception when WATO Git is activated...
Notifications:
* 3263 Notifications: allow users to restrict by their contact groups...
diff --git a/checks/juniper_fru b/checks/juniper_fru
index f8f7f1a..645e294 100644
--- a/checks/juniper_fru
+++ b/checks/juniper_fru
@@ -111,7 +111,7 @@ def check_juniper_fru(item, _no_params, parsed):
map_fru_state = {
"1" : (3, "unknown"),
"2" : (2, "empty"),
- "3" : (0, "present"),
+ "3" : (1, "present"),
"4" : (0, "ready"),
"5" : (0, "announce online"),
"6" : (0, "online"),