On 8 November 2011 20:05, Niels Baggesen <n...@users.sourceforge.net> wrote:
> Given the walk provided in the first mail, I would guess that it dies
> because of a divide by zero (which you have since fixed)

Yes - that makes sense.   Sorry I didn't spot this before.

Except that if Keith is using v5.7.1, surely that should have the
divide-by-zero fix in place?   Which raises the question of why
the agent is crashing.


> But there is still the underlying problem of why all of dskTotal, dskUsed
> and dskAvail is zero,

The first thing to confirm is which implementation code the agent is using.

Keith - am I right in understanding that you're using a pre-compiled version,
rather than an agent that you have compiled yourself?
   If I'm wrong, then looking at the object files within the source tree would
indicate whether this agent is using mibgroup/ucd-snmp/disk.o or
mibgroup/ucd-snmp/disk_hw.o

Otherwise, try looking at the agent libraries, and see if you can determine
which of these two object files are included.   If it's disk_hw.o, then there
should also be an object file of the form mibgroup/hardware/fsys/fsys_xxx.o
It would be useful to know which one.

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