Add health delta change to message output
This commit is contained in:
parent
118237a53b
commit
e45b3108a2
|
@ -359,7 +359,7 @@ class MonitoringInstance(object):
|
||||||
for result in sorted(plugin_results, key=lambda x: x.plugin_name):
|
for result in sorted(plugin_results, key=lambda x: x.plugin_name):
|
||||||
if self.config["log_keepalive_plugin_details"]:
|
if self.config["log_keepalive_plugin_details"]:
|
||||||
self.logger.out(
|
self.logger.out(
|
||||||
result.message,
|
result.message + f" [-{result.health_delta}]",
|
||||||
state="t",
|
state="t",
|
||||||
prefix=f"{result.plugin_name} ({result.runtime}s)",
|
prefix=f"{result.plugin_name} ({result.runtime}s)",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue