You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zac will crash if Zabbix doesn't contain some prerequisites, like the host groups All-auto-disabled-hosts and All-hosts.
Maybe create a simple function that can sanity check Zabbix for all prerequisites upon startup and create a better error log/handle the "crash" in a better way?
The text was updated successfully, but these errors were encountered:
E.g currently it'll just crash with something like:
...
File "zabbix-auto-config/zabbix_auto_config/processing.py", line 391, in disable_host
disabled_hostgroup_id = self.api.hostgroup.get(filter={"name": self.config.hostgroup_disabled})[0]["groupid"]
IndexError: list index out of range
2023-03-17T15:36:12+0100 ERROR [MainProcess 183722] [root] A child has died: zabbix-host-updater. Exiting
...
Zac will crash if Zabbix doesn't contain some prerequisites, like the host groups
All-auto-disabled-hosts
andAll-hosts
.Maybe create a simple function that can sanity check Zabbix for all prerequisites upon startup and create a better error log/handle the "crash" in a better way?
The text was updated successfully, but these errors were encountered: