mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Warn maintenance tasks are disabled (#10273)
This commit is contained in:
@ -238,7 +238,10 @@ class Service:
|
||||
info("Poller group {}. Using Python {} and {} locks and queues"
|
||||
.format('0 (default)' if self.config.group == [0] else self.config.group, python_version(),
|
||||
'redis' if isinstance(self._lm, LibreNMS.RedisLock) else 'internal'))
|
||||
info("Maintenance tasks will be run every {}".format(timedelta(seconds=self.config.update_frequency)))
|
||||
if self.config.update_enabled:
|
||||
info("Maintenance tasks will be run every {}".format(timedelta(seconds=self.config.update_frequency)))
|
||||
else:
|
||||
warning("Maintenance tasks are disabled.")
|
||||
|
||||
# Main dispatcher loop
|
||||
try:
|
||||
|
Reference in New Issue
Block a user