Information About Statistical Data Collection

You can use the Statistical Data Collection feature to control the statistics monitoring processes that you have created for one of the many device configuration features that support statistics.

When you choose Statistical Data Collection on the Feature Selector pane, the content pane shows information about each statistical collection and allows you to control them. You can also use this feature to purge old data from the statistical database.

You can configure the length of time that Cisco Data Center Network Manager (DCNM) waits before retrieving statistical data from devices that it is monitoring. By default, Cisco DCNM retrieves statistical data from monitored devices every 30 seconds. You can increase the length of time to a maximum of 4 minutes. For more information, see the "Configuring the Default Frequency of Statistical Data Retrieval" section on page 4-14.

Automatic and Manual Purging of Statistical Data

You can use the Statistical Data Collection feature to delete unwanted statistical data. Cisco DCNM supports automatic purging of statistical data. You can configure the following aspects of automatic statistical data purging:

•Days of the week and time of day that automatic purging occurs.

•Whether Cisco DCNM determines which statistical data to purge by the age of the data or by a maximum number of database entries.

•Whether Cisco DCNM deletes the statistical data entries that it purges or consolidates them into one entry.

•For the Statistical Data Collection feature, the Cisco DCNM client does not automatically update the information shown in the Summary pane. To ensure that you are viewing current information, from the menu bar, choose View > Refresh.

•When you start statistical monitoring for one or more charts and then close the Cisco DCNM client, a dialog box prompts you to decide whether to stop the collections or let them run. We recommend that you stop any unnecessary collections when you log out of the Cisco DCNM client. This practice conserves database space and decreases server load.

•We recommend that you configure automatic purging of statistical data to ensure that the Cisco DCNM database size does not grow too large.

Starting and Stopping Statistical Data Collection

You can use the Statistical Data Collection feature to start and stop a statistical data collection process. Each collection process represents a statistical monitoring process that you created by starting monitoring for a device configuration feature.

DETAILED STEPS

A table of statistical data collectors appears in the Contents pane. Each row corresponds to a collector for a particular device. The Status field displays whether the collector is running or is stopped.

Step 2 Click the collector that you want to start or stop.

Step 3 Do one of the following:

•To start a collector, from the menu bar, choose Actions > Start Collection. The Status field changes to Running.

•To stop a collector, from the menu bar, choose Actions > Stop Collection. The Status field changes to Stopped.

You do not need to save your changes.

Deleting Statistical Data from a Collection

You can delete statistical data from a collection. This feature allows you to delete all the data from a collection without affecting data from other collections and without deleting the collection itself. Each collection process represents a statistical monitoring process that you created by starting monitoring for a device configuration feature.

DETAILED STEPS

A table of statistical data collectors appears in the Contents pane. Each row corresponds to a collector for a particular device. Devices are listed alphabetically. The Status field displays whether the collector is running or is stopped.

Step 2 Right-click the collection.

Step 3 From the menu bar, choose Actions > Delete Statistical Data.

Cisco DCNM deletes all statistical data from the collection.

Deleting a Collection

You can delete a collection of statistical data from a specific device. Each collection process represents a statistical monitoring process that you created by starting monitoring for a device configuration feature.

DETAILED STEPS

A table of statistical data collectors appears in the Contents pane. Devices are listed alphabetically. Each row corresponds to a collection of statistical data for a particular device.

Step 2 Click the collection of data that you want to delete.

Step 3 From the menu bar, choose Actions > Delete Collection.

The collection is deleted.

You do not need to save your changes.

Deleting Data from the Statistics Database

You can delete statistical data from the statistics database.

Note If you want to delete all data from a specific collection rather than deleting old data from all collections, perform the steps in the "Deleting a Collection" section.

BEFORE YOU BEGIN

Determine the date and time of the newest statistical data that you want to delete. When you follow the steps in this procedure, Cisco DCNM deletes all statistics that are older than the date and time that you select.

BEFORE YOU BEGIN

If you perform backups of your Cisco DCNM databases, consider scheduling automatic statistical data purging after database backups have occurred, to ensure that you retain a record of all statistical data.

Determine what criteria you want Cisco DCNM to use to determine which statistical data to purge. The two criteria available are as follows:

•Age of statistical data—Cisco DCNM can purge all statistical data entries that are older than a specific number of days, weeks, or months.

•Number of statistical data entries in the database—When the number of statistical data entries in the database exceeds the maximum number that you specify, Cisco DCNM can purge the oldest statistical data entries first until the maximum number is not exceeded.

If you enable both criteria, Cisco DCNM applies them independently of each other.

Whether, during automatic statistical data purging, Cisco DCNM deletes statistics entries that are older than the age specified in the drop-down lists located to the right of this check box. By default, this check box is unchecked. If you check the check box, the default age is 1 day.

Total Entries Exceed

Whether, during automatic statistical data purging, Cisco DCNM deletes the oldest statistics entries until the number of entries equals the number in the box located to the right of this check box. By default, this check box is unchecked. If you check the check box, the default number of event is 25,000.

Purge Settings

Enable Auto Purge

Whether automatic purging of statistical data is enabled. By default, this check box is disabled.

Run on

Days of the week that automatic purging of statistical data occurs. By default, none of the check boxes are checked. If you check the Daily check box, the check boxes for the individual days of the week become unavailable.

Run at

Time of day that automatic purging of statistical data occurs, on the days of the week that automatic purging is enabled.

Additional References

For additional information related to administering statistical data collection, see the following sections: