mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 12:12:57 -06:00
Updated docs
This commit is contained in:
parent
98c13919c5
commit
3910e0de2d
11
README.md
11
README.md
@ -212,6 +212,17 @@ 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
|
for the hostgroup name. `traverse_site_groups` controls the same behaviour for
|
||||||
site_groups.
|
site_groups.
|
||||||
|
|
||||||
|
**Hardcoded text**
|
||||||
|
|
||||||
|
You can add hardcoded text in the hostgroup format by using quotes, this will
|
||||||
|
insert the literal text:
|
||||||
|
|
||||||
|
```python
|
||||||
|
hostgroup_format = "'MyDevices'/location/role"
|
||||||
|
```
|
||||||
|
|
||||||
|
In this case, the prefix MyDevices will be used for all generated groups.
|
||||||
|
|
||||||
**Custom fields**
|
**Custom fields**
|
||||||
|
|
||||||
You can use the value of custom fields for hostgroup generation. This allows
|
You can use the value of custom fields for hostgroup generation. This allows
|
||||||
|
Loading…
Reference in New Issue
Block a user