Splunk Search

How to using NET-SNMP on Windows to receive and log SNMP traps to file from cisco router/switch?

ledaipro
Explorer

I have installed NET-SNMP on splunk machine (winserver 2008 R2).
1. splunk machine
- edit file C:/usr/ etc/snmp/snmptrapd.conf
snmpTrapdAddr 192.168.1.100:162
authCommunity log public
- Add data ->monitor-> UDP port 162
2. Router
I configured
Router(config)# snmp-server community public ro
Router(config)# snmp-server community public rw
Router(config)# snmp-server host 192.168.1.100 version 2 public

But on splunk machine i didn't receive snmp. what did wrong?

Tags (2)
0 Karma

cpt12tech
Contributor

If you're having problems with Net-SNMP, may want to give this a try:
https://answers.splunk.com/answers/521362/found-a-simple-snmp-trap-receiver-for-windows-that.html#an...

0 Karma

nickhills
Ultra Champion

That config enables an authorised SNMP host for 192.168.1.100

But you also need to enable Traps before it will send anything

snmp-server enable traps 
snmp-server host 192.168.1.100 traps version 2c public 

from memory

If my comment helps, please give it a thumbs up!
0 Karma

nickhills
Ultra Champion

i think I was pretty close; here is the documentation
http://www.cisco.com/c/en/us/td/docs/ios/netmgmt/command/reference/nm_book/nm_18.html

If my comment helps, please give it a thumbs up!
0 Karma

jaracan
Communicator

Hi Team, any updates on this?

0 Karma

ledaipro
Explorer

upppppppppppppppppppppppppppp

0 Karma

ledaipro
Explorer

anyone give me any comment 🙂 i will very happy

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...