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