Updated documentation

Updated documentation with the implementation of #14
This commit is contained in:
Twan K 2021-10-01 16:05:16 +02:00 committed by GitHub
parent c19707740b
commit 90a472f761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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