Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-1725

Dynamic index lengh on LLD snmp discovery

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.5
    • Server (S)

      For the SNMP LLD the variable

      {#SNMPINDEX} ist just the last id from the OID. It would be better if it is the rest which comes after the defined SNMP OID in the discovery rule. Here is an example:

      Values from snmpwalk -On:
      .1.3.6.1.4.1.2636.3.39.1.4.1.1.2.1.3.5.116.114.117.115.116.5.116.114.117.115.116.14.116.114.117.115.116.45.116.111.45.116.114.117.115.116 = STRING: trust-to-trust
      .1.3.6.1.4.1.2636.3.39.1.4.1.1.2.1.3.5.116.114.117.115.116.7.117.110.116.114.117.115.116.16.116.114.117.115.116.45.116.111.45.117.110.116.114.117.115.116 = STRING: trust-to-untrst

      Values from snmpwalk:
      JUNIPER-JS-POLICY-MIB::jnxJsPolicyName."trust"."trust"."trust-to-trust" = STRING: trust-to-trust
      JUNIPER-JS-POLICY-MIB::jnxJsPolicyName."trust"."untrust"."trust-to-untrust" = STRING: trust-to-untrust

      How it is:
      SNMP OID = .1.3.6.1.4.1.2636.3.39.1.4.1.1.2.1.3{#SNMPINDEX}

      = 116

      {#SNMPVALUE} = trust-to-trust

      How it should be:
      SNMP OID = .1.3.6.1.4.1.2636.3.39.1.4.1.1.2.1.3 {#SNMPINDEX} = 5.116.114.117.115.116.5.116.114.117.115.116.14.116.114.117.115.116.45.116.111.45.116.114.117.115.116{#SNMPVALUE}

      = trust-to-trust

            Unassigned Unassigned
            homeuse Chris K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: