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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...