Getting Data In

Listen a port (162) and receive an SNMP notification

Explorer

I have a problem, What I want to do is this: In short I have a remote machine that will send me SNMP notifications to my local machine the configuration of the remote machine is done now I need some kind of log in my local machine that notify me that I received an SNMP trap . Maybe listen the 162 por is good idea (SNMP port by default) But I don't how to do it and where I can read this log if my machine received something.

Tags (1)

Ultra Champion

Explorer

For example I added a port to be listened and it seems like splunkd is listening but how can I see what's listening?

[root@laptop etc]# netstat -tulpn | grep :1000
tcp 0 0 0.0.0.0:1000 0.0.0.0:* LISTEN 30994/splunkd

0 Karma

Explorer

I have already checked but it doesn't work , I don't if I have problems with snmptrap I'm working on linux

0 Karma

Splunk Employee
Splunk Employee

Here is our documentation on setting up Splunk to receive SNMP:

http://docs.splunk.com/Documentation/Splunk/latest/Data/SendSNMPeventstoSplunk

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!