Output more details on startup
This commit is contained in:
parent
b8aecd9c83
commit
d2b764a2c7
|
@ -317,8 +317,17 @@ class MonitoringInstance(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
if successful_plugins < 1:
|
if successful_plugins < 1:
|
||||||
|
self.logger.out(
|
||||||
|
"No plugins loaded; pvchealthd going into noop loop. Incorrect plugin directory? Fix and restart pvchealthd.",
|
||||||
|
state="e",
|
||||||
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.logger.out(
|
||||||
|
f'{self.logger.fmt_blue}Plugin list:{self.logger.fmt_end} {" ".join(self.all_plugin_names)}',
|
||||||
|
state="i",
|
||||||
|
)
|
||||||
|
|
||||||
# Clean up any old plugin data for which a plugin file no longer exists
|
# Clean up any old plugin data for which a plugin file no longer exists
|
||||||
plugins_data = self.zkhandler.children(
|
plugins_data = self.zkhandler.children(
|
||||||
("node.monitoring.data", self.this_node.name)
|
("node.monitoring.data", self.this_node.name)
|
||||||
|
|
Loading…
Reference in New Issue