HP 3PAR OS 3.1.3 Command Line Interface Reference
createsralertcrit
DESCRIPTION
The createsralert command creates a criterion that System Reporter evaluates to determine
if a performance alert should be generated.
SYNTAX
createsralertcrit <type> [options <arg>] <condition>[,<condition>...]
<name>
AUTHORITY
• Super, Service
• Any role that is granted the sralertcrit_create right.
OPTIONS
NOTE: Many of these options are dependent upon the type specifier, below.
Options common to all types:
-daily
This criterion will be evaluated on a daily basis at midnight.
-hourly
This criterion will be evaluated on an hourly basis.
-hires
This criterion will be evaluated on a high resolution (5 minute) basis. This is the default.
-count <number>
The number of matching objects that must meet the criteria in order for the alert to be generated.
Note that only one alert is generated in this case and not one alert per affected object.
-major
This alert should require urgent action.
-minor
This alert should require not immediate action.
-info
This alert is informational only. This is the default.
Options specific to the port type:
-port_type <type)[,<type>...]
Limit the data to ports of the types specified. Allowed types are:
• disk - Disk port
• host - Host Fibre channel port
• iscsi - Host ISCSI port
• free - Unused port
• rcip - Remote copy IP port
• rcfc - Remote copy FC port
-port <npat>:<spat>:<ppat>
126 Create Commands