跳转到主内容

SNMP 文章的文档参考是什么?

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

适用场景

  • ONTAP EMS
  • ONTAP 9.x
  • 集群模式 Data ONTAP 8.3
  • Data ONTAP 8.2 7-模式

问题解答

本文列出了大多数SNMP操作和故障排除工作流。但是,这不是一个全面的清单。这可用于将搜索范围缩小到更常用的故障排除知识库、并按特定类别进行细分。

概述:什么是SNMP?

简单网络管理协议(Simple Network Management Protocol, SNMP)是一种Internet标准应用层协议,用于管理IP网络上的设备。可以对SNMP进行配置、以监控和管理存储系统及其功能。® 运行® 7-模式Data ONTAP的NetApp存储系统以及® 运行集群模式Data ONTAP®的NetApp存储系统均支持SNMP。SNMP基于代理/管理器模型。

7-模式与集群模式Data ONTAP对SNMP的支持之间的差异

® 集群®® 模式Data ONTAP和在7-模式下运行的Data ONTAP使用通用的SNMP自定义MIB (NetApp.MIB)文件、但这两种操作模式的NetApp支持级别有所不同。

有关在Data ONTAP® 8.2.x中为® 7-模式Data ONTAP和集群模式Data ONTAP提供的SNMP MiB和SNMP陷阱支持级别® 以及8.3.x和9.0中提供的支持级别的概述、请参见以下技术报告。
TR-Guide:《Data ONTAP中的SNMP支持》®

配置链接:
ONTAP

SNMP配置快速指南(8.39.x)
SNMP管理指南(8.2 7-模式8.39.x)
System Manager SNMP指南(8.2 7-模式、8.3 9.x)

从Data ONTAP 8.3开始、OnCommand系统管理器是Data ONTAP的捆绑组件、其文档是Data ONTAP文档集的一部分。

9.x中的已知问题描述:  使用System Manager测试陷阱主机配置失败

' Data ONTAP API失败;没有为此命令授权(错误:13003)'

错误  1058259-SNMP-test-陷阱 触发器在ONTAP 9.0和9.1中失败

:仅会影响System Manager中的测试陷阱调用。配置更改将应用于ONTAP。

OnCommand产品

适用于集群模式Data ONTAP的OnCommand Unified Manager7.2
OnCommand Workflow Automation (版本链接)

常见问题:

内置陷阱与使用SNMP对象OID 提取数据之间有何区别?

内置陷阱在Data ONTAP中预定义® 、如果发生事件、它们会自动发送到陷阱主机列表上的网络管理工作站。这些陷阱(例如diskFailedShutdown、cpuTooBusy和volumeNearlyFull)在自定义MIB中定义。每个内置陷阱都通过一个唯一的陷阱代码来标识。
 基本上、NetApp内置陷阱没有可用于执行smpget或smpwalk的OID。
 

如何查找支持SNMP的EMS事件?

要查看支持SNMP的EMS事件、只需查询EMS目录并利用SNMP-support标志即可。
要查看整个列表:
::> event route show -snmp-support true
 
在以下示例中、将针对支持SNMP陷阱的EMS卷事件发送查询。  
 ::> event route show -snmp-support true -messagename *vvol*                                                                                                                                                                                                                                   Freq      Time
Message                          Severity                Destinations                   Threshd Threshd
-------------------------------- --------------             --------------                          -------     -------
wafl.vvol.offline               INFORMATIONAL     -                                       0            0
wafl.vvol.online               INFORMATIONAL     -                                        0            0
wafl.vvol.restrict              INFORMATIONAL     -                                        0            0
3 entries were displayed.

 

已知错误:

集群模式 ONTAP

Error: command failed: Failed to add or change SNMP destination because all SNMP destinations defined in both the SNMP and event subsystems mustmatch. Use the "system snmp traphost show" or "event destination show-name traphost" commands to see the current list of traphost destinations.

分辨率:

在集群模式Data ONTAP上删除SNMP陷阱主机时出错
 

Error: The user "public" is currently configured for sending notifications. Delete all traphosts associated with this user using "traphost delete" command and try again.
command failed: resource in use

分辨率:

此消息指示您已配置陷阱主机。首次配置陷阱主机时、它们会根据默认的public commpty字符串与默认的默认smpuser "public"关联。 

1.验证是否已配置陷阱主机
::>系统SNMP 
2.删除任何陷阱(记录信息以便根据需要重新添加)
::> system SNMP陷阱主机delete -peer-address
3。删除Public团体字符串
::>system SNMP团体delete -Community-name public-type ro
4。重新添加您的陷阱
::>system SNMP陷阱主机添加
 

Error: ONTAP 9.2 and earlier software can send an SNMP trap to previously configured trap hosts even  after removal

分辨率:
错误- 982104 -遵循临时解决策 
  1. 删除所有陷阱主机、以清除数据库并添加当前陷阱主机。

:::>系统SNMP陷阱主机删除

  1. 添加当前陷阱主机

:::> system SNMP陷阱主机添加

追加信息

其他信息文本

 

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.