Both of the OIDs we use are in hundredths of a percent. There is the non-hundredths OID, but we don't use it.

snAgentCpuUtilValue OBJECT-TYPE
	SYNTAX		Gauge32
	MAX-ACCESS	read-only
	STATUS		deprecated
	DESCRIPTION
		"The statistical CPU utilization in units of one-hundredth
		 of a percent. This value is deprecated. Users are recommended
		 to use snAgentCpuUtilPercent or snAgentCpuUtil100thPercent
		 instead."
	::= { snAgentCpuUtilEntry 4 }

snAgentCpuUtilPercent OBJECT-TYPE
	SYNTAX		Gauge32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The statistical CPU utilization in units of a percent."
	::= { snAgentCpuUtilEntry 5 }

snAgentCpuUtil100thPercent OBJECT-TYPE
	SYNTAX		Gauge32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The statistical CPU utilization in units of one-hundredth
		 of a percent."
	::= { snAgentCpuUtilEntry 6 }

Please be more careful when "fixing" things, and find out what the data actually should be!

adam.

On 2012-04-30 12:11, Tom Laermans wrote:
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



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium