Module: check_mk
Branch: master
Commit: dedb1a37c924556ad7ec96686fc9425ad1d003bf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dedb1a37c92455…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Nov 6 11:03:56 2014 +0100
cisco_sensor_item.include: fixed bug
---
checks/cisco_sensor_item.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/cisco_sensor_item.include b/checks/cisco_sensor_item.include
index b188f94..9bdaa18 100644
--- a/checks/cisco_sensor_item.include
+++ b/checks/cisco_sensor_item.include
@@ -32,7 +32,7 @@ def cisco_sensor_item(trial_string, fall_back):
# -> Depends on the device model
try:
# Try to handle all cases found in mkzeug/walks
- splited = [ x.strip for x in trial_string.split(',')]
+ splited = [ x.strip() for x in trial_string.split(',')]
if len(splited) == 1:
item = trial_string
# If the last part contains # or Power, take the complete string