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

Read syntax diagramSkip visual syntax diagram
                          .-*--------------.   
>>-Query STAtusthreshold--+----------------+-------------------->
                          '-threshold_name-'   

   .-Format--=--Standard-----.                              
>--+-------------------------+--+-----------------------+------->
   '-Format--=--+-Standard-+-'  '-Activity--=--activity-'   
                '-Detailed-'                                

>--+--------------------------+--+----------------------+------->
   '-Condition--=--+-EXists-+-'  '-Value--=--value_name-'   
                   +-GT-----+                               
                   +-GE-----+                               
                   +-LT-----+                               
                   +-LE-----+                               
                   '-EQual--'                               

>--+------------------------+----------------------------------><
   '-STatus--=--+-Normal--+-'   
                +-Warning-+     
                '-Error---'     

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=d
Threshold 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

Related commands

Table 1. Commands related to QUERY STATUSTHRESHOLD
Command Description
DEFINE STATUSTHRESHOLD (Define a status monitoring threshold) Defines a status monitoring threshold.
DELETE STATUSTHRESHOLD (Delete a status monitoring threshold) Deletes a status monitoring threshold.
QUERY MONITORSTATUS (Query the monitoring status) Displays information about monitoring alerts and server status settings.
QUERY MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) Displays information about monitoring alerts and server status settings.
SET STATUSATRISKINTERVAL (Specifies whether to enable client at-risk activity interval evaluation) Specifies whether to enable client at-risk activity interval evaluation
SET STATUSMONITOR (Specifies whether to enable status monitoring) Specifies whether to enable status monitoring.
SET STATUSREFRESHINTERVAL (Set refresh interval for status monitoring) Specifies the refresh interval for status monitoring.
SET STATUSSKIPASFAILURE (Specifies whether to use client at-risk skipped files as failure evaluation) Specifies whether to use client at-risk skipped files as failure evaluation
UPDATE STATUSTHRESHOLD (Update a status monitoring threshold) Changes the attributes of an existing status monitoring threshold.