Statistics Collection Policy Configuration

Statistics Collection Policy

A statistics collection policy defines how frequently statistics are collected (collection interval) and how frequently the statistics are reported (reporting interval). Reporting intervals are longer than collection intervals so that multiple statistical data points can be collected during the reporting interval. This provides Cisco UCS Manager with sufficient data to calculate and report minimum, maximum, and average values.

For NIC statistics, Cisco UCS Manager displays the average, minimum, and maximum of the change since the last collection of statistics. If the values are 0, there has been no change since the last collection.

Statistics can be collected and reported for the following five functional areas of the Cisco UCS system:

  • Adapter — Statistics related to the adapters

  • Chassis — Statistics related to the chassis

  • Host — This policy is a placeholder for future support

  • Port — Statistics related to the ports, including server ports, uplink Ethernet ports, and uplink Fibre Channel ports

  • Server — Statistics related to servers


Note


Cisco UCS Manager has one default statistics collection policy for each of the five functional areas. You cannot create additional statistics collection policies and you cannot delete the existing default policies. You can only modify the default policies.

The values that are displayed for delta counter in Cisco UCS Manager are calculated as the difference between the last two samples in a collection interval. In addition, Cisco UCS Manager displays the average, minimum, and maximum delta values of the samples in the collection interval.


Configuring a Statistics Collection Policy

Procedure

  Command or Action Purpose

Step 1

UCS-A# scope monitoring

Enters monitoring mode.

Step 2

UCS-A/monitoring # scope stats-collection-policy {adapter | chassis | host | port | server}

Enters statistics collection policy mode for the specified policy type.

Step 3

UCS-A /monitoring/stats-collection-policy # set collection-interval {1minute | 2minutes | 30seconds | 5minutes}

Specifies the interval at which statistics are collected from the system.

Step 4

UCS-A /monitoring/stats-collection-policy # set reporting-interval {15minutes | 30minutes | 60minutes}

Specifies the interval at which collected statistics are reported.

Step 5

UCS-A /monitoring/stats-collection-policy # commit-buffer

Commits the transaction to the system configuration.

Example

The following example creates a statistics collection policy for ports, sets the collection interval to one minute, the reporting interval to 30 minutes, and commits the transaction:

UCS-A# scope monitoring
UCS-A /monitoring # scope stats-collection-policy port
UCS-A /monitoring/stats-collection-policy* # set collection-interval 1minute
UCS-A /monitoring/stats-collection-policy* # set reporting-interval 30minutes
UCS-A /monitoring/stats-collection-policy* # commit-buffer
UCS-A /monitoring/stats-collection-policy #