mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-13 23:27:32 -06:00
updated README for multiple hostgoups
This commit is contained in:
parent
b62e8203b6
commit
a7a79ea81e
10
README.md
10
README.md
@ -175,13 +175,14 @@ used:
|
|||||||
| ------------ | ------------------------ |
|
| ------------ | ------------------------ |
|
||||||
| location | The device location name |
|
| location | The device location name |
|
||||||
| manufacturer | Device manufacturer name |
|
| manufacturer | Device manufacturer name |
|
||||||
|
| rack | Rack |
|
||||||
|
|
||||||
**Only for VMs**
|
**Only for VMs**
|
||||||
|
|
||||||
| name | description |
|
| name | description |
|
||||||
| ------------ | --------------- |
|
| ------------ | --------------- |
|
||||||
| cluster | VM cluster name |
|
| cluster | VM cluster name |
|
||||||
| cluster_type | VM cluster type |
|
| device | parent device |
|
||||||
|
|
||||||
You can specify the value seperated by a "/" like so:
|
You can specify the value seperated by a "/" like so:
|
||||||
|
|
||||||
@ -189,6 +190,13 @@ You can specify the value seperated by a "/" like so:
|
|||||||
hostgroup_format = "tenant/site/dev_location/role"
|
hostgroup_format = "tenant/site/dev_location/role"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can also provice a list of groups like so:
|
||||||
|
|
||||||
|
```python
|
||||||
|
hostgroup_format = ["region/site_group/site", "role", "tenant_group/tenant"]
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
**Group traversal**
|
**Group traversal**
|
||||||
|
|
||||||
The default behaviour for `region` is to only use the directly assigned region
|
The default behaviour for `region` is to only use the directly assigned region
|
||||||
|
Loading…
Reference in New Issue
Block a user