QUERY STATUSTHRESHOLD (Query status monitoring thresholds)
Use this command to display information about status monitoring thresholds.
Status monitoring thresholds compare the defined conditions to the status monitoring server queries and inserts the results in the status monitoring table.
Multiple thresholds can be defined for an activity. For example, you can create a threshold that provides a warning status if storage pool capacity utilization is greater than 80%. You can then create another threshold that provides error status if storage pool capacity utilization is greater than 90%.
Note: If
a threshold is already defined for an EXISTS condition, you cannot
define another threshold with one of the other condition types.
Privilege class
Any administrator can issue this command.
Syntax
Parameters
- threshold_name
- Specifies the threshold name. The name cannot exceed 48 characters in length.
- Format
- Specifies how the information is displayed. The default value
is STANDARD. Possible values are:
- Standard
- Specifies that partial information is displayed for the specified status thresholds.
- Detailed
- Specifies that complete information is displayed for the specified status thresholds.
- activity
- Specifies the activity for which you want to display status indicators. If you do not specify a value, information is displayed for all activities. For a list of activities, see the DEFINE STATUSTHRESHOLD command.
- Condition
- Restricts the output to only those matching the specified value.
Possible values are:
- EXists
- Displays status thresholds where the condition equals EXISTS.
- GT
- Displays status thresholds where the condition equals GT.
- GE
- Displays status thresholds where the condition equals GE.
- LT
- Displays status thresholds where the condition equals LT.
- LE
- Displays status thresholds where the condition equals LE.
- EQual
- Displays status thresholds where the condition equals EQUAL.
- Value
- Displays thresholds that have the specified value. If you do not specify a value, information is displayed for all values. You can specify an integer from 0 to 9223372036854775807.
- STatus
- Displays status
thresholds that have the specified status value.
If you do not specify a value, information is displayed for all values.
Possible values are:
- Normal
- Displays the status thresholds that have a normal status value.
- Warning
- Displays the status thresholds that have a warning status value.
- Error
- Displays the status thresholds that have an error status value.
QUERY status threshold
Query all status
thresholds by issuing the following command:
query statusthreshold
Threshold Name Activity Name Condition Value Report
Name Status
--------------- --------------- --------- ------- -------
ACTIVELOGCHECK ACTIVE LOG > 90 ERROR
UTILIZATION
(%)
AVGSTGPLW AVERAGE STORAGE > 85 WARNING
POOL
UTILIZATION
(%)
AVGSTGPLE AVERAGE STORAGE > 90 ERROR
POOL
UTILIZATION
(%)
Query status thresholds and display detailed format
Query
status thresholds and display the output in detailed format, by issuing
the following command:
query statusthreshold f=dThreshold Name: ACTIVELOGCHECK
Activity Name: ACTIVE LOG UTILIZATION (%)
Condition Name: >
Value: 90
Report Status: ERROR
Server Name: TSMAWP24
Threshold Name: AVGSTGPLW
Activity Name: AVERAGE STORAGE POOL UTILIZATION (%)
Condition Name: >
Value: 85
Report Status: WARNING
Server Name: TSMAWP24
Threshold Name: AVGSTGPLE
Activity Name: AVERAGE STORAGE POOL UTILIZATION (%)
Condition Name: >
Value: 95
Report Status: ERROR
Server Name: TSMAWP24
