Module: check_mk
Branch: master
Commit: 12fa2300943ea829282ab56cd22a0ca91a41aa34
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=12fa2300943ea8…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jan 11 15:11:10 2017 +0100
states more readable
Change-Id: I0f8fe5e296335d67fb99218617b835609545f4ff
---
checks/sentry_pdu | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/checks/sentry_pdu b/checks/sentry_pdu
index 47b7530..3a6e738 100644
--- a/checks/sentry_pdu
+++ b/checks/sentry_pdu
@@ -32,13 +32,13 @@ def inventory_sentry_pdu(info):
def check_sentry_pdu(item, params, info):
states = {
- 0: "off",
- 1: "on",
- 2: "offWait",
- 3: "onWait",
- 4: "offError",
- 5: "onError",
- 6: "noComm",
+ 0 : "off",
+ 1 : "on",
+ 2 : "off wait",
+ 3 : "on wait",
+ 4 : "off error",
+ 5 : "on error",
+ 6 : "no comm",
}
for name, state, power_str in info: