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

Same OID used for {#IFNAME} and {#IFDESCR} in Template Net Network Generic Device SNMP

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.42, 6.0.30
    • Templates (T)
    • None

      As you can see here OID for {#IFNAME} and {#IFDESCR} are the same in Zabbix 5.0, 6.0.However in 7.0, It's different.

      7.0
            discovery_rules:
              - uuid: 12e011a176284ab4807c2285768b0470
                name: 'Network interfaces discovery'
                type: SNMP_AGENT
                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,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]'
                key: net.if.discovery
                delay: 1h
                filter:
      

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/net/generic_snmp/template_net_generic_snmp.yaml?at=refs%2Ftags%2F7.0.0

      6.0
            discovery_rules:
              - uuid: 12e011a176284ab4807c2285768b0470
                name: 'Network interfaces discovery'
                type: SNMP_AGENT
                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]'
                key: net.if.discovery
                delay: 1h
                filter:
      

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/net/generic_snmp/template_net_generic_snmp.yaml?at=refs%2Ftags%2F6.0.30

      5.0
                  <discovery_rule>
                     <name>Network interfaces discovery</name>
                     <type>SNMP_AGENT</type>
                     <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]</snmp_oid>
                     <key>net.if.discovery</key>
                     <delay>1h</delay>
                     <filter>
      

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/module/interfaces_simple_snmp/template_module_interfaces_simple_snmp.xml?at=refs%2Ftags%2F5.0.42

      Expected:
      Accurate OID for each Macros

            zit Zabbix Integration Team
            yIn Syusei YIn
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: