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
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
backuppoolhas 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:
Field descriptions
- Server Name
- The name of the server.
- Activity Date
- The last date and time activity was reported.
- Activity Name
- The name of the activity.
- Element Name
- The name of the element.
- Element Numeric Value
- The numeric value of the element.
- Element String Value
- The string value of the element.
- Element State
- The state of the element.
- Element Details
- The detailed information of the element.
- Primary Repair Suggestion
- The primary repair suggestion.
- First Alternate Repair Suggestion
- The repair suggestion to follow if the primary suggestion is not adequate.
- Second Alternate Repair Suggestion
- The repair suggestion to follow if the primary and first alternate suggestions are not adequate.
