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
As of now, for a host group to be created, at least one host must exist with one of the host group's site admin addresses assigned to it. This makes it impossible to pre-emptively create host groups before hosts have been created/assigned.
To change this, we need to refactor some of the code in ZabbixHostgroupUpdater.do_update():
Specifically the bit around creating groups when fetching the Zabbix group ID for a specific group. We could likely just loop through all groups and create them before we assign them to hosts.
The text was updated successfully, but these errors were encountered:
As of now, for a host group to be created, at least one host must exist with one of the host group's site admin addresses assigned to it. This makes it impossible to pre-emptively create host groups before hosts have been created/assigned.
To change this, we need to refactor some of the code in
ZabbixHostgroupUpdater.do_update()
:zabbix-auto-config/zabbix_auto_config/processing.py
Lines 1072 to 1079 in 2650598
Specifically the bit around creating groups when fetching the Zabbix group ID for a specific group. We could likely just loop through all groups and create them before we assign them to hosts.
The text was updated successfully, but these errors were encountered: