跳转到主内容

ONTAP AutoSupport(传输 SMTP)传输失败解决指南

Views:
224
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用于

  • 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

  1. 复制到您最喜爱的文本编辑器
  2. 找到错误:使用 ctrl F 并搜索

在大多数情况下,您可以从以下行开始 (message: Closing connection #0) 并查看真正的错误消息。

提示: 使用下表查看要查找的其他消息

 
SMTP 错误
解决方案
  • 发送成功
    • 一旦确定 SMTP(邮件主机)服务器已接受电子邮件,ONTAP 将认为 AutoSupport 消息发送成功。
    • 但是,该消息可能已被您的邮件主机服务器丢弃,并且从未转发到 NetApp.com
  • [警告:无法扫描,提取失败]
  • 无法连接到 support.netapp.com/cn 端口 443:操作超时
  • 消息:无法解析主机:support.netapp.com
  • 无法将数据发送到对等项
  • 消息:530 5.7.57 SMTP;客户端在 MAIL FROM 期间未通过身份验证,无法发送匿名邮件
  • 消息:550 5.1.7
  • 消息:550 5.7.1 无法中继
  • 554 5.7.1 :客户端主机被拒绝:拒绝访问
  • READMSG:550 5.7.1 <autosupport@netapp.com>...中继被拒绝
  • READMSG:554 来自用户 _@domain.com 的邮件因策略原因被拒绝
  • 554 5.7.1 : 客户端主机被拒绝:访问被拒绝

这是 'from address'。mailhost 中继策略不允许此帐户中继

  • 消息:550 5.7.606 拒绝访问,禁止发送 IP
  • 消息:550 5.7.0 消息大小违规
  • 消息:550 5.7.0 附件违规
  • 451 5.7.3 发送邮件需要 STARTTLS
  • 530 5.7.0 必须首先发出 STARTTLS 命令
  • 最后一个错误:向对等方发送数据失败
  • 消息:553 不允许指定的域
  • 错误信息:FTP:服务器回复异常
  • 421 服务不可用
  • 已超出拒绝服务保护限制。

 

追加信息

SMTP 设置和配置

 

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.