ESXI开启snmp协议方法

Posted dev0ps

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ESXI开启snmp协议方法相关的知识,希望对你有一定的参考价值。

公司用VMware做虚拟化,15+HPE 服务器做集群,现需要用zabbix监控其状态,于是想通过打开主机的snmp协议来采集数据,监控其状态,注意其数据是ESXI系统返回的。

ssh登录到ESXI上执行命令如下:

esxcli system snmp set --enable true
esxcli system snmp set --communities public

[[email protected]:~] esxcli system snmp set --enable true
[[email protected]:~] esxcli system snmp set --communities public
[[email protected]:~] esxcli system snmp get
   Authentication:
   Communities: public
   Enable: true
   Engineid: 00000063000000a100000000
   Hwsrc: indications
   Largestorage: true
   Loglevel: info
   Notraps:
   Port: 161
   Privacy:
   Remoteusers:
   Syscontact:
   Syslocation:
   Targets:
   Users:
   V3targets: 

 

以上是关于ESXI开启snmp协议方法的主要内容,如果未能解决你的问题,请参考以下文章

zabbix snmp 监控Esxi6.0 无法开启snmp服务

ESXi 5.1开启并配置SNMP

ESXi 5.5开启并配置SNMP

Cacti监控ESXI主机步骤详解

PowerCLI 通过vCenter批量设置所有esxi主机SNMP

PowerCLI 通过vCenter批量设置所有esxi主机SNMP