Module: check_mk
Branch: master
Commit: 1b65daa557031cd6bb8335e7036bded017e14617
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1b65daa557031c…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Feb 11 10:16:12 2014 +0100
Fixed syntax error in cisco_fru_power
---
checks/cisco_fru_power | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/cisco_fru_power b/checks/cisco_fru_power
index 5b66152..9d072eb 100644
--- a/checks/cisco_fru_power
+++ b/checks/cisco_fru_power
@@ -90,10 +90,10 @@ def check_cisco_fru_power(item, params, info):
if oper_state not in (2,4,5,6,7,8,12):
oper_sym = "(!)"
infotext = "Admin-State: %s%s, Oper-State: %s%s" % \
- (admin_state_txt, admin_sym, oper_state_txt, oper_sym))
+ (admin_state_txt, admin_sym, oper_state_txt, oper_sym)
return (state, infotext)
- return (3, "item not found in snmp data")
+ return (3, "item not found in SNMP data")
check_info["cisco_fru_power"] = {
'check_function': check_cisco_fru_power,