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

SNMP Discovery can not parse OID

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.2.2
    • Templates (T)

      Hi,

      We have an old network device and want to monitor that using snmp discovery.
      Our environment is CENTOS 7.2.1511 and ZABBIX 3.2.1.

      MIB file(let’s call that XX-MIB.txt) belongs to that device was added to default MIB directory.
      I have written an example with respect to that MIB file. These are the details under “dpStatusCPUUsage”.
      What I mean is that I can reach these details using
      “snmpwalk –v 2c 1.1.1.1 XX-MIB:: dpStatusCPUUsage”

      dpStatusCPUUsagetenseconds.0
      dpStatusCPUUsagetenminutes.0
      dpStatusCPUUsageoneseconds.0
      dpStatusCPUUsageoneminutes.0

      However, if we use that in Zabbix Discovery using command “discovery[{#SNMPVALUE},XX-MIB::dpStatusCPUUsage]”, we can not parse these values using {#SNMPINDEX} parameter on ITEM Prototype(We write the SNMP OID part like XX-MIB::dpStatusCPUUsage{#SNMPINDEX}). It thinks that first character is “.” and I should omit that character so that the result is :

      dpStatusCPUUsageenseconds.0
      dpStatusCPUUsageenminutes.0
      dpStatusCPUUsageneseconds.0
      dpStatusCPUUsageneminutes.0

      That is, the first characters on the index is missing.

      Is there any way to solve that problem?

            viktors.tjarve Viktors Tjarve
            zabbixm zabbixm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: