Module: check_mk
Branch: master
Commit: 368a94879a62bb9db963d205e1b695736d404ab7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=368a94879a62bb…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Tue May 19 09:18:42 2015 +0200
fixed syntax error..
---
checks/mrpe | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/mrpe b/checks/mrpe
index 08ba534..c649f92 100644
--- a/checks/mrpe
+++ b/checks/mrpe
@@ -59,7 +59,7 @@ def check_mrpe(item, params, info):
if line[0] == item:
try:
state = int(line[1])
- else:
+ except:
state = None
# convert to original format by joining and replacing \1 back with \n