QUERY ENABLED (Query enabled events)
Use this command to display either a list of enabled events or a list of disabled events, whichever is shorter.
Privilege class
Any administrator can issue this command.
Syntax
>>-Query--ENabled--+-CONSOLE--------+---------------------------> +-ACTLOG---------+ +-EVENTSERVER----+ +-FILE-----------+ +-FILETEXT-------+ | (1) | +-NTEVENTLOG-----+ | (2) | +-SYSLOG---------+ +-TIVOLI---------+ '-USEREXIT-------' >--+----------------------------+------------------------------>< +-NODEname--=--node_name-----+ '-SERVername--=--server_name-'
Notes:
- This parameter is only available for the Windows operating system.
- This parameter is only available for the Linux operating system.
Parameters
- receiver
- Specifies a type of receiver
for enabled events. This is a required
parameter. Valid values are:
- ACTLOG
- Specifies the IBM Spectrum Protect™ activity log as a receiver.
- CONSOLE
- Specifies the standard server console as a receiver.
- EVENTSERVER
- Specifies the event server as a receiver.
- FILE
- Specifies a user file as a receiver. Each logged event is a record in the file and a person cannot read each logged event easily.
- FILETEXT
- Specifies a user file as a receiver. Each logged event is a fixed-size, readable line.
- NTEVENTLOG
- Specifies the Windows application log as a receiver.
- SYSLOG
- Specifies the Linux system log as a receiver.
- TIVOLI
- Specifies the Tivoli Management Environment (TME) as a receiver.
- USEREXIT
- Specifies a user-written routine to which IBM Spectrum Protect writes information as a receiver.
- NODEname
- Specifies a node name to be queried. You can specify NODENAME or SERVERNAME. If neither parameter is specified, the query is for events enabled for the server running this command.
- SERVername
- Specifies a server name to be queried. You can specify NODENAME or SERVERNAME. If neither parameter is specified, the query is for events enabled for the server running this command.
Example: Query the server for console events
Query the server for server events that are enabled for the console. There are 10000 possible server events. Either a list of enabled events or disabled events is displayed (whichever list is shorter).query enabled console
9998 events are enabled for the CONSOLE receiver. The
following events are DISABLED for the CONSOLE receiver:
ANR8409, ANR8410
Related commands
Command | Description |
---|---|
BEGIN EVENTLOGGING | Starts event logging to a specified receiver. |
DISABLE EVENTS | Disables specific events for receivers. |
ENABLE EVENTS | Enables specific events for receivers. |
END EVENTLOGGING | Ends event logging to a specified receiver. |
QUERY EVENTRULES | Displays information about rules for server and client events. |
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |