[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#3731: snmpd: patch for hrProcessorLoad MIB variable

Patrick Weemeeuw writes:
> Package: snmp
> Version: 2.1.2l4-1
> The hrProcessorLoad MIB variable is not computed correctly in snmp
> 2.1.2l4: the value returned is max(loadavg*100, 100).  Under linux, we
> can compute the correct value by regurarly polling the idle jiffies
> counter available in /proc/stat.  The patch below adds a signal
> handler to correctly keep track of the cpu load over the last minute.

I've forwarded your report on to the upstream maintainers to get their

David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081

Reply to: