ESXi 无法开启SNMP的解决方法
问题描述:
Call "HostServiceSystem.Start" for object "serviceSystem"
解决方法:
Log in to a console or SSH session on your host.
Go to the directory /etc/vmware:
cd /etc/vmware
Run this command to back up the snmp.xml file.
cp snmp.xml snmp.xml.bkup
Copy and paste this content in the snmp.xml file:
<?xml version="1.0" encoding="ISO-8859-1"?> <config> <snmpSettings> <enable>true</enable> <port>161</port> <syscontact></syscontact> <syslocation></syslocation> <EnvEventSource>indications</EnvEventSource> <communities>public</communities> <loglevel>info</loglevel> <authProtocol></authProtocol> <privProtocol></privProtocol> </snmpSettings> </config>
- Save and close the file.
- Start the snmpd service from vCenter Server using the Sphere Client.