Enterprise-level monitoring cacti installation and configuration

Source: Internet
Author: User

Installation Environment:

RHEL 5.8 Apache 2.4 Mysql 5.5 PHP 5.5

First install the lamp platform, installed after the establishment of test page Test no problem to cacti official website to download the installation package, I installed this is cacti 0.8.8c version (latest) 650) this.width=650; "title=" HJ] ' x0bs[9qq7{9% @LW} 0fv.png "alt=" wkiom1sswqszadcuaacrkj5kxye522.jpg "src=" http://s3.51cto.com/wyfs02/M01/57/22/ Wkiom1sswqszadcuaacrkj5kxye522.jpg "/>

The installation process is as follows:

  1. Unzip the tar package into the Apache document directory and rename it:

    Tar XF cacti-0.8.8c.tar-c/usr/local/apache/htdocs/

    MV cacti-0.8.8c cacti

  2. Adding users to perform data acquisition and data storage

    Useradd-s/sbin/nologin Cactiuser

  3. Modify the genus owner of log and RRA

    Chown-r Cactiuser:cactiuser Log Rra

  4. Import the database files from the installation package to MySQL

    Create DATABASE: mysqladmin Create Cactidb

    Import data: MySQL CACTIDB < cacti.mysql

  5. Add a database user

    Mysql-e "GRANT all on cactidb.* to [e-mail protected] identified by ' passwd '"

    Modify the config.php under include

    650) this.width=650; "title=" ' F3w}~x0rn{t9i]}ky83bgu.png "alt=" wkiom1sswefazq8qaac9sozly8o581.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/57/23/wkiom1sswefazq8qaac9sozly8o581.jpg "/>

    Modify cacti Default time zone (config.php)

    650) this.width=650; "title=" 7@fek4yv_6k@n}z%9@u%ekm.png "alt=" wkiol1sswrph37-faaajmb6l5ds982.jpg "src="/HTTP/ S3.51cto.com/wyfs02/m01/57/20/wkiol1sswrph37-faaajmb6l5ds982.jpg "/>

    If you access cacti directly as a virtual host, you also need to modify the following settings

    650) this.width=650; "Title=" V[i3sf@ope1u0x$s (5% (%if.png "alt=" wkiol1ssws_qrlz6aaazeohmgv0267.jpg "src=" http:/ S3.51cto.com/wyfs02/m02/57/20/wkiol1ssws_qrlz6aaazeohmgv0267.jpg "/>

    Configure Apache

    The landlord is using apache2.4.2, and the virtual host to run cacti, so first modify the httpd.conf file to add the following settings: Include Conf/extra/httpd-vhosts.conf, Then configure VHOSTS.CONF to add the virtual host

    650) this.width=650; "title=" HJ] ' x0bs[9qq7{9% @LW}0fv.png ' alt= ' wkiom1sswqszadcuaacrkj5kxye522.jpg ' src= ' http:// S3.51cto.com/wyfs02/m01/57/22/wkiom1sswqszadcuaacrkj5kxye522.jpg "/>

  6. Installation of NET-SNMP (direct yum installation of landlord)

  7. Install RRDtool (to Chinaunix forum download compilation installation)

  8. Open the browser to start the Web installation.

This article is from the "Linux Birds" blog, please be sure to keep this source http://jerrylu.blog.51cto.com/6228145/1591323

Enterprise-level monitoring cacti installation and configuration

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.