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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...