日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。
廃止された ONTAP コマンドから EMS イベントマッピングを更新します
共同作成者
-
このドキュメント ページのPDF
-
ボリューム管理
- CLI を使用した論理ストレージ管理
-
NAS ストレージ管理
-
CLIを使用したSMBの管理
- SMB を使用したファイルアクセスの管理
-
CLIを使用したSMBの管理
- セキュリティとデータ暗号化
-
ボリューム管理
PDF版ドキュメントのセット
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
廃止されたONTAP コマンドセットを使用してEMSイベントマッピングが設定されている場合 (event destination
、 event route`を使用するには、この手順 に従ってマッピングを更新する必要があります `event filter
、 event notification`および `event notification destination
コマンドセット。
手順
-
を使用して、システム内のすべてのイベントの送信先を一覧表示します
event destination show
コマンドを実行しますcluster-1::event*> destination show Hide Name Mail Dest. SNMP Dest. Syslog Dest. Params ---------------- ----------------- ------------------ ------------------ ------ allevents - - - false asup - - - false criticals - - - false pager - - - false test test@xyz.com - - false traphost - - - false 6 entries were displayed.
-
各送信先について、を使用してマッピングされているイベントを一覧表示します
event route show -destinations <destination name>
コマンドを実行しますcluster-1::event*> route show -destinations test Freq Time Message Severity Destinations Threshd Threshd -------------------------------- -------------- -------------- ------- ------- raid.aggr.autoGrow.abort NOTICE test 0 0 raid.aggr.autoGrow.success NOTICE test 0 0 raid.aggr.lock.conflict INFORMATIONAL test 0 0 raid.aggr.log.CP.count DEBUG test 0 0 4 entries were displayed.
-
対応するを作成します
event filter
これには、これらすべてのイベントのサブセットが含まれます。 たとえば、のみを含める場合などですraid.aggr.
*イベントの場合は、にワイルドカードを使用しますmessage-name
フィルタ作成時のパラメータ。単一のイベントに対するフィルタを作成することもできます。最大 50 個のイベントフィルタを作成できます。 cluster-1::event*> filter create -filter-name test_events cluster-1::event*> filter rule add -filter-name test_events -type include -message-name raid.aggr.* cluster-1::event*> filter show -filter-name test_events Filter Name Rule Rule Message Name SNMP Trap Type Severity Position Type ----------- -------- --------- ---------------------- --------------- -------- test_events 1 include raid.aggr.* * * 2 exclude * * * 2 entries were displayed.
-
を作成します
event notification destination
をクリックしますevent destination
エンドポイント(SMTP、SNMP、syslogなど)cluster-1::event*> notification destination create -name dest1 -email test@xyz.com cluster-1::event*> notification destination show Name Type Destination -------------- ---------- --------------------- dest1 email test@xyz.com (via "localhost" from "admin@localhost", configured in "event config") snmp-traphost snmp - (from "system snmp traphost") 2 entries were displayed.
-
イベントフィルタをイベント通知の送信先にマッピングして、イベント通知を作成します。
cluster-1::event*> notification create -filter-name asup_events -destinations dest1 cluster-1::event*> notification show ID Filter Name Destinations ---- ------------------------------ ----------------- 1 default-trap-events snmp-traphost 2 asup_events dest1 2 entries were displayed.
-
それぞれについて、手順1 ~ 5を繰り返します
event destination
が搭載されていますevent route
マッピング:SNMPの送信先にルーティングされたイベントは、にマッピングする必要があります snmp-traphost
イベント通知の送信先。SNMP トラップホストの送信先では、システムで設定された SNMP トラップホストを使用します。cluster-1::event*> system snmp traphost add 10.234.166.135 cluster-1::event*> system snmp traphost show scspr2410142014.gdl.englab.netapp.com (scspr2410142014.gdl.englab.netapp.com) <10.234.166.135> Community: public cluster-1::event*> notification destination show -name snmp-traphost Destination Name: snmp-traphost Type of Destination: snmp Destination: 10.234.166.135 (from "system snmp traphost") Server CA Certificates Present?: - Client Certificate Issuing CA: - Client Certificate Serial Number: - Client Certificate Valid?: -