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.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM