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>trueenable>
        <port>161port>
        <syscontact>syscontact>
        <syslocation>syslocation>
        <EnvEventSource>indicationsEnvEventSource>
        <communities>publiccommunities>
        <loglevel>infologlevel>
        <authProtocol>authProtocol>
        <privProtocol>privProtocol>
    snmpSettings>
config>        

 

  1. Save and close the file.
  2. Start the snmpd service from vCenter Server using the Sphere Client.

转载于:https://www.cnblogs.com/zhnhelloworld/p/6604429.html

你可能感兴趣的:(ESXi 无法开启SNMP的解决方法)