On Tue, 22 Mar 2005 18:40:28 +1100 Bruno wrote:
BM> We've just received a new array and after installing Net-SNMP 5.2.1 on
BM> it (Fedora Core 2, custom kernel mods), the 3.7TB are now causing some
BM> problems.
BM> 
BM> # snmpwalk -v2c -c XXXXXXXXXXXX MYHOSTNAME .1.3.6.1.4.1.2021.9.1.7
BM> UCD-SNMP-MIB::dskAvail.1 = INTEGER: 27951168
BM> UCD-SNMP-MIB::dskAvail.2 = INTEGER: -2147483648

That's because 3.7 TB overflows a 32bit int.

BM> The strange thing is that if I use snmpdf ... I get the right value :?
BM> 
BM> # snmpdf -v2c -c XXXXXXXXXXXX MYHOSTNAME
BM> Description              size (kB)            Used       Available Used%
BM> [ ... ]
BM> /export                 3904303104        78306464      3825996640    2%

snmpdf will use the host resources table by default.. try walking that and see
if you can find a better valued to graph...

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to