mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2026-01-19 10:08:52 -06:00
Added support for hardcoded strings in hostgroups
This commit is contained in:
@@ -160,6 +160,7 @@ def verify_hg_format(
|
||||
if (
|
||||
hg_object not in allowed_objects[hg_type]
|
||||
and hg_object not in allowed_objects["cfs"][hg_type]
|
||||
and not hg_object.startswith(('"',"'"))
|
||||
):
|
||||
e = (
|
||||
f"Hostgroup item {hg_object} is not valid. Make sure you"
|
||||
|
||||
Reference in New Issue
Block a user