Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

ONTAPシステムヘルスアラートの自動受信

共同作成者 netapp-aaron-holt netapp-aherbin netapp-dbagwell netapp-thomi

コマンドを使用すると、システムヘルスアラートを手動で表示できます system health alert show。ただし、ヘルスモニタがアラートを生成したときに通知を自動的に受信するには、特定のEvent Management System(EMS;イベント管理システム)メッセージに登録する必要があります。

タスクの内容

次の手順では、すべてのhm.alert.raisedメッセージおよびすべてのhm.alert.clearedメッセージの通知を設定する方法を示します。

すべての hm.alert.raised メッセージとすべての hm.alert.cleared メッセージには SNMP トラップが含まれます。SNMPトラップの名前はと HealthMonitorAlertCleared`です `HealthMonitorAlertRaised

の詳細については system health alert show、を"ONTAPコマンド リファレンス"参照してください。

手順
  1. コマンドを使用して event destination create、EMSメッセージの送信先を定義します。

    cluster1::> event destination create -name health_alerts -mail admin@example.com

    の詳細については event destination create、を"ONTAPコマンド リファレンス"参照してください。

  2. コマンドを使用し `event route add-destinations`て、メッセージと `hm.alert.cleared`メッセージを送信先にルーティングし `hm.alert.raised`ます。

    cluster1::> event route add-destinations -messagename hm.alert* -destinations health_alerts

    の詳細については event route add-destinations、を"ONTAPコマンド リファレンス"参照してください。