7.7.12.3 LIST ALERTHISTORY
用途
LIST ALERTHISTORY
コマンドは、セルで発生したすべてのアラートを表示します。
構文
LIST ALERTHISTORY [ name | attribute_filters ] [attribute_list] [DETAIL]
使用上のノート
-
DESCRIBE ALERTHISTORYコマンドを使用すると、
ALERTHISTORY
の属性をすべて一覧表示できます。 -
WHERE
句にageInMInutes
属性を含めると、経過時間が指定範囲内のアラートのみが出力されるように指定できます。たとえば、次のコマンドでは、直前の15分間に作成されたアラートが表示されます。
CellCLI> LIST ALERTHISTORY WHERE ageInMinutes < 15
例
例7-148は、ALERTHISTORY
オブジェクトを指定したLIST
コマンドを示しています。
例7-149は、オープン・ステートフル・アラートおよびオープン・ステートレス・アラートを示しています。
例7-150は、オープン・ステートフル・アラートのみを示しています。クローズ済アラートはフィルタで除外されています。
例7-151は、クリアされていないアラートを示しています。
例7-148 ALERTHISTORYの属性の表示
CellCLI> LIST ALERTHISTORY 1671443714 DETAIL
name: 1671443714
alertSequenceID: 1671443714
sequenceBeginTime: 1179185707672
beginTime: "Sat May 18 10:14:16 PDT 2009"
endTime: "Sat May 25 10:14:16 PDT 2009"
severity: critical
alertMessage: "Errors in file svtrc_2840_10.trc (incident=13):"
alertShortName: ADR
alertNotified: 0
examinedBy: johndoe
alertType: stateless
CellCLI> LIST ALERTHISTORY WHERE begintime > 'Jun 1, 2009 11:37:00 AM PDT'
39 2009-10-02T12:26:53-07:00 "ORA-07445: exception
encountered: core dump [__kerne l_vsyscall()+5] [6]
[0x408C] [] [] []"
40 2009-10-06T23:28:06-07:00 "RS-7445 [unknown_function]
[signum: 6] [] [] [] [] [ ] []"
41 2009-10-07T00:50:42-07:00 "RS-7445 [Serv MS not responding]
[It will be restart ed] [] [] [] [] [] []"
42 2009-10-07T02:21:19-07:00 "RS-7445 [unknown_function]
[signum: 6] [] [] [] [] [ ] []"
CellCLI> LIST ALERTHISTORY 7 DETAIL
name: 7
alertMessage: "Flash cache mode is set to WriteBack because
there is dirty data in the flash cache."
alertSequenceID: 7
alertShortName: Software
alertType: Stateless
beginTime: 2012-09-10T13:22:38-07:00
examinedBy:
metricObjectName: FlashCache
notificationState: 0
sequenceBeginTime: 2012-09-10T13:22:38-07:00
severity: info
alertAction: "If the newly-assigned mode for flash cache is
not wanted, then change it using the ALTER CELL
command as described in the Oracle Exadata user's
guide."
例7-149 オープン・ステートフル・アラートおよびオープン・ステートレス・アラートの表示
CellCLI> LIST ALERTHISTORY ATTRIBUTES alertsequenceid,name,alerttype \
WHERE endtime=null
1 1 Stateless
3 3 Stateless
11 11_1 Stateful
例7-150 オープン・ステートフル・アラートの表示
CellCLI> LIST ALERTHISTORY WHERE endtime=null AND alerttype=stateful
例7-151 クリアされていないアラートの表示
CellCLI> LIST ALERTHISTORY WHERE endtime=null
1 2014-11-11T11:08:15-08:00 info "Factory defaults restored for
Adapter 0"
3 2014-11-11T11:27:06-08:00 critical "RS-700 [No IP found in Exadata
config file] [Check cellinit.ora]
[] [] [] [] [] [] [] [] [] []"
11_1 2014-12-19T12:01:06-08:00 critical "The HDD disk controller battery
has failed. All disk drives have been placed in WriteThrough caching mode. Disk
write performance may be reduced. The flash drives are not affected. Battery
Serial Number : 1142 Battery Type : ibbu08 Battery Temperature : 39
C Full Charge Capacity : 773 mAh Relative Charge : 83% Ambient
Temperature : 32 C"
親トピック: LIST