How to set up the SNMP for ESXi

Source: Internet
Author: User
Tags snmp
Note: SNMP in ESXi does not support get and only traps are currently supported. Therefore, you cannot get the SNMP information for ESXi with the Get method.
The Vsphere client does not seem to have the ability to set up ESXi host SNMP.    I concluded that there are two ways to do this: first, use the vicfg-snmp.pl command in the vsphere CLI to configure remotely. Vicfg-snmp.pl–-server "ESXi host Address" "parameter 1 Parameter 2 ..." parameter:-e: Enable snmp-d: Turn off SNMP-C: Set community Value-T "SNMP server @[port (optional)"]/community value ": Set The SNMP trap receives the server and provides the shared community value-T: Send SNMP Test signal-S: Display SNMP settings-r: Reset SNMP settings Second, edit the/etc/vmware/snmp.xml file on the ESXi host, in the following format: & Lt;config>
<snmpSettings>
<communities> "Community Value" </communities>
<enable> "True/false" </enable>
<targets> "SNMP trap receive Server" "Shared Community value" </targets>
</snmpSettings>
</config>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.