statistics preset modify

Modify an existing Performance Preset

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

Modifies an existing performance preset configuration. The command modifies the global properties of a preset, but does not modify the details of the preset, such as specific objects and counters sampled.

Parameters

-preset <text> - Preset Name
Name of the performance preset to be modified.
[-new-name <text>] - New Preset Name
Set preset name to the given new name.
[-comment <text>] - Preset Description
Set comment to the given value.
[-privilege <PrivilegeLevel>] - Preset Privilege Level
Set privilege level at which this preset can be viewed or modified to the given value. Possible values: admin, advanced, diagnostic.

Examples

cluster1::*> statistics preset show
       Preset Name: delta
       Preset UUID: 7a04f19d-02a7-11e2-8e40-123478563412
           Comment: custom preset description
         Privilege: diagnostic
         Read-Only: false
   Archive Enabled: false
     Generation ID: 0

1 entry was displayed.

cluster1::*> statistics preset modify -preset delta -comment "new comment"

cluster1::*> statistics preset show
       Preset Name: delta
       Preset UUID: 7a04f19d-02a7-11e2-8e40-123478563412
           Comment: new comment
         Privilege: diagnostic
         Read-Only: false
   Archive Enabled: false
     Generation ID: 0

1 entry was displayed.