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

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

    Details

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

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: