On Mon, 21 Feb 2005 17:54:39 -0700 Shawn wrote: SW> Okay thanks for the info. After running the new query I do see some load SW> average values now. However they might not be exactly what I'm looking SW> for (I'll have to check on that). The reason I need this information is SW> for Cacti, but according to various posts on the Cacti forums it is SW> looking for something that looks more like this: SW> SW> HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 6 SW> SW> Whether that's really what it needs or not I'm not sure but that's OT SW> for this list.
For devices that support that object, it is indeed what you want. However, net-snmp doesn't currently support that object. laLoadInt.1 is the closest you'll get. However, note that it is not a percentage (as is hrProcessorLoad), and thus can exceed 100. SW> Anyways, I'll look into what options were used during build time to see SW> if I'm missing something there and I'll keep trying to get some SW> information from the Cacti forums as well. A simple patch can enable hrProcessorLoad, but it will return the same data as laLoadInt.1, except it will limit the value to 100. To achieve this, edit agent/mibgroup/host/hr_proc.c and delete the ifdef block around line 209. -- 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