statistics preset import

Import Performance Preset configuration from source URI

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

Description

Imports a Performance Preset and all of its details from a source URI. The performance preset will be created right after it is imported.

Parameters

-source-uri {(ftp|http)://(hostname|IPv4 Address|'['IPv6 Address']')...} - Source URI pointing to a preset file
Specifies the URI from which to import a Performance Preset.
[-uri-username <text>] - Source URI username
Specifies the URI username if needed.
[-uri-password <text>] - Source URI password
Specifies the URI password if needed.
[-preset <text>] - Preset name
Preset Name
[-comment <text>] - Preset Description
Specifies the comment of the Performance Preset that you want to import.
[-privilege <PrivilegeLevel>] - Preset Privilege Level
Specifies the privilege level that this preset can be created at. Possible values: admin, advanced, diagnostic.
[-is-archive-enabled {true|false}] - Is Preset Archive-Enabled?
Specifies whether or not the Performance Preset will be archived. The preset will be archived if this option is set to true.
[-expiration-length <integer>] - Default Expiration Length (Minutes)
Specifies the duration of time until this preset expires in minutes.

Examples

cluster1::*> statistics preset show
       Preset Name: asup-event
       Preset UUID: 55c03699-01db-11e2-8e3e-123478563412
           Comment: The event-based AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used
                    whenever an event-based AutoSupport is triggered.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

       Preset Name: asup-hourly
       Preset UUID: 56178a2a-01db-11e2-8e3e-123478563412
           Comment: The hourly AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used by
                    the hourly AutoSupport collection events.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0

       Preset Name: default
       Preset UUID: 55ac6297-01db-11e2-8e3e-123478563412
           Comment: The default Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes
                    essential counters to assist in general troubleshooting of
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0

       Preset Name: diagnostic
       Preset UUID: 561db291-01db-11e2-8e3e-123478563412
           Comment: The diagnostic Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes more
                    counters at faster sample periods than the default
                    configuration to assist in troubleshooting abnormal
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

4 entries were displayed.

cluster1::*> statistics preset import -source-uri http://www.netapp.com/support/nfs_monitor.xml -comment "New NFS Monitor preset."

cluster1::*> statistics preset show
       Preset Name: asup-event
       Preset UUID: 55c03699-01db-11e2-8e3e-123478563412
           Comment: The event-based AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used
                    whenever an event-based AutoSupport is triggered.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

       Preset Name: asup-hourly
       Preset UUID: 56178a2a-01db-11e2-8e3e-123478563412
           Comment: The hourly AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used by
                    the hourly AutoSupport collection events.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0

       Preset Name: default
       Preset UUID: 55ac6297-01db-11e2-8e3e-123478563412
           Comment: The default Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes
                    essential counters to assist in general troubleshooting of
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0

       Preset Name: diagnostic
       Preset UUID: 561db291-01db-11e2-8e3e-123478563412
           Comment: The diagnostic Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes more
                    counters at faster sample periods than the default
                    configuration to assist in troubleshooting abnormal
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

       Preset Name: nfs_monitor
       Preset UUID: 571db391-02dc-12e3-5e3f-123478563412
           Comment: New NFS Monitor preset.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

5 entries were displayed.