From 91796395ef37657bc1955e9edacdf5e8968ae5b1 Mon Sep 17 00:00:00 2001 From: TheNetworkGuy Date: Wed, 24 Jul 2024 15:02:31 +0200 Subject: [PATCH] Fixed readme documentation with inventory settings --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f158c3..210f469 100644 --- a/README.md +++ b/README.md @@ -174,7 +174,7 @@ You can modify this behaviour by changing the following list variables in the sc This script allows you to enable the inventory on managed Zabbix hosts and sync NetBox device properties to the specified inventory fields. To map Netbox information to Netbox inventory fields, set `inventory_sync` to `True`. -You can set the inventory mode to "disabled", "manual" or "automatic" with the inventory_mode variable. +You can set the inventory mode to "disabled", "manual" or "automatic" with the `inventory_mode` variable. See [Zabbix Manual](https://www.zabbix.com/documentation/current/en/manual/config/hosts/inventory#building-inventory) for more information about the modes. Use the `inventory_map` variable to map which NetBox properties are used in which Zabbix Inventory fields. @@ -182,7 +182,7 @@ For nested properties, you can use the '/' seperator. For example, the following map will assign the custom field 'mycustomfield' to the 'alias' Zabbix inventory field: ``` inventory_sync = True -inventory_automatic = True +inventory_mode = "manual" inventory_map = { "custom_fields/mycustomfield/name": "alias"} ``` See `config.py.example` for an extensive example map.