Difference between revisions of "Template:FAQ:Agent 34"

From Net-SNMP Wiki
Jump to: navigation, search
 
(5.4 release synchronisation)
 
Line 1: Line 1:
 +
<!-- NB:
 +
  There is a mismatch between the template numbering
 +
  for this entry, and the FAQ entries that refer to it.
 +
  This follows a review of the entries in the
 +
  Agent section.
 +
-->
 
No.  Unfortunately, the original definition of the various CPU statistics
 
No.  Unfortunately, the original definition of the various CPU statistics
 
was a little vague.  It referred to a ''"percentage"'', without specifying
 
was a little vague.  It referred to a ''"percentage"'', without specifying
Line 4: Line 10:
 
implemented slightly differently on different architectures.
 
implemented slightly differently on different architectures.
  
Recent releases includes ''"raw counters"'', which can be used to
+
The 5.4 release has clarified the situation, and standardised on
 +
calculating these percentages over a minute.  The relevant MIB
 +
descriptions have been updated to make the desired behaviour
 +
more explicit.
 +
 
 +
The Net-SNMP agent also includes ''"raw counters"'', which can be used to
 
calculate the percentage usage over any desired period.  This is
 
calculate the percentage usage over any desired period.  This is
 
the ''"right"'' way to handle things in the SNMP model.  The original
 
the ''"right"'' way to handle things in the SNMP model.  The original
flawed percentage objects should not be used, and will be removed
+
percentage objects have been deprecated, and may possibly be removed
 
in a future release of the agent.
 
in a future release of the agent.
  
 
Note that this is different from the Unix load average, which is
 
Note that this is different from the Unix load average, which is
available via the <CODE>loadTable</CODE>, and is supported on all architectures.
+
available via the <CODE>loadTable</CODE>, and is supported on all
 +
architectures.

Latest revision as of 16:38, 29 December 2006

No. Unfortunately, the original definition of the various CPU statistics was a little vague. It referred to a "percentage", without specifying what period this should be calculated over. It was therefore implemented slightly differently on different architectures.

The 5.4 release has clarified the situation, and standardised on calculating these percentages over a minute. The relevant MIB descriptions have been updated to make the desired behaviour more explicit.

The Net-SNMP agent also includes "raw counters", which can be used to calculate the percentage usage over any desired period. This is the "right" way to handle things in the SNMP model. The original percentage objects have been deprecated, and may possibly be removed in a future release of the agent.

Note that this is different from the Unix load average, which is available via the loadTable, and is supported on all architectures.