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

I have log of snmp trap in /tmp/zabbix_traps.tmp but in dashboard not shown

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • None
    • Frontend (F)
    • None

      I have a problem in snmp trap, i use snmp trap from zabbix documentation (https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/misc/snmptrap)

      so the logs are stored in /tmp/zabbix_traps.tmp but in zabbix dashboard it not shown 

      the screenshot i was sent it showing logs but in dashboard it not shown.

      2025-05-02T14:54:15+0700 ZBXTRAP 1.1.0.1 
      PDU INFO:
        version                        1
        community                      public_firewallfor
        receivedfrom                   UDP: [1.1.0.1 ]:162->[1.1.0.2 ]:162
        errorstatus                    0
        requestid                      12492
        errorindex                     0
        notificationtype               TRAP
        transactionid                  24
        messageid                      0
      VARBINDS:
        DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (42515136) 4 days, 22:05:51.36
        SNMPv2-MIB::snmpTrapOID.0      type=6  value=OID: SNMPv2-SMI::enterprises.12356.101.2.0.1201
        SNMPv2-SMI::enterprises.12356.100.1.1.1.0 type=4  value=STRING: "FOSVM12O-XN5XX19"
        SNMPv2-MIB::sysName.0          type=4  value=STRING: "FortiOS-VM64"
        IF-MIB::ifIndex.0              type=2  value=INTEGER: 1
        SNMPv2-SMI::enterprises.12356.101.3.2.1.1.1.0 type=2  value=INTEGER: 1
        SNMPv2-SMI::enterprises.12356.101.18.1.2.0 type=66 value=Gauge32: 424803
        SNMPv2-SMI::enterprises.12356.101.18.1.3.0 type=66 value=Gauge32: 5
        SNMPv2-SMI::enterprises.12356.101.18.1.1.0 type=4  value=STRING: "00:0c:29:02:a9:a1"
      2025-05-02T14:57:35+0700 ZBXTRAP 1.1.0.1 
      PDU INFO:
        requestid                      0
        errorstatus                    0
        community                      public_firewallfor
        receivedfrom                   UDP: [1.1.0.1 ]:162->[1.1.0.2 ]:162
        version                        0
        transactionid                  25
        messageid                      0
        errorindex                     0
        notificationtype               TRAP
      VARBINDS:
        DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (42535109) 4 days, 22:09:11.09
        SNMPv2-MIB::snmpTrapOID.0      type=6  value=OID: SNMPv2-SMI::enterprises.12356.101.1.90000.0.1201
        SNMPv2-SMI::enterprises.12356.100.1.1.1.0 type=4  value=STRING: "FOSVM12O-XN5XX19"
        SNMPv2-MIB::sysName.0          type=4  value=STRING: "FortiOS-VM64"
        IF-MIB::ifIndex.0              type=2  value=INTEGER: 1
        SNMPv2-SMI::enterprises.12356.101.3.2.1.1.1.0 type=2  value=INTEGER: 1
        SNMPv2-SMI::enterprises.12356.101.18.1.2.0 type=66 value=Gauge32: 424797
        SNMPv2-SMI::enterprises.12356.101.18.1.3.0 type=66 value=Gauge32: 5
        SNMPv2-SMI::enterprises.12356.101.18.1.1.0 type=4  value=STRING: "00:50:56:86:44:f7"
        SNMP-COMMUNITY-MIB::snmpTrapAddress.0 type=64 value=IpAddress: 1.1.1.1 SNMP-COMMUNITY-MIB::snmpTrapCommunity.0 type=4  value=STRING: "public_firewallfor"
        SNMPv2-MIB::snmpTrapEnterprise.0 type=6  value=OID: SNMPv2-SMI::enterprises.12356.101.1.90000

       

        1. Screenshot 2025-05-13 125058.png
          8 kB
          Akbar Adi Prabowo
        2. Screenshot 2025-05-13 125115.png
          50 kB
          Akbar Adi Prabowo

            zabbix.support Zabbix Support Team
            akbaradiprabowo Akbar Adi Prabowo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: