updated logger message
* the error is not specific to multi_plugin, and can happen with normal plugins * logging the line that caused this error and the plugin name
This commit is contained in:
parent
cd586be931
commit
9c0cc58ab6
@ -109,7 +109,8 @@ class Munin():
|
|||||||
key_name = multigraph_prefix + full_key_name.split(".")[0]
|
key_name = multigraph_prefix + full_key_name.split(".")[0]
|
||||||
response[multigraph][key_name] = key_value
|
response[multigraph][key_name] = key_value
|
||||||
except (KeyError, AttributeError):
|
except (KeyError, AttributeError):
|
||||||
logging.info("plugin multi_graph %s returns invalid data for host %s\n ", multigraph, self.hostname)
|
logging.info("plugin %s returned invalid data [%s] for host"
|
||||||
|
" %s\n", plugin, current_line, self.hostname)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user