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