diff --git a/README.md b/README.md index 6e045f8..d7f514d 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ The format can be set with the `hostgroup_format` variable. Make sure that the Zabbix user has proper permissions to create hosts. The hostgroups are in a nested format. This means that proper permissions only need to be applied to the site name hostgroup and cascaded to any child hostgroups. -#### layout +#### Layout The default hostgroup layout is "site/manufacturer/device_role". **Variables** @@ -120,11 +120,12 @@ You can specify the value like so, sperated by a "/": hostgroup_format = "tenant/site/dev_location/dev_role" ``` **Group traversal** + The default behaviour for `region` is to only use the directly assigned region in the rendered hostgroup name. However, by setting `traverse_region` to `True` in `config.py` the script will render a full region path of all parent regions for the hostgroup name. `traverse_site_groups` controls the same behaviour for site_groups. -**custom fields** +**Custom fields** You can also use the value of custom fields under the device object.