跳转到主内容

使用 mapsconfig --testmail 从 Brocade 交换机触发测试电子邮件后无法接收测试电子邮件

Views:
6
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
brocade
Last Updated:

适用于

  • Brocade 交换机
  • SNMP

问题描述

  • 使用"mapsconfig --testmail"从 Brocade 交换机触发测试电子邮件后,无法接收测试电子邮件。
  • 从 Brocade 交换机"mapsconfig --testmail"触发测试电子邮件时,ping SMTP 中继服务器成功。  但在触发测试电子邮件期间未捕获数据包。
  • 以下raslog消息记录在交换机下errdump-

Alert msg:"2024/09/11-19:40:01, [MAPS-1206], 3127, CHASSIS, INFO, switch, A MAPS email notification sent from the switch could not be delivered to Email server."

  • errdump中可以看出,由于无法访问电子邮件服务器,无法发送 MAPS 电子邮件。 

2024/08/27-08:00:00, [MAPS-1207], 3095, CHASSIS, INFO, switch, There were 2 email delivery errors in the last hour.
2024/08/28-18:42:01, [MAPS-1206], 3096, CHASSIS, INFO, switch, A MAPS email notification sent from the switch could not be delivered to Email server.
2024/08/28-19:00:00, [MAPS-1207], 3097, CHASSIS, INFO, switch, There were 4 email delivery errors in the last hour.
2024/08/31-18:38:00, [MAPS-1206], 3098, CHASSIS, INFO, switch A MAPS email notification sent from the switch could not be delivered to Email server.

  • 使用 mapsconfig --show 验证 MAPS 的配置,并确保 Mail RecipientMail from Address 正确列出。

switch:FID128:root> mapsconfig --show
Configured Notifications:     EMAIL,SW_CRITICAL,SW_MARGINAL,SFP_MARGINAL
Mail Recipient:          xxxx@xyz.com
Mail From Address:        abd@efg.com
Raslog Mode:           Default
Decom Action Config:       With Disable
Global Quiet Time:        Not Configured
Paused members :
================
PORT :
CIRCUIT :
SFP :
SWITCH :

  • "relayconfig --show"输出表示中继域名为"snmp"。确保所设置的中继域名有效且正确。

switch:FID128:root> relayconfig --show
Relay Host:            10.72.217.36
Relay Domain Name:        snmp

  • "dnscongig --show"输出表示domain namename server IP address未设置。

CHASSISCMD /fabos/cliexec/dnsconfig --show:

Tue Sep 17 08:28:46 GMT 2024
********************************************************
/fabos/cliexec/dnsconfig --show:

Domain Name Server Configuration Information
____________________________________________

  • 在登录为"root"的交换机上,echo "test email from switch"给出以下输出-

Switch:FID128:root> echo "test email from switch" | sendmail -v xxxx@xyz.com
Who are you?: Permission denied
tatacommunications.com: Name server timeout
xxxx@xyz.com... Transient parse error -- message queued for future delivery
xxxx@xyz.com... queued

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.