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>        

 

  1. Save and close the file.
  2. Start the snmpd service from vCenter Server using the Sphere Client.
posted @ 2017-03-23 12:11  张楠0412  阅读(2771)  评论(0编辑  收藏  举报