QUERY MONITORSTATUS (Query the monitoring status)

Use this command to display monitoring messages that are within the defined status retention period.

You can limit the output to a specified status, such as only messages with a status of active. If you do not specify any parameters, all messages are displayed.

Privilege class

Any administrator can issue this command.

Syntax

Read syntax diagramSkip visual syntax diagram
                        .-Format--=--Standard-----.   
>>-Query MONITORSTatus--+-------------------------+------------->
                        '-Format--=--+-Standard-+-'   
                                     '-Detailed-'     

   .-Type--=--ACtive-------.                                   
>--+-----------------------+--+----------------------------+---->
   '-Type--=--+-ALl------+-'  '-ACtivity--=--activity_name-'   
              +-ACtive---+                                     
              '-Inactive-'                                     

>--+-----------------------+--+----------------------------+---><
   '-NAme--=--element_name-'  |            .-,-----------. |   
                              |            V             | |   
                              '-STatus--=----+-Normal--+-+-'   
                                             +-Warning-+       
                                             '-Error---'       

Parameters

Format
Specifies the amount of information that is displayed. The default value is STANDARD. Specify one of the following values:
Standard
Specifies that only partial information is displayed for the specified messages.
Detailed
Specifies that all information is displayed for the specified messages.
Type
This parameter restricts the output to only messages with the specified type value. Specify one of the following values:
ALl
Displays all information.
ACtive
Displays all active messages. This is the default value.
Inactive
Displays all inactive messages.
ACtivity
Specifies the activity that you want to query. See the DEFINE STATUSTHRESHOLD command for details on available activities to query.
NAme
Specifies the name that you want to query. The NAME value refers to the name of the element with the specified activity. For example, a status indicator that contains information about a storage pool that is called backuppool has the NAME set to BACKUPPOOL.
STatus
Specifies the status of the messages that you want to query. You can specify multiple status values in a list by separating the values with commas and no intervening spaces. If you do not specify a value for this parameter, information for all status values is displayed. Specify one of the following values:
Normal
Displays all messages with a normal status.
Warning
Displays all messages with a warning status.
Error
Displays all messages with an error status.

Display monitoring settings

Display details about the monitoring status.
Query MONITORStatus type=active
Example output:
          Server Name: SERVER1
        Activity Date: 03/05/2013 15:57:37
        Activity Name: CAPACITY OF PRIMARY DISK AND FILE STORAGE
         Element Name: CAPACITY OF PRIMARY DISK AND FILE STORAGE
Element Numeric Value: 0
 Element String Value:
        Element State: NORMAL

          Server Name: SERVER1
        Activity Date: 03/05/2013 15:57:37
        Activity Name: USED CAPACITY OF PRIMARY DISK AND FILE STORAGE
         Element Name: USED CAPACITY OF PRIMARY DISK AND FILE STORAGE
Element Numeric Value: 0
 Element String Value:
        Element State: NORMAL

          Server Name: SERVER1
        Activity Date: 03/05/2013 15:57:37
        Activity Name: CAPACITY OF PRIMARY TAPE STORAGE
         Element Name: CAPACITY OF PRIMARY TAPE STORAGE
Element Numeric Value: 0
 Element String Value:
        Element State: NORMAL

          Server Name: SERVER1
        Activity Date: 03/05/2013 15:57:37
        Activity Name: USED CAPACITY OF PRIMARY TAPE STORAGE
         Element Name: USED CAPACITY OF PRIMARY TAPE STORAGE
Element Numeric Value: 0
 Element String Value:
        Element State: NORMAL

Display monitoring settings

Display details about the monitoring status.
query monitorstatus f=d type=active
Example output:
                       Server Name: SERVER1
                     Activity Date: 03/05/2013 15:57:37
                     Activity Name: CAPACITY OF PRIMARY DISK AND FILE STORAGE
                      Element Name: CAPACITY OF PRIMARY DISK AND FILE STORAGE
             Element Numeric Value: 0
              Element String Value:
                     Element State: NORMAL
                   Element Details:
         Primary Repair Suggestion:
 First Alternate Repair Suggestion:
Second Alternate Repair Suggestion:

                       Server Name: SERVER1
                     Activity Date: 03/05/2013 15:57:37
                     Activity Name: USED CAPACITY OF PRIMARY DISK AND FILE STORAGE
                      Element Name: USED CAPACITY OF PRIMARY DISK AND FILE STORAGE
             Element Numeric Value: 0
              Element String Value:
                     Element State: NORMAL
                   Element Details:
         Primary Repair Suggestion:
 First Alternate Repair Suggestion:
Second Alternate Repair Suggestion:

                       Server Name: SERVER1
                     Activity Date: 03/05/2013 15:57:37
                     Activity Name: CAPACITY OF PRIMARY TAPE STORAGE
                      Element Name: CAPACITY OF PRIMARY TAPE STORAGE
             Element Numeric Value: 0
              Element String Value:
                     Element State: NORMAL
                   Element Details:
         Primary Repair Suggestion:
 First Alternate Repair Suggestion:
Second Alternate Repair Suggestion:

                       Server Name: SERVER1
                     Activity Date: 03/05/2013 15:57:37
                     Activity Name: USED CAPACITY OF PRIMARY TAPE STORAGE
                      Element Name: USED CAPACITY OF PRIMARY TAPE STORAGE
             Element Numeric Value: 0
              Element String Value:
                     Element State: NORMAL
                   Element Details:
         Primary Repair Suggestion:
 First Alternate Repair Suggestion:
Second Alternate Repair Suggestion:

Related commands

Table 1. Commands related to QUERY MONITORSTATUS
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 MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) Displays information about monitoring alerts and server status settings.
QUERY STATUSTHRESHOLD (Query status monitoring thresholds) Displays information about a status monitoring thresholds.
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.