On Thu, May 08, 2008 at 12:22:40PM -0400, Jonathan Baxter wrote:
> I recently installed mon on some opensuse 10.3 machines, but could not 
> get the snmpdiskspace.monitor to work. I am not a perl guy, but it 
> seems the information coming back from the perl Net::SNMP module is 
> not correct, in that it assumes all fields are contiguous when they 
> are not.

You're almost right on the money.  snmpdiskspace.monitor isn't using
Net::SNMP, it's using G.S. Marzot's SNMP.pm, which is substantially older 
and less wiser.  But that doesn't matter - the problem is as you surmised,
snmpdiskspace.monitor, which assumes there aren't any discontinuities
in the MIB and fails miserably when there are.  I don't think this is
the fault of the SNMP library, it's only doing what it's being asked
to do.

I'm going to try to redo snmpdiskspace.monitor's SNMP fetching so it
will work with discontinuous tables.

        -- Ed

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to