How to establish a connection from event source using SNMP Traps?

Ganeshm1
Tera Guru

Hi All,

Can anyone help me how we can integrate with event sources using SNMP Traps? When exactly we have to use this method?

Thanks in advance!

 

Regards,

Ganesh

1 ACCEPTED SOLUTION

Aneesh-D
Tera Guru
Tera Guru

@Ganeshm1  - SNMP trap can be used to source event notification if the CI in context supports snmp trap events. 

As a first step, set up the CI snmp trap to send the events to MID server on a specified port.

 

For running the SNMP trap on the MID SERVER, you can add a record in the  MID SNMP Trap Listener.

 

Mid Server -> Extensions -> MID SNMP Trap Listener specifying the snmp version and the udp port on which to listen.

 

AneeshD_0-1722950675723.png

 

Then you can start this service and verify the service on MID server.

My understanding this same record will be visible in Event Management -Integrations-SNMP trap listener.

AneeshD_3-1722951486733.png

 

Once the remote SNMP client is configured to send trap events to MID server, MID Server will automatically send the events to Event Managment. you can see the events in all events.

 

AneeshD_1-1722951313456.png

 

 

AneeshD_2-1722951370300.png

 

View solution in original post

3 REPLIES 3

Aneesh-D
Tera Guru
Tera Guru

@Ganeshm1  - SNMP trap can be used to source event notification if the CI in context supports snmp trap events. 

As a first step, set up the CI snmp trap to send the events to MID server on a specified port.

 

For running the SNMP trap on the MID SERVER, you can add a record in the  MID SNMP Trap Listener.

 

Mid Server -> Extensions -> MID SNMP Trap Listener specifying the snmp version and the udp port on which to listen.

 

AneeshD_0-1722950675723.png

 

Then you can start this service and verify the service on MID server.

My understanding this same record will be visible in Event Management -Integrations-SNMP trap listener.

AneeshD_3-1722951486733.png

 

Once the remote SNMP client is configured to send trap events to MID server, MID Server will automatically send the events to Event Managment. you can see the events in all events.

 

AneeshD_1-1722951313456.png

 

 

AneeshD_2-1722951370300.png

 

@Aneesh-D : Thank you so much for your reply. 
Is one MID SNMP Trap Listener is enough? if two different event sources are sending traps to same mid server and runs on same version and UDP port. Or do we need to have two different MID SNMP Trap Listeners?

 

Please do let me know your thoughts on this. Thank You Again. 

Best Regards,
Ganesh

@Ganeshm1 - You should be able manage multiple snmp agents with a single trap listener. Make sure snmp agents are configured to send the trap events to the same Mid Server on the same port. 
You should be able to differentiate the messages from these agents using the "Source" and "Node" field in the event table. 

AneeshD_1-1723217533208.png

 

 

Please note that if the agent implementation is based on more generic net-snmp, then the enterprise id (8072) might be shared with multiple agents.