Getting Data In

"APPCRASH" error when register NET SNMP daemon as a Windows service

cqian02
Explorer

I'm trying to install and configure NET-SNMP to write log file and have Splunk monitor on it. But when I register snmptrapd or snmpd as service after installation, it always gives me "APPCRASH" error. Also, I've followed the documentation http://docs.splunk.com/Documentation/Splunk/4.3.3/Data/SendSNMPeventstoSplunk but no data comes in my log file. Do I need to do other configuration on my server? Thanks.

Tags (1)

dwaddle
SplunkTrust
SplunkTrust

NET-SNMP on Windows can be tricky. Some of the available pre-compiled builds are just not that awesome. If you have a compiler, compiling the latest source from the NET-SNMP website may not be a bad idea. If you aren't tied to Windows, you can always run your snmptrapd and a Splunk forwarder on a Unix host. NET-SNMP is much better behaved there.

cqian02
Explorer

Thanks,I'm actually a little confused about how I should configure snmpd and snmptrapd. Suppose I want to get SNMP notifications from host A, I should configure both on host A, right? But after I finished configuration, all I get in my log file is the version information, no other data comes in. Do you know why this happens? Thanks.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...