ESXi 5.1 Enable and configure SNMP

Source: Internet
Author: User
Tags snmp

the ESXI5 integrated SNMP agent cannot install the full SNMP service. Enable the SNMP agent to use the VMware vSphere CLI command line. After opening, you can use the Monitoring software to query SNMP -based host information.

1: After successfully installing the vshpere CLI , you can enable it to turn on the VMware SNMP service .

1.c:\program Files (x86) \vmware\vmware vSphere cli\bin>vicfg-snmp.pl--server 96.0.0.237--username root--password 123456789-C Public * * * Set SNMP address word: public***
Changing Community list To:public ...
Complete.

2.c:\program Files (x86) \vmware\vmware vSphere cli\bin>vicfg-snmp.pl--server 96.0.0.237--username root--password 123456789--enable * * * * allow SNMP function to be turned on * *
Enabling Agent ...
Complete.

3.c:\program Files (x86) \vmware\vmware vSphere cli\bin>vicfg-snmp.pl--server 96.0.0.237--username root--password 123456789-S * * * Query ESXi host SNMP Status * * *
Current SNMP Agent Settings:
Enabled:1
UDP port:161

Communities:
Public

Notification Targets:

Options:
Enveventsource=indications
engineid=00000063000000a100000000
Loglevel=info

2: start snmp via vcenter, everything is OK.

Open ESXi5 Firewall allows SNMP protocol

Select a virtual machine ESXi5 Host - configuration - Security profile - firewall - properties - check "SNMP Server"- Firewall - check Allow any IP connections.


ESXi 5.1 Enable and configure SNMP

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.