SMTPサーバに到達できないため、イベント通知が生成されませんでした
環境
- ONTAP 9
- SMTP サーバ
問題
- イベントフィルタは、次の技術情報アーティクル「 How to configure event filter and event notification for email destination」に従ってEメール通知用に設定します。
::> event notification show
ID Filter Name Destinations
---- ------------------------------ -----------------
1 default-trap-events snmp-traphost
2 Events_filter Email_Notification
3 Events_filter Syslog
3 entries were displayed.
- 次のイベントは、Eメール通知用のテストイベントを生成しようとしたときにトリガーされません。
::> set diag
::*> event generate -node Node-01 -message-name monitor.volume.nearlyFull -values TEST,TEST,TEST,TEST,TEST,TEST
::*> event notification history show -destination Email_Notification
There are no entries matching your query.
- ただし、 同じフィルタに対してSyslogサーバでイベントがトリガーされます。
::*> event notification history show -destination Syslog
Time Node Severity Event
------------------- ---------------- ------------- ---------------------------
11/20/2023 06:32:52 Node-01 ERROR monitor.volume.nearlyFull: TEST TESTTESTTEST is nearly full (using or reserving TEST% of space and TEST% of inodes).
- SMTPホスト名は、次のイベント設定に記載されています。
::*> event config show
Mail From: admin@localhost
Mail Server: smtp.server.com
Proxy URL: -
Proxy User: -
Publish/Subscribe Messaging Enabled: true
- SMTPサーバにpingを実行しようとすると、次のエラーが表示されて失敗します。
::*> network ping -node Node-01 -destination smtp.server.com
Unknown host smtp.server.com