网上看到很多人用VMware
1:开启主机ssh协议
2:远程连接到esxi主机修改文件 /etc/vmware/snmp.xml如下:
<config><snmpSettings><enable>true</enable><port>161</port><EnvEventSource>indications</EnvEventSource>
<loglevel>info</loglevel><communities>public</communities><targets>192.168.100.23 public</targets></snmpSettings></config>
public是什么 大家应该明白撒,192.168.100.23就是用来监控的主机地址。
3:上面修改完之后保存,然后通过vcenter开启esxi主机的snmp协议即可。
配置--->安全配置文件--->服务属性,然后选中snmp服务开启即可。
如果不修改snmp.xml文件 第3的一步是会报错的。所以不需要什么工具,只需要按照上面的格式修改snmp.xml文件即可。