Use this command to display the history of events that are enabled or disabled by a specified receiver for the server or for a client node.
Privilege Class
Any administrator can issue this command.
Syntax
.-*---------------------. >>-Query--EVENTRUles----+-----------------------+---------------> | .-,----------------. | | V | | '----+-CONSOLE-----+--+-' +-ACTLOG------+ +-EVENTSERVER-+ +-FILE--------+ +-FILETEXT----+ +-SNMP--------+ +-TIVOLI------+ '-USEREXIT----' >-----+-----------------------------+-------------------------->< +-NODEname--=--node_name------+ '-SERVername--=--server_name--'
Parameters
You can use a wildcard character to specify all receivers.
Valid values are:
Examples
Task 1
Display the history of client events enabled or disabled for the server console and activity log receivers.
+--------------------------------------------------------------------------------+ |Date/Time Client Event Rules | |-------------------- ---------------------------------------------------- | |05/29/97 13:39:58 ENABLE EVENTS CONSOLE ANE4001 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4962 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4963 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4965 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4966 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4967 NODENAMES=JEE | |05/30/97 13:46:25 DISABLE EVENTS ACTLOG ANE4968 NODENAMES=JEE | |05/30/97 14:24:20 ENABLE EVENTS CONSOLE ANE4015 NODENAMES=RON | |05/30/97 14:24:50 ENABLE EVENTS CONSOLE ANE4026 NODENAMES=DONNA | |05/30/97 14:25:59 ENABLE EVENTS CONSOLE ANE4015 NODENAMES=DONNA | +--------------------------------------------------------------------------------+
Task 2
Display the history of server events enabled or disabled for all receivers.
+--------------------------------------------------------------------------------+ |Date/Time Server Event Rules | |-------------------- ---------------------------------------------------- | |05/22/97 14:35:13 ENABLE EVENTS CONSOLE ANR2578 | |05/30/97 14:29:31 ENABLE EVENTS CONSOLE ANR0272 | |05/30/97 14:31:46 ENABLE EVENTS USEREXIT ANR0130 | |05/30/97 14:31:54 ENABLE EVENTS USEREXIT ANR0131 | |05/30/97 14:50:28 ENABLE EVENTS USEREXIT ANR0266 | +--------------------------------------------------------------------------------+
Related Commands
Table 163. Commands Related to QUERY ENABLED
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 ENABLED | Displays enabled or disabled events for a specific receiver. |