Data collection will begin one sampling cycle after you enable the PM statistics collection template with
the
performance-mgmt enable statistics
command.
Note
•
Once a template has been enabled, the sampling and export cycles continue until the template is disabled
with the
no
form of the
performance-mgmt apply statistics
command.
•
You must specify either a location with the
location
keyword and
node-id
argument or the
location all
keywords when enabling or disabling a PM statistic collections for the following entities:
◦
Node CPU
◦
Node memory
◦
Node process
The
location
keyword with the
node-id
argument enables the PM statistic collections for the specified
node. The
node-id
argument is expressed in the
rack/slot/module
notation. The
location all
keywords
enable the PM statistic collections for all nodes.
•
Because only one PM statistics collection can be enabled for any given entity at any given time, you are
not required to specify the template name with the
default
keyword or
template
keyword and
template-name
argument when disabling a PM statistics collection.
Exporting Statistics Data
The current PM supports exporting of data onto the following:
•
performance-mgmt resource tftp-server ip-address directory directory-name
•
performance-mgmt resource dump local
You can dump PM statistics collections onto local filesystem, for example, /disk0: or /harddisk:. By default,
this location is not configured but PM automatically selects the location on the local filesystem. Or, you can
also configure a TFTP server for PM statistics collections and export the statistics data on the remote location.
Both the local and TFTP destinations are mutually exclusive and you can configure either one of them at
a given time.
Note
Binary File Format
This sample describes the binary file format:
Version : 4 Bytes
NoOf Entities : 1 Byte
(e.g. . 4 )
Entity Identifier
: 1 Byte
(e.g NODE=1,Interface=2,BGP=3)
Options
:2 Bytes
NoOf SubEntities
:1 Byte
(2)
SubEntity Identifier
:1 Byte
(e.g BGP-PEERS )
Time Stamp 4 Bytes (Reference Time : Start Ref Time)
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
328
Implementing Performance Management
PM Statistics Collection Overview