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

Zabbix parses SNMP traps incorrectly.

XMLWordPrintable

      Instead of normal message about unmatched trap like this:

        1562:20141117:164856.535 unmatched trap received from [127.0.0.1]: 16:48:55 2014/11/17 PDU INFO:
        notificationtype               TRAP
        version                        0
        receivedfrom                   UDP: [127.0.0.1]:45150->[127.0.0.1]
        errorstatus                    0
        messageid                      0
        community                      public
        transactionid                  1
        errorindex                     0
        requestid                      0
      VARBINDS:
        DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (55) 0:00:00.55
        SNMPv2-MIB::snmpTrapOID.0      type=6  value=OID: IF-MIB::linkUp.0.33
        IF-MIB::linkUp                 type=4  value=STRING: "eth2"
        SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4  value=STRING: "public"
        SNMPv2-MIB::snmpTrapEnterprise.0 type=6  value=OID: IF-MIB::linkUp

      I can see this in Zabbix server/proxy log file:
      1) incorrect trap parsing :

       27097:20141113:170456.632 invalid trap found [NG: "Minor"
       27097:20141113:170549.560 invalid trap found [a Protector"
       27097:20141113:170632.077 invalid trap found [ "public"
       27097:20141113:170635.208 invalid trap found [ue=STRING: "public"
       27097:20141113:170910.306 invalid trap found [Cannot open: ([3] The system cannot find the path specified. ) => not 

      2) lines without details about the unmatched trap:

       28599:20141113:014648.727 unmatched trap received from [10.10.10.10]: 01:46:47 2014/11/13 PDU INFO:
       28599:20141113:014648.743 unmatched trap received from [10.10.10.10]: 01:46:47 2014/11/13 PDU INFO:
       28599:20141113:014718.792 unmatched trap received from [10.10.10.10]: 01:47:17 2014/11/13 PDU INFO:
       28599:20141113:014718.808 unmatched trap received from [10.10.10.10]: 01:47:17 2014/11/13 PDU INFO:

            Unassigned Unassigned
            oleg.ivanivskyi Oleg Ivanivskyi
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: