先打开ESXi的SSH功能,通过SSH登录到主机
编辑ESXi主机上的/etc/vmware/snmp.xml的文件,格式如下:
<config>
<snmpSettings>
<communities>【community值】</communities>
<enable>【true/false】</enable>
<targets>【snmp trap接收服务器】</targets>
</snmpSettings>
</config>
填写好之后,再去你的图那里去启动snmp就行了。
收起