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

Wrong type conversion of SNMP item

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.4.1
    • Server (S)
    • FreeBSD 10.0-RELEASE
      net-snmp-5.7.2_16

      I have an SNMP item with type of information is Character.
      The value of SNMP OID is integer, ex:

      zabbix:/home/DOMAIN/kbp% snmpwalk -v2c -c public 192.168.20.114 CISCO-VLAN-MEMBERSHIP-MIB::vmVlan.10103
      CISCO-VLAN-MEMBERSHIP-MIB::vmVlan.10103 = INTEGER: 100

      But the value collected by Zabbix is float but stored as character (11 bytes):
      "100.000000"

      In Zabbix 2.2 the value had collected as character/integer:
      "100"

        1. zab1.PNG
          32 kB
          Boris P. Korzun
        2. zab2.PNG
          5 kB
          Boris P. Korzun

            Unassigned Unassigned
            drtr0jan Boris P. Korzun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: