diff --git a/README.md b/README.md index 041c60d..32b55fd 100644 --- a/README.md +++ b/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