Your message dated: Wed, 31 Aug 2011 15:22:32 BST
> On 30 August 2011 20:40, Michael Urban <[email protected]> wrote:
> > And after all was said and done, I ran across the problem
> > with the ucdavis disk information being only integer32,
> > while our disk arrays are larger than 4TB.
>
> Use the dsk{Total,Avail,Used}{High,Low} paired objects to
> report disk sizes as a 64-bit value.
Ah. Live and learn. Looks like another bug in
disk_hw.c, though:
case DISKPERCENT:
long_ret = _percent( entry->used, entry->size );
return ((u_char *) (&long_ret));
It should be using the long values, not the 32-bit ones, true?
Of course, _percent takes ints, not long long things, so there
needs to be a different call entirely.
>
> Or have a look at the hrStorageTable for an alternative
> (standardised) reporting of the same information.
>
> Dave
Thanks.
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users