Module: check_mk
Branch: master
Commit: cd7576fb3789ca98139be1b3f1820ddd99e80190
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cd7576fb3789ca…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Mar 16 15:33:04 2017 +0100
4543 FIX cisco_cpu: Fixed too restrictive service discovery
Change-Id: I4533b7a434c360674cb91ec67e06ccea165daab1
---
checks/cisco_cpu | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/cisco_cpu b/checks/cisco_cpu
index 8f5040b..4fc92d2 100644
--- a/checks/cisco_cpu
+++ b/checks/cisco_cpu
@@ -31,8 +31,8 @@ cisco_cpu_default_levels = (80.0, 90.0)
def inventory_cisco_cpu(info):
if info and \
- info[0][0].isdigit() or \
- info[0][1].isdigit():
+ (info[0][0].isdigit() or \
+ info[0][1].isdigit()):
return [( None, 'cisco_cpu_default_levels') ]
def check_cisco_cpu(item, params, info):