SNMP traps are not processed by midServer

rambhatia2017
Giga Contributor

Traps are received by midServer but they are not seen in Event form.

Have installed mid server in a Linux server

Have configured config.xml as follows

<parameter name="url" value="https://xxxx.service-now.com/"/>
<parameter name="mid.instance.username" value="xxxxx"/>
<parameter encrypt="true" name="mid.instance.password" value="encrypted:xxxx"/>
<parameter name="name" value="xxxxx"/>
<parameter name="mid.proxy.use_proxy" value="false"/>


One of my server is sending SNMP traps to mid Server. I can see that the traps are received by mid server using tcpdump

But for some reason, these traps are not seen in event form

Am able to ping xxxx.service-now.com from mid server

Have ensured that provided username & password are correct

In ServiceNow,

Mid Sever->servers, value of my midServer status is up & value of Validated = yes
Mid Server->Extensions->MID SNMP Trap Listener, for my trap extension value of status = started


No errors are seen in agent/logs/agent0.log.0

Can someone hep me - what else to check for ?

Thank you,
Ram

1 ACCEPTED SOLUTION

IP tables in the mid-server were not forwarding the udp traffic by default.


Hence traps were not sent to the mid-server application.


Once IP tables are updated to forward UDP traffic, the issue got resolved.



Thank you


Ram


View solution in original post

17 REPLIES 17

tim_broberg
ServiceNow Employee
ServiceNow Employee

Does the mid server send an input on the ecc_queue with the event?


In ecc queue, I see an entry created five minutes ago.



For that entry, Agent = my midServer, Queue = input, state = processed



Payload for this entry is having some information but nothing for the traps received by midServer


Version of my instance of ServiceNow is Jakarta


From the topic and name of the ecc_queue record, does it look like it's from the VCenterExtension, not some other random input?



It should have json content for vm_bios_uuid, vm_instance_uuid, vcenter_instance_uuid, and data.