Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23543

Erroneous variable {#IFALIAS} used in template_net_generic_snmp

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 6.0.22, 7.0.0alpha7
    • Templates (T)
    • None

      Steps to reproduce:

       

      1. Use template_net_generic_snmp
      2. Check interface tags

      Result:

      All interfaces have unresolved variable name {#IFALIAS} as tag

      Expected:

      I expected resolved variable => text in the tag or no tag at al.

      It appears somebody else hit this problem but that ticket was closed.
      https://support.zabbix.com/browse/ZBX-20532

      The discovery does NOT discover/fetch {#IFALIAS}
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/net/generic_snmp/template_net_generic_snmp.yaml?at=refs%2Fheads%2Frelease%2F6.0#302

                snmp_oid: 'discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFNAME},1.3.6.1.2.1.2.2.1.2,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]'
       

      Therefore all interfaces get description:{#IFALIAS} tag.

      It seems to be same in master;
      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/net/generic_snmp/template_net_generic_snmp.yaml#305

      It seems to be a simple bug?

            drasikhov Denis Rasikhov
            yurtesen Evren Yurtesen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: