Ad Widget

Collapse

Usermacro does not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thooge
    Junior Member
    • Mar 2014
    • 10

    #1

    Usermacro does not work

    Hello,

    i have a template for my USVs which i want to monitor with SNMPv3.
    In the items i used usermacros in {$SNMPV3_NAME}, {$SNMPV3_AUTH} and {$SNMPV3_PRIV} for the fields "Security name", "Authentication passphrase" and "Privacy passphrase".

    I assigned the macrovalues at host level.

    All the items are in the state "Not supported" (SNMP error: noAccess). If i change die Macros at host level to the values everything works fine.

    It seems to me that the macros are not replaced.

    My Zabbix Server version is 2.2.3.

    Thomas
  • Dr.Sqaer
    Junior Member
    • May 2012
    • 16

    #2
    Originally posted by thooge
    Hello,

    i have a template for my USVs which i want to monitor with SNMPv3.
    In the items i used usermacros in {$SNMPV3_NAME}, {$SNMPV3_AUTH} and {$SNMPV3_PRIV} for the fields "Security name", "Authentication passphrase" and "Privacy passphrase".

    I assigned the macrovalues at host level.

    All the items are in the state "Not supported" (SNMP error: noAccess). If i change die Macros at host level to the values everything works fine.

    It seems to me that the macros are not replaced.

    My Zabbix Server version is 2.2.3.

    Thomas
    I know that's is a old thread, but in Zabbix v3.4 i also can't use a macros in SNMP_v3 template, i'am getting error if i use macros like a
    Code:
    <snmpv3_securityname>{$test}</snmpv3_securityname>
    It's a bug?

    Comment

    Working...