Module: check_mk
Branch: master
Commit: 05701243d5ee4113404b8b9d34f6eb8ad001f848
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=05701243d5ee41…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jan 30 12:53:36 2017 +0100
minor cleanup
Change-Id: I283b7fd899037c95eb15f2f2d0e1363ee8df7d6c
---
checks/cisco_power | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/cisco_power b/checks/cisco_power
index 05b0125..115dc4a 100644
--- a/checks/cisco_power
+++ b/checks/cisco_power
@@ -73,9 +73,9 @@ def check_cisco_power(item, no_params, info):
if cisco_sensor_item(textinfo, sid) == item or\
cisco_sensor_item(textinfo, sid)+" "+sid == item or\
cisco_sensor_item(textinfo, sid)+"/"+sid == item:
- state = int(state)
+ state = int(state)
source = int(source)
- output = 'state: %s, source: %s' % \
+ output = 'Status: %s, Source: %s' % \
(cisco_power_states[state], cisco_power_sources[source])
if state == 1:
return 0, "%s" % output