9.7.7.2 LIST ALERTHISTORY
Purpose
The LIST ALERTHISTORY
command displays all alerts that occurred on
the database server.
Syntax
LIST ALERTHISTORY [name
|attribute_filters
] [attribute_list
] [DETAIL]
Usage Notes
-
You can use the DESCRIBE ALERTHISTORY command to view the complete list of
ALERTHISTORY
attributes. -
A
WHERE
clause can include theageInMInutes
attribute to specify the list is limited to those alerts which have the specified age. For example, the following command would show the alerts created in the previous 15 minutes:DBMCLI> LIST ALERTHISTORY WHERE ageInMinutes < 15
Examples
Example 9-61 shows the LIST
command with the ALERTHISTORY
object.
Example 9-61 Listing ALERTHISTORY Attributes
DBMCLI> LIST ALERTHISTORY 1_1 DETAIL name: 1_1 alertDescription: "Data hard disk of size 300GB in slot 3 entered predictive failure status" alertMessage: "Data hard disk entered predictive failure status. Status : WARNING - PREDICTIVE FAILURE Manufacturer : HITACHI Model Number : H103030SCSUN300G Size : 300GB Serial Number : 1026GZKMDE Firmware : A2A8 Slot Number : 3" alertSequenceID: 1 alertShortName: Hardware alertType: Stateful beginTime: 2014-09-22T20:18:23-05:00 examinedBy: metricObjectName: 252:3 notificationState: 0 sequenceBeginTime: 2014-09-22T20:18:23-05:00 severity: critical alertAction: "Informational. The hard disk has entered predictive failure status. A white DB server locator LED has been turned on to help locate the affected cell, and an amber service action LED has been lit on the drive to help locate the affected drive. Detailed information on this problem can be found at https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1112995.1 Automatic Service Request has been notified with Unique Identifier: c84839be-e8d8-4e5e-b315-e145ccd7cbc8."
Parent topic: LIST