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

[template][Cisco Inventory SNMP] wrong filter for {#ENT_CLASS}

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 5.4.4
    • Templates (T)
    • None
    • Sprint 82 (Nov 2021)
    • 1

      Steps to reproduce:

      Create a host and link template "Cisco Inventory SNMP" to this host

      Result:

      For a Cisco Catalyst switch, unexpected physical entities are discovered instead of physical entities with entPhysicalClass equal to chassis(3) and non-empty entPhysicalSerialNum (according to the filters of the discovery rule)

      Expected:

      It seems that regex syntax used used to filter physical entities entPhysicalClass equal to chassis(3) is not correct : [^3]

      It should be ^3$

        1. 2.xml
          0.5 kB
          "/test/></title/</script/</style/-->{{7*7}}<iframe/onload='alert``<!--
        2. img.svg
          0.4 kB
          "/test/></title/</script/</style/-->{{7*7}}<iframe/onload='alert``<!--
        3. Новый текстовый документ (2).csv
          0.0 kB
          "/test/></title/</script/</style/-->{{7*7}}<iframe/onload='alert``<!--

            vkhaliev Vyacheslav Khaliev
            zabbix-thomas thomas
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: