由于无法访问SMTP服务器、未生成事件通知
适用场景
- ONTAP 9
- SMTP 服务器
问题描述
- 按照以下知识库文章为电子邮件通知配置事件筛选器: 如何为电子邮件目标配置事件筛选器和事件通知
::> 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.
- 如果尝试为电子邮件通知生成测试事件、则不会触发任何事件:
::> 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.
- 但是、系统日志服务器上会针对 同一筛选器触发事件:
::*> 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