LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-04-2014, 10:06 AM   #1
j_unix
LQ Newbie
 
Registered: Apr 2009
Posts: 11

Rep: Reputation: 0
snmpd crashes following manual poll


Hey guys,

I have four zLinux SLES 11.3 servers which are monitored through net-snmp via Solarwinds. Recently when a manual resource listing (poll) is requested from the Solarwinds server I see it crash snmpd. The rest of the time snmpd runs fine.

It's only 4 of 12 servers which have the issue, and the only snmp related difference between them is about 4 years ago we loaded some mibs for a Velocity software trial.

I enabled dubug logging for snmpd and reproduced the issue. I see the CPU spike up to about 70% during the poll and then it dies. The last entries in the debug log appear to be related to Velocity.

Nothing is captured in /var/log/messages for snmp when it dies. I contacted Velocity software regarding the issue and they informed me that it's unlikely their mibs are the cause since Suse has been including their mibs by default in their net-snmp package since the GA release of 11.

I can post contents of the dubug log if requested, any suggestions?
 
Old 04-05-2014, 04:51 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by j_unix View Post
any suggestions?
Load default MIB, try to reproduce error. If you can't then you know it's likely the added Velocity OIDs in your customized MIB. (BTW "software trial" combined with "4 years ago" kind of leaves the impression of using something and not paying for it so maybe you want to clarify that ;-p) BTW[1], saying "Nothing is captured in /var/log/messages for snmp when it dies." kind of doesn't mean much as logging depends on where and what you log (see 'man snmpcmd', the "-L.*$" options). If it even won't log clues at debug priority then there's nothing else but to (verbosely) strace the process IMO.
 
Old 04-07-2014, 08:57 AM   #3
j_unix
LQ Newbie
 
Registered: Apr 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Resolved

Thanks for the reply. Finally after more digging I found this command which lead me to find an additional snmpd.conf defined in /usr/share/snmp/.

Code:
net-snmp-config --snmpconfpath
In this snmpd.conf I found old Velocity and Omegamon OID's. These were used to test out some monitoring software long ago and the source of my issue. I simply renamed this file to have it ignored, restarted snmpd and tried to recreate the issue; no more high CPU or snmpd crashes.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
man -t manual | ps2pdf - > manual.pdf error Amdx2_x64 Linux - General 2 07-01-2011 03:22 AM
doing /etc/init.d/snmpd status gives "snmpd dead but pid file exists" kaushal143 Linux - Newbie 2 07-10-2008 02:55 AM
snmpd: relocation error snmpd:undefined symbol: lastAddrAge Strike2000 Slackware 0 02-11-2008 04:45 AM
Poll: (Without the poll) - How is Linux used in your workplace? SlowCoder General 13 09-11-2007 11:03 PM
snmpd mdpniesta Linux - Networking 2 11-18-2004 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration