9.7.7.2 LIST ALERTHISTORY
用途
LIST ALERTHISTORYコマンドは、データベース・サーバーで発生したすべてのアラートを表示します。
構文
LIST ALERTHISTORY [name|attribute_filters] [attribute_list] [DETAIL]
使用上のノート
-
DESCRIBE ALERTHISTORYコマンドを使用すると、
ALERTHISTORYの属性をすべて一覧表示できます。 -
WHERE句にageInMInutes属性を追加すると、経過時間が指定範囲内のアラートのみをリスト表示するように指定できます。たとえば、次のコマンドでは、直前の15分間に作成されたアラートが表示されます。DBMCLI> LIST ALERTHISTORY WHERE ageInMinutes < 15
例
例9-61は、ALERTHISTORYオブジェクトを指定したLISTコマンドを示しています。
例9-61 ALERTHISTORYの属性の表示
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."親トピック: LIST