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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...