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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...