![](https://secure.gravatar.com/avatar/21caf0a08d095be7196a1648d20942be.jpg?s=120&d=mm&r=g)
30 Apr
2012
30 Apr
'12
6:11 a.m.
Matthias,
That sounds odd - the OID describes it as 100th of a Percent, and the patch was tested against Brocades before commit.
Maybe it's a bug?
Tom
On 30/04/2012 12:54, Matthias Cramer wrote:
Hi
The scale of the discovered CPU's on Ironware based geer is off by factor 100. This patch will fix that. Tested on Brocade XMR4000
Regards
Matthias
Index: includes/discovery/processors/ironware.inc.php
--- includes/discovery/processors/ironware.inc.php (revision 3098) +++ includes/discovery/processors/ironware.inc.php (working copy) @@ -15,11 +15,11 @@ { $usage_oid = ".1.3.6.1.4.1.1991.1.1.2.11.1.1.6." . $index; $usage = $entry['snAgentCpuUtil100thPercent'];
$precision = 100;
$precision = 1; } elseif ($entry['snAgentCpuUtilValue']) { $usage_oid = ".1.3.6.1.4.1.1991.1.1.2.11.1.1.4." . $index; $usage = $entry['snAgentCpuUtilValue'];
$precision = 100;
$precision = 1; } list($slot, $instance, $interval) = explode(".", $index);
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium