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

SNMP traps log file format incorrect

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.5, 3.2.2
    • Component/s: Appliance (L)
    • Labels:
    • Environment:
      Zabbix virtual appliance v3.0.3

      Description

      SNMP traps log file /var/log/zabbix/snmptrapfmt.log file logs traps in incorrect format with IP address missing, as example below:
      20160709.110724 ZBXTRAP UDP: 0 0 (null) iso.3.6.1.4.1 hello iso.3.6.1.6.3.18.1.4.0 public iso.3.6.1.6.3.1.1.4.3.0 iso.3.6.1.6.3.1.1.5.2

      Zabbix is unable to match trap with any Zabbix hosts (because IP address is missing) and logs it as 'unmatched trap' in /var/log/zabbix/zabbix_server.log
      1016:20160709:111953.858 unmatched trap received from "UDP:": 20160709.111942 0 0 (null) iso.3.6.1.4.1 hello iso.3.6.1.6.3.18.1.4.0 public iso.3.6.1.6.3.1.1.4.3.0 iso.3.6.1.6.3.1.1.5.2

      Believe trap format in the /var/log/zabbix/snmptrapfmt.log should be like below:
      <date_time_stamp> ZBXTRAP <host_IP_address> <trap>

        Attachments

          Activity

            People

            Assignee:
            oleg.ivanivskyi Oleg Ivanivskyi
            Reporter:
            micha66 Micha M
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: