Minor doc updates

This commit is contained in:
Raymond Kuiper 2025-02-17 12:57:57 +01:00
parent f9453cc23c
commit fd70045c6d

View File

@ -358,7 +358,7 @@ templates_config_context_overrule = True
You can choose to use NetBox as a source for Host usermacros by You can choose to use NetBox as a source for Host usermacros by
enabling the following option in the configuration file: enabling the following option in the configuration file:
``` ```python
usermacro_sync = True usermacro_sync = True
``` ```
@ -388,6 +388,7 @@ Through this method, it is possible to define the following types of usermacros:
The default macro type is text if no `type` and `value` have been set. The default macro type is text if no `type` and `value` have been set.
It is also possible to create usermacros with It is also possible to create usermacros with
[context](https://www.zabbix.com/documentation/7.0/en/manual/config/macros/user_macros_context). [context](https://www.zabbix.com/documentation/7.0/en/manual/config/macros/user_macros_context).
Examples: Examples:
```json ```json
@ -443,6 +444,7 @@ for devices and/or virtual machines in the configuration file.
This method only supports `text` type usermacros. This method only supports `text` type usermacros.
For example: For example:
```python ```python
usermacro_sync = True usermacro_sync = True
device_usermacro_map = {"serial": "{$HW_SERIAL}", device_usermacro_map = {"serial": "{$HW_SERIAL}",