Document: SNMP Agent Notifications for ESX and vCenter up to vSphere 6.5
Security: none
Author: mrm@vmware.com <Michael R. MacFaden>
Date: : Wed Oct 5 10:38:57 PDT 2016
Version: 1.12
Source: http://communities.vmware.com/community/developer/forums/managementapi
Introduction:
Notifications on ESXi, NSX and VCSA are composed from IETF standard
and VMWARE enterprise MIB module documents. ESXi may also generate 3rd party notifications
from any vib/CIM providers installed. They may generate OEM events using their enterprise oids.
All VMware MIB modules are compatible back to ESX 2.0, always load the latest set to
manage all vesions of ESXi and ESX Classic. The VMWARE-OBSOLETE-MIB contains any obsolete
objects and would be loaded when running older versions of software. See the VMWARE-*-AGENTCAP-MIB
for which releases of code provide what versions of MIB modules.
Here is a summary of the MIB modules that define notifications which are sent on the wire
as either SNMPv1 Trap Protocol data units (PDUs) or SNMPv3 Trap PDU for VCSA and ESXi,
NSX only supports V2c traps in its first release. See their VMWARE-NSX-AGENTCAP-MIB for details.
Example output is also provided.
Configuring notifications:
William Lam wrote up how to configure trap/inform here for ESXi.
http://blogs.vmware.com/vsphere/2012/11/configuring-snmp-v1v2cv3-using-esxcli-5-1.html
Documentation for VCSA SNMP agent:
VCSA https://pubs.vmware.com/vsphere-60/topic/com.vmware.vsphere.vcsa.doc/GUID-3695CE84-C6DF-497E-BA4E-2B341CC366C5.html
Documentation, 5.1, 5.5, 6.0 for CLI
http://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.monitoring.doc%2FGUID-346CDDC6-8928-466F-A356-C8DAA6112439.html
Configuring NSX: https://www.vmware.com/support/pubs/nsx_pubs.html
Current VMware KB Aricles on SNMP:
* Downloading MIB modules http://kb.vmware.com/kb/1013445
* Listing of all OIDs by type, mib module and name: http://kb.vmware.com/kb/2054359
* Debugging notification (trap/inform) reception http://kb.vmware.com/kb/2035445
* Configuring SNMPv3 inform remotre users in ESXi SNMP agent: http://kb.vmware.com/kb/2033377
* Reverse Poll Feature aka SNMP Trap is repeated every 5 minutes http://ikb.vmware.com/kb/2020271
* Timeouts and SNMP https://ikb.vmware.com/kb/2100602
* Timeouts in ESXi snmp in storage apis: https://ikb.vmware.com/kb/2105674
* Understanding Layer 2 networking as reported by ESXi SNMP http://kb.vmware.com/kb/2118059
* Monitoring VCSA using SNMP (2145018) http://kb.vmware.com/kb/2145018
VMworld 2016 information:
http://blogs.vmware.com/vsphere/2016/08/vmworld-2016-vcenter-server-sessions.html
Session Title: Understand the role SNMP agents play in a VSPHERE Stack
http://vmware.mediasite.com/mediasite/Play/4eab4abb038344f98c2c1e6ef8b7e2fa1d?catalog=dbf1ec28-2557-4dd3-a381-e5fe4ceabc40
Since ESXi 5.x, snmp agent should now be configured with 'esxcli system snmp' instead of vicfg-snmp
script. the vicfg-snmp script is found on VCSA appliance in the bash shell and snmp.set command
in the appliancesh shell.
vicfg-snmp will continue to work. The vicfg-snmp uses VIM API objects will only ever support SNMPv1.
The command line flags have been preserved from the RCLI to esxcli
this allows for easy substitution of 'vicfg-snmp' to 'esxcli system snmp' for example:
esxcli system snmp --hwsrc sensor
esxcli system snmp --no traps <oid[,oid]> # see list of oids in Appendix A below
esxcli system snmp set -t 192.0.2.1/mytesttrapcom --enable 1 # turn on snmp agent and sent traps to one destination.
# SNMPv3 support for informs has been available since ESX 5.1, with no security (noAuthNoPriv)
# is equivalent to SNMPv1
# To define a user and inform target for that user
esxcli system snmp set -u john_doe/-/-/none -i 192.0.2.1@1162/john_doe/none/inform
Configuring notifications with RCLI command (ESX 3.x to ESX 5.0):
First one provides a backward compatibility switch for VMWARE-ENV-MIB for ESX
releases prior to 5.0 use the cmd:
vicfg-snmp --hwsrc sensors # switch to pre-ESXi 5.0 notifcation format
Second, one can now filter out/stop sending notifications. Just provide the
oid in the form enterprise.0.trapid
vicfg-snmp --notraps 1.3.6.1.4.1.6876.1.0.302,1.3.6.1.4.1.6876.1.0.303
ESXi NOTIFICATIONS:
SNMPv2-MIB (http://www.ietf.org/rfc/rfc3418.txt)
coldStart -- sent when ESX reboots
warmStart -- sent when vmware-hostd process restarts
IF-MIB (http://www.ietf.org/rfc/rfc2863.txt)
linkDown -- Physical interface changed to down state
linkUp -- Physical interface changed to down state
When one receives these notifications, they will contain the ifIndex which
when used to poll the ifTable shall see the following
managed objects change state: ifLastChange, ifSpeed, ifOperStatus change state)
VMWARE-VMINFO-MIB
vmPoweredOn TRAP-TYPE
VARIABLES { vmID, vmConfigFile, vmDisplayName }
DESCRIPTION
"This trap is sent when a virtual machine is powered on from a suspended
or a powered off state. The origin of this event can be several:
for instance may be operator initiated, existing vmx process reconnects to control subsystem.
NOTE: vms powered up due to VMotion are not reported. Upon receiving this notification client applications should
poll the vmwVmTable to obtain current status."
::= 1
vmPoweredOff TRAP-TYPE
VARIABLES { vmID, vmConfigFile, vmDisplayName }
DESCRIPTION
"This trap is sent when a virtual machine is powered off. The origin of this event can be several:
for instance may be operator initiated, vmx process terminating abnormally. NOTE: vms powered down due
to VMotion are not reported. Upon receiving this notification client applications should
poll the vmwVmTable to obtain current status."
::= 2
vmHBLost TRAP-TYPE
VARIABLES { vmID, vmConfigFile, vmDisplayName }
DESCRIPTION
"This trap is sent when a virtual machine detects a loss in guest heartbeat. The Guest heartbeat
is only sent if VMware Tools are installed in the Guest OS. Control process will send this event whenever it
determines the number of guest heartbeats for a given period of time have not been received.
Upon receiving this notification client applications should
poll the vmwVmTable to obtain current status."
::= 3
vmHBDetected TRAP-TYPE
VARIABLES { vmID, vmConfigFile, vmDisplayName }
DESCRIPTION
"This trap is sent when a virtual machine detects or regains the required number of guest heartbeats
for a given period of time. This is only sent if VMware tools are installed in the Guest OS.
Upon receiving this notification client applications should
poll the vmwVmTable to obtain current status."
::= 4
vmSuspended TRAP-TYPE
VARIABLES { vmID, vmConfigFile, vmDisplayName }
DESCRIPTION
"This trap is sent when a virtual machine is suspended. The origin of this event may be several: operator
initiated, by software api clients, and by other means.
Upon receiving this notification client applications should
poll the vmwVmTable to obtain current status."
::= 5
VMWARE-CIMOM-MIB
The sfcbd agent in ESXi starting in ESX 5.0 will send a heartbeat once every
5 minutes. This duration can be changed or disabled within sfcbd or filtered
at the snmp agent (see Appendix A)
vmwCimOmHeartbeat TRAP-TYPE
VARIABLES { vmwEnvIndicationTime }
DESCRIPTION
"This notification, if the agent is so configured, will be sent
on a periodic basis to indicate cimom indication delivery is functioning."
::= { vmwCimOmNotifications 401 }
Update the sfcbc configuration etc/sfcb/sfcb.cfg" and add the key "heartbeatInterval"
to the number of seconds it should be sent.
VMWARE-ENV-MIB
Starting with ESXi 5.0, VMware enterprise hardware related notifcations are reported in
the specific identifier field of SNMPv1 trap PDU as follow:
VMWARE-ENV-MIB vmwEnvHardwareEvent notification 1.3.6.1.4.1.6876.0.301
VMWARE-ENV-MIB vmwESXEnvHa
没有合适的资源?快使用搜索试试~ 我知道了~
vmware esxi mibs文件
共57个文件
mib:53个
txt:2个
csv:1个
需积分: 50 20 下载量 103 浏览量
2018-09-27
13:58:39
上传
评论
收藏 378KB ZIP 举报
温馨提示
最新的vmware esxi mibs文件,snmp监控esxi主机用的,下载后解压到/usr/share/snmp/mibs即可
资源推荐
资源详情
资源评论
收起资源包目录
1013445_VMware-mibs-6.6.3-8889470.zip (57个子文件)
vmw
INET-ADDRESS-MIB.mib 16KB
vc-alarms-65.csv 16KB
ENTITY-MIB.mib 58KB
RMON-MIB.mib 145KB
VMWARE-NSX-MANAGER-AGENTCAP-MIB.mib 6KB
Q-BRIDGE-MIB.mib 82KB
HOST-RESOURCES-MIB.mib 51KB
IEEE8021-BRIDGE-MIB.mib 74KB
HOST-RESOURCES-TYPES.mib 10KB
VMWARE-SYSTEM-MIB.mib 4KB
IEEE8023-LAG-MIB.mib 43KB
UUID-TC-MIB.mib 3KB
VMWARE-CIMOM-MIB.mib 2KB
VMWARE-SRM-EVENT-MIB.mib 11KB
VMWARE-HEARTBEAT-MIB.mib 2KB
TCP-MIB.mib 28KB
BRIDGE-MIB.mib 50KB
RMON2-MIB.mib 219KB
VMWARE-RESOURCES-MIB.mib 8KB
notifications.txt 14KB
IPV6-FLOW-LABEL-MIB.mib 2KB
VMWARE-VMINFO-MIB.mib 26KB
list-ids-diagnostics.txt 423B
VMWARE-VCOPS-EVENT-MIB.mib 46KB
SNMPv2-TC.mib 37KB
VMWARE-VRNI-MIB.mib 59KB
VMWARE-OBSOLETE-MIB.mib 15KB
IANA-ADDRESS-FAMILY-NUMBERS-MIB.mib 7KB
IANAifType-MIB.mib 33KB
IEEE8021-Q-BRIDGE-MIB.mib 87KB
IF-MIB.mib 70KB
SNMPv2-MIB.mib 31KB
SNMP-MPD-MIB.mib 5KB
TOKEN-RING-RMON-MIB.mib 91KB
P-BRIDGE-MIB.mib 39KB
VMWARE-TC-MIB.mib 7KB
SNMPv2-SMI.mib 9KB
VMWARE-PRODUCTS-MIB.mib 3KB
UDP-MIB.mib 20KB
VMWARE-VCHA-MIB.mib 24KB
IANA-ENTITY-MIB.mib 6KB
LLDP-V2-MIB.mib 76KB
IP-MIB.mib 182KB
SNMPv2-CONF.mib 8KB
SNMP-FRAMEWORK-MIB.mib 22KB
IEEE8021-TC-MIB.mib 16KB
IP-FORWARD-MIB.mib 45KB
IANA-RTPROTO-MIB.mib 4KB
VMWARE-VC-EVENT-MIB.mib 9KB
LLDP-V2-TC-MIB.mib 16KB
VMWARE-VRNI-AGENTCAP-MIB.mib 4KB
README 2KB
VMWARE-ESX-AGENTCAP-MIB.mib 72KB
VMWARE-ENV-MIB.mib 30KB
VMWARE-VA-AGENTCAP-MIB.mib 21KB
VMWARE-ROOT-MIB.mib 4KB
VMWARE-NSX-MANAGER-MIB.mib 216KB
共 57 条
- 1
资源评论
weixin_42288857
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 原生微信小程序源码 - -仿豆瓣图书
- 原生微信小程序源码 - -滴滴公交-查公交
- 人工智能实验四 感知器算法的设计实现
- java小项目多线程多线程 复制文件 冒泡排序 群聊
- 四数之和(java代码).docx
- 701837906919458TapScanner v3.0.10 (Pro).apk
- 青岛大学人工智能实验二 利用α-β搜索的博弈树算法编写一字棋游戏
- ### 1、项目介绍 本项目Scrapy进行数据爬取,并使用Django框架+PyEcharts实现可视化大屏 效果如下:
- # 微信小程序-健康菜谱 基于微信小程序的一个查找检索菜谱的应用 ### 效果 !动态图(./res/gif/demo
- zabbix-get命令包资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功