ignore broken plugins that don't return a value at all

This commit is contained in:
Torsten Rehn 2013-12-27 15:02:28 +01:00
parent 3f7932f433
commit fe9aaf4f40

View File

@ -106,7 +106,12 @@ class Munin():
response[multigraph] = {} response[multigraph] = {}
continue continue
try:
key_name, key_value = current_line.split(" ", 1) key_name, key_value = current_line.split(" ", 1)
except ValueError:
# ignore broken plugins that don't return a value at all
continue
if "." in key_name: if "." in key_name:
# Some keys have periods in them. # Some keys have periods in them.
# If so, make their own nested dictionary. # If so, make their own nested dictionary.