Ad Widget

Collapse

I can recevied test traps in /tmp/zabbix_traps.tmp but some traps not visable in UI.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Denny
    Junior Member
    • Jul 2021
    • 6

    #1

    I can recevied test traps in /tmp/zabbix_traps.tmp but some traps not visable in UI.

    When I using ` snmptrap -v2c -cpublic 127.0.0.1 '' SNMPv2-MIB::sysLocation.0 SNMPv2-MIB::sysLocation.0 s "I am here v2c"`
    I can see the traps both in /tmp/zabbix_traps.tmp, looks like below output:

    22:12:51 2021/07/13 ZBXTRAP 127.0.0.1
    PDU INFO:
    errorstatus 0
    version 1
    requestid 352534932
    community public
    messageid 0
    errorindex 0
    receivedfrom UDP: [127.0.0.1]:59560->[127.0.0.1]:162
    transactionid 6
    notificationtype TRAP
    VARBINDS:
    .1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (69130617) 8 days, 0:01:46.17
    .1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.2.1.1.6.0
    .1.3.6.1.2.1.1.6.0 type=4 value=STRING: "I am here v2c"

    and UI can also see the output.

    Click image for larger version

Name:	snmptraps_presented_in_UI.png
Views:	589
Size:	29.6 KB
ID:	428132But after I configured Nutanix Trap point to Zabbix Server, and click Test botton. I can only see the Test Trap in /tmp/zabbix_traps.tmp. but the traps can not presented in zabbix UI.

    Click image for larger version

Name:	snmptraps_not_presented_in_UI.png
Views:	477
Size:	193.3 KB
ID:	428133
    Click image for larger version

Name:	snmptraps_not_presented_in_UI_2.png
Views:	481
Size:	96.9 KB
ID:	428134

    I have troubleshooted for couple of days. hope somebody can help.Many Thanks.

  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Increase the logging level and see what will be in the server (proxy) log when a trap arrives.
    (I hope you have a check in the settings to log unmached traps?)

    Comment


    • Denny
      Denny commented
      Editing a comment
      I set debug mode to 3, and I can see below logs:

      986060:20210714:214723.648 unmatched trap received from "x.x.x.x": 21:47:21 2021/07/14 PDU INFO:
      messageid 0
      notificationtype TRAP
      errorindex 0
      transactionid 82
      receivedfrom UDP: [x.x.x.x]:37291->[x.x.x.x]:162
      errorstatus 0
      community public
      version 1
      requestid 2092184287
      VARBINDS:
      .1.3.6.1.2.1.1.3.0 type=67 value=Timeticks: (293919395) 34 days, 0:26:33.95
      .1.3.6.1.6.3.1.1.4.1.0 type=6 value=OID: .1.3.6.1.4.1.41263.1006
      .1.3.6.1.4.1.41263.999.1 type=70 value=Counter64: 1626313640
      .1.3.6.1.4.1.41263.999.5 type=4 value=STRING: "800d38ae-54e5-4d75-a86e-5310cd8f8b29"
      .1.3.6.1.4.1.41263.999.2 type=4 value=STRING: "AlertUuid:800d38ae-54e5-4d75-a86e-5310cd8f8b29: Test Alert is generated on Controller VM 10.19.144.32."
      .1.3.6.1.4.1.41263.999.3 type=4 value=STRING: "Test Alert Title"
      .1.3.6.1.4.1.41263.999.4 type=2 value=INTEGER: 1
      .1.3.6.1.4.1.41263.999.7 type=4 value=STRING: "New"
      986072:20210714:214754.304 cannot send list of active checks to "127.0.0.1": host [Zabbix server] not monitored

    • Denny
      Denny commented
      Editing a comment
      I have checked the unmatched traps box, but the I still can not see the traps sent from Nutanix Cluster.
  • Denny
    Junior Member
    • Jul 2021
    • 6

    #3
    attached is the debug log. too many logs. I can't read. I try the Test trap from Nutanix Cluster first then try ` snmptrap -v2c -cpublic 127.0.0.1 '' SNMPv2-MIB::sysLocation.0 SNMPv2-MIB::sysLocation.0 s "I am here v2c"`.

    Attached Files

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #4
      Is there a host "x.x.x.x"? For this, you need to configure the snmp failback or normal snmp item.

      Comment

      • Denny
        Junior Member
        • Jul 2021
        • 6

        #5
        x.x.x.x is my prism central. A Prism Central manager many cluster. prism central just like VMware vCenter. I have configure snmpfailbck to catchs all log from prism central. Click image for larger version

Name:	snmp trapfallback.png
Views:	496
Size:	64.2 KB
ID:	428207

        Comment


        • Hamardaban
          Hamardaban commented
          Editing a comment
          unmatched trap received from "x.x.x.x"
          ^^^^^^^^^^

          This means that zabbix could not understand which host this trap is intended for.

        • Denny
          Denny commented
          Editing a comment
          Is this the root cause why UI can not present traps?
      Working...