Recieved Trap tab in SNMP Trap Interface menu not showing traps
Posted: Tue Oct 03, 2023 5:39 pm
Hi, I am setting up Nagios XI for receiving snmp traps for our server.
I can see the trap received from the service Status :
SNMP Traps
Passive Only Check
Ok 14m 58s 1/1 2023-10-03 17:19:48 The LMR-IWF Fault Manager (FM) Server will clear an Alarm 07 E7 0A 03 16 13 30 00 communicationsAlarm E_HC_CDR lmr-iwf-3-gp1 Monitor 1 3.1.0 CdrMonitor major The CDR Server health check has failed. {"error": "HTTPConnectionPool(host='127.0.0.1', port=9082): Max retries exceeded with url: /metrics (Caused by NewConnectionError('urllib3.connection.HTTPConnection object at 0x7fc1e8751df0: Failed to establish a new connection: Errno 111 Connection refused'))", "api": "CDR Server"} applicationSubsystemFailure The IWF Monitor application is sending health checks to the CDR server. The IWF Monitor considers the CDR server to be unreachable. e155365b-f8f8-4996-a6e1-cb8bc30800c6
But from the tab of Received Traps under SNMP Trap Interface, I cannot find this trap. I can see the trap received from /var/spool/snmptt like below.
mcptt@iwf-ancn13-ubuntu:/var/spool/snmptt$ cat '#snmptt-trap-1696370246972538'
1696370246
lmr-iwf-3-gp1
UDP: [10.20.44.65]:44799->[172.22.106.25]:162
DISMAN-EVENT-MIB::sysUpTimeInstance 0:0:00:08.63
SNMPv2-MIB::snmpTrapOID.0 SNMPv2-SMI::enterprises.17869.3.1.2.1.3
SNMPv2-SMI::enterprises.17869.3.1.2.2.1 "07 E7 0A 03 15 39 1B 00 "
SNMPv2-SMI::enterprises.17869.3.1.2.2.2 2
SNMPv2-SMI::enterprises.17869.3.1.2.2.3 "E_HC_CDR"
SNMPv2-SMI::enterprises.17869.3.1.2.2.4 "lmr-iwf-3-gp1"
SNMPv2-SMI::enterprises.17869.3.1.2.2.5 "Monitor"
SNMPv2-SMI::enterprises.17869.3.1.2.2.6 "1"
SNMPv2-SMI::enterprises.17869.3.1.2.2.7 "3.1.0"
SNMPv2-SMI::enterprises.17869.3.1.2.2.8 "CdrMonitor"
SNMPv2-SMI::enterprises.17869.3.1.2.2.9 1
SNMPv2-SMI::enterprises.17869.3.1.2.2.10 "The CDR Server health check has failed."
SNMPv2-SMI::enterprises.17869.3.1.2.2.11 "{\"api\": \"CDR Server\", \"error\": \"HTTPConnectionPool(host='127.0.0.1', port=9082): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc1e97d4e80>: Failed to establish a new connection: [Errno 111] Connection refused'))\"}"
SNMPv2-SMI::enterprises.17869.3.1.2.2.12 3
SNMPv2-SMI::enterprises.17869.3.1.2.2.13 "The IWF Monitor application is sending health checks to the CDR server. The IWF Monitor considers the CDR server to be unreachable."
SNMPv2-SMI::enterprises.17869.3.1.2.2.14 "17cd7204-a66e-42bd-87db-86b50a4037d8"
I can see the trap received from the service Status :
SNMP Traps
Passive Only Check
Ok 14m 58s 1/1 2023-10-03 17:19:48 The LMR-IWF Fault Manager (FM) Server will clear an Alarm 07 E7 0A 03 16 13 30 00 communicationsAlarm E_HC_CDR lmr-iwf-3-gp1 Monitor 1 3.1.0 CdrMonitor major The CDR Server health check has failed. {"error": "HTTPConnectionPool(host='127.0.0.1', port=9082): Max retries exceeded with url: /metrics (Caused by NewConnectionError('urllib3.connection.HTTPConnection object at 0x7fc1e8751df0: Failed to establish a new connection: Errno 111 Connection refused'))", "api": "CDR Server"} applicationSubsystemFailure The IWF Monitor application is sending health checks to the CDR server. The IWF Monitor considers the CDR server to be unreachable. e155365b-f8f8-4996-a6e1-cb8bc30800c6
But from the tab of Received Traps under SNMP Trap Interface, I cannot find this trap. I can see the trap received from /var/spool/snmptt like below.
mcptt@iwf-ancn13-ubuntu:/var/spool/snmptt$ cat '#snmptt-trap-1696370246972538'
1696370246
lmr-iwf-3-gp1
UDP: [10.20.44.65]:44799->[172.22.106.25]:162
DISMAN-EVENT-MIB::sysUpTimeInstance 0:0:00:08.63
SNMPv2-MIB::snmpTrapOID.0 SNMPv2-SMI::enterprises.17869.3.1.2.1.3
SNMPv2-SMI::enterprises.17869.3.1.2.2.1 "07 E7 0A 03 15 39 1B 00 "
SNMPv2-SMI::enterprises.17869.3.1.2.2.2 2
SNMPv2-SMI::enterprises.17869.3.1.2.2.3 "E_HC_CDR"
SNMPv2-SMI::enterprises.17869.3.1.2.2.4 "lmr-iwf-3-gp1"
SNMPv2-SMI::enterprises.17869.3.1.2.2.5 "Monitor"
SNMPv2-SMI::enterprises.17869.3.1.2.2.6 "1"
SNMPv2-SMI::enterprises.17869.3.1.2.2.7 "3.1.0"
SNMPv2-SMI::enterprises.17869.3.1.2.2.8 "CdrMonitor"
SNMPv2-SMI::enterprises.17869.3.1.2.2.9 1
SNMPv2-SMI::enterprises.17869.3.1.2.2.10 "The CDR Server health check has failed."
SNMPv2-SMI::enterprises.17869.3.1.2.2.11 "{\"api\": \"CDR Server\", \"error\": \"HTTPConnectionPool(host='127.0.0.1', port=9082): Max retries exceeded with url: /metrics (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fc1e97d4e80>: Failed to establish a new connection: [Errno 111] Connection refused'))\"}"
SNMPv2-SMI::enterprises.17869.3.1.2.2.12 3
SNMPv2-SMI::enterprises.17869.3.1.2.2.13 "The IWF Monitor application is sending health checks to the CDR server. The IWF Monitor considers the CDR server to be unreachable."
SNMPv2-SMI::enterprises.17869.3.1.2.2.14 "17cd7204-a66e-42bd-87db-86b50a4037d8"