Enable download of SNMP server and cacti_ESXI_5.x template in ESXI 5.5 5.1

Source: Internet
Author: User
Tags snmp

ESXi5 is integrated with the SNMP agent and cannot install the complete SNMP service. To enable the SNMP agent, run the VMware vSphere CLI command line (the VMware vSphere CLI component must be installed ). You can use the monitoring software to query SNMP-based host information.


1: After vshpere cli is successfully installed, you can enable the vmware snmp service.

D: \ Program Files (x86) \ VMware vSphere CLI \ bin>
D: \ Program Files (x86) \ VMware vSphere CLI \ bin> vicfg-snmp.pl -- server 10.10.10.11 -- username root-password "pass word"-s // query the SNMP configuration status of the ESXi server
D: \ Program Files (x86) \ VMware vSphere CLI \ bin> vicfg-snmp.pl -- server 10.10.10.11 -- username root-password "pass word"-c public // Set snmp Contact Group name: public
D: \ Program Files (x86) \ VMware vSphere CLI \ bin> vicfg-snmp.pl -- server 10.10.10.11 -- username root -- password "pass word" -- enable // enable snmp
D: \ Program Files (x86) \ VMware vSphere CLI \ bin> vicfg-snmp.pl -- server 10.10.10.11 -- username root -- password "pass word" -- test // test whether the configuration is successful



2: Start the snmp service through vCenter or directly connect to ESXi. Everything works normally.

Enable ESXi5 firewall to allow SNMP protocol (ESXi 5.5 allows all hosts to access the snmp service by default)

Select the virtual machine ESXi5 host-configuration-security configuration file-firewall-properties-select "SNMP server"-firewall-select "allow any IP connection" or set to allow only 10.10.0/24 access.


3. Monitor ESXi 5

First install the cacti esxi 5.x host template

The template can be found at the bottom of the article (this is due to 51ctoblog restrictions, only the fixed format attachment can be uploaded, the installation package is in. Zip, *** .tar.gz)



Upload to the cacti Server, and then

(Note: If your cacti version is 0.8.7, select cacti_0.8.7_host_template_esxi_5_x.xml as the import template.

If your cacti version is 0.8.8, select ccacti_0.8.8_host_template_esxi_5_x.xml as the import template)

Tar xf unzip // decompress the compressed package cd cacte_esxi_template // enter the decompressed directory cp resource/snmp_queries/*/var/www/html/resource/snmp_queries // Copy the script to cacti script directory chown apache: apache/var/www/html/resource/snmp_queries/esxi * // change the script owner cp scripts/ss_esxi_vhosts.php/var/www/html/scripts // Copy the php script to the cacti php script directory chown apache: apache/var/www/html/scripts/ss_esxi_vhosts.php // change chmod 755/var/www/html/scripts/ss_esxi_vhosts.php of the script owner to add the script execution permission


Then you can add a monitoring host on the cacti web page. Select ESXi 5.x as the host template.

650) this. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/4D/F1/wKioL1Rcji3RyJK_AAATxfl05Tc759.jpg "title =" 1.png" alt = "wKioL1Rcji3RyJK_AAATxfl05Tc759.jpg"/>



Cacti ESXi 5.x monitoring template attachment is downloaded below

This article is from the "Mr. Sor" blog, please be sure to keep this source http://professor.blog.51cto.com/996189/1574123

Enable download of SNMP server and cacti_ESXI_5.x template in ESXI 5.5 5.1

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.