Zabbix Documentation 5.0

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:config:macros:usermacros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:config:macros:usermacros [2020/04/23 12:35]
marinagen [ZBXNEXT-2297] Macros in host prototypes
manual:config:macros:usermacros [2020/04/23 12:46] (current)
marinagen [ZBXNEXT-2297] Adding a screenshot
Line 113: Line 113:
 Use host prototype macro to configure items for discovered hosts: Use host prototype macro to configure items for discovered hosts:
  
-  * on a host prototype define user macro {$SNMPVALUE} with {#​SNMPVALUE} [[:​manual/​config/​macros/​lld_macros|low-level discovery]] macro as a value+  * on a host prototype define user macro {$SNMPVALUE} with {#​SNMPVALUE} [[:​manual/​config/​macros/​lld_macros|low-level discovery]] macro as a value:  
 + 
 +{{:​manual:​config:​macros:​usermacro_example6.png|}} 
   * assign //Template Module Generic SNMPv2// ​ to the host prototype;   * assign //Template Module Generic SNMPv2// ​ to the host prototype;
   * use {$SNMPVALUE} in the //SNMP OID// field of  //Template Module Generic SNMPv2// items.   * use {$SNMPVALUE} in the //SNMP OID// field of  //Template Module Generic SNMPv2// items.