Dave

I am going on a business trip for a couple days. I will try your suggestions 
and collect all data I can when I return to office on Friday 11/11/11.

>From my initial testing it appeared to only crash when I queried "dskPercent" 
>directly or did a snmpwalk of the dskTable and the last values show are 
>dskUsed. (according to the MIB order dskPercent would be the next value) 


Keith E Hansen
Sr. PSE - Advanced Services Group
Office Ph: 408-750-9488
Cell Ph: 408-623-5771

-----Original Message-----
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Tuesday, November 08, 2011 8:03 AM
To: Keith Hansen
Cc: net-snmp-coders@lists.sourceforge.net
Subject: Re: netsnmp 5.7.1 crashes when requesting dskPercent

On 2 November 2011 16:00, Keith Hansen <keith.han...@dialogic.com> wrote:
> Since sending my initial Email on this I have tried a few other things.
> I also downloaded and tried the sparc version of 5.7 on another server 
> and it also fails to report dskPercent. And with both versions (sparc 
> & x86) the snmpd process dies.

Does it report anything when it dies?
You might find it useful to run the agent in a terminal (rather than as a 
daemon).
Something like

     snmpd -f -Le    (followed by any other command line options)

Then you can see any output messages immediately.

Does it fall over immediately?
Or only when you query the disk table?

Try running "snmpwalk" on the system group, and check that works OK.
Then try querying some of the other network information ("snmpwalk ... ip"
or "snmpwalk ... tcp") - can you see those stats or not?

Try walking the HostResources MIB - that has some disk-related information.
Does that kill the agent, or is it OK?

Then try a simple "getnext" on the UCD disk table.
Does the agent fall over immediately?
If not, try getnext on each of the column objects - see if you can pinpoint 
exactly what triggers the problem.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to