Low Level Detection fails when using dynamic indexes where the ifDescr has a double quote.

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Critical
    • 2.0.0rc1
    • Affects Version/s: 1.9.9 (beta)
    • Component/s: Server (S)
    • Environment:
      Slackware linux

      While using low level discovery I used
      ifInOctets["index","ifDescr","

      {#SNMPVALUE}"]
      for the OID and
      ifInOctets["{#SNMPVALUE}

      "]
      for both the key and name.

      This generates an item like this:

      ifInOctets["index", "ifDescr", "1/2/7, 10/100/Gig Ethernet SFP, "to 7705-1.lnbg GE1/1/7 PathC via CRMT""]

      However it's not a valid item because the " isn't escaped so zabbix marks the item as Not_supported. It should generate:

      ifInOctets["1/2/7, 10/100/Gig Ethernet SFP, \"to 7705-1.lnbg GE1/1/7 PathC via CRMT\""]

      I marked this as major because it totally breaks the ability to use lld on many of our routers.

      Let me know if you need more information.

            Assignee:
            Unassigned
            Reporter:
            Matthew Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: