ONTAP AutoSupport(传输 SMTP)传输失败解决指南
适用于
- ONTAP 9
- AutoSupport
- 传输 SMTP
说明
我们的 NetApp 节点似乎没有发送任何 AutoSupport 电子邮件
- 请遵循此指南,帮助您找到问题或疑问的适当解决方案。
验证当前配置
为了获得更流畅的体验,请运行以下命令来收集您的 Nodes 配置
::>autosupport show -node <node name> -instance
Node: cluster-01
State: enable
SMTP Mail Hosts: mailhost
From Address: admin@email.com
List of To Addresses: address1@email.com,address2@email.com
List of Noteto Addresses: -
List of Partner Addresses: -
Send AutoSupport Messages to Vendor Support: enable
Protocol to Contact Support: SMTP
Support Proxy URL:
验证连接是否正常
cluster1::> system node autosupport check show -node node2 On Demand Node HTTP/HTTPS Server SMTP Configuration ---------------- ---------- ---------- ---------- ------------- node2 ok ok ok ok
连接失败
- 如果连接失败,则必须检查与 Mailhost 的连接。
操作步骤
如何查找传输失败的原因
选项 1 - 审阅 AutoSupport 历史记录
system autosupport history show -node * -fields node ,seq-num ,status ,error ,destination
seq-num destination status error
------- ----------- ------ -----
39 http ignore ""
39 smtp transmission-failed Failed sending data to the peer
39 noteto ignore ""
38 http ignore ""
38 smtp sent-successful ""
38 noteto ignore ""
选项 2 - 审核 notifyd.log
node run -node (node name) -command rdfile /etc/log/mlog/notifyd.log
- 复制到您最喜爱的文本编辑器
- 找到错误:使用 ctrl F 并搜索
在大多数情况下,您可以从以下行开始 (message: Closing connection #0) 并查看真正的错误消息。
提示: 使用下表查看要查找的其他消息
SMTP 错误 |
解决方案 |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
这是 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
追加信息
- 在与 NetApp 支持或合作伙伴合作时,我们建议您手动上传完整的 AutoSupport(如果无法传送至 NetApp)。
- 这将加快解决流程。 如何在 ONTAP 9 中手动将 AutoSupport 消息上传到 NetApp