mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-14 01:41:25 -06:00
Updated documentation
Updated documentation with the implementation of #14
This commit is contained in:
parent
c19707740b
commit
90a472f761
12
README.md
12
README.md
@ -21,7 +21,7 @@ A script to sync the Netbox device inventory to Zabbix.
|
||||
| -p | proxy-power | Force a full proxy sync. USE WITH CAUTION, see "Set proxy within Netbox" for more information |
|
||||
|
||||
#### Logging
|
||||
Logs are generated under sync.log, use -v for debugging.
|
||||
Logs are generated by default to stdout and sync.log, use -v for debugging.
|
||||
|
||||
#### Hostgroups: manual mode
|
||||
|
||||
@ -52,6 +52,16 @@ And this field for the Zabbix template
|
||||
* Default: null
|
||||
* Object: dcim > device_type
|
||||
|
||||
#### Netbox device status
|
||||
By setting a status on a Netbox device you determine how the host is added (or updated) in Zabbix. There are, by default, 3 options:
|
||||
* Delete the host from Zabbix (triggered by Netbox status "Decommissioning" and "Inventory")
|
||||
* Create the host in Zabbix but with a disabled status (Trigger by "Offline", "Planned", "Staged" and "Failed")
|
||||
* Create the host in Zabbix with an enabled status (For now only enabled with the "Active" status)
|
||||
|
||||
You can modify this behaviour by changing the following list variables in the script:
|
||||
- zabbix_device_removal
|
||||
- zabbix_device_disable
|
||||
|
||||
#### Set proxy within Netbox
|
||||
You can set the proxy for a device using the 'proxy' key in config context.
|
||||
```json
|
||||
|
Loading…
Reference in New Issue
Block a user