ignore broken plugins that don't return a value at all
This commit is contained in:
parent
3f7932f433
commit
fe9aaf4f40
@ -106,7 +106,12 @@ class Munin():
|
|||||||
response[multigraph] = {}
|
response[multigraph] = {}
|
||||||
continue
|
continue
|
||||||
|
|
||||||
key_name, key_value = current_line.split(" ", 1)
|
try:
|
||||||
|
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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user