Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Cacti installation deployment under CentOS 6.6     - Linux, Chrome browser font settings beautification (Linux)

- Python configuration tortuous road of third-party libraries Numpy and matplotlib (Programming)

- Keepalived + HAProxy high availability load balancing (Server)

- df show disk space usage (Linux)

- Talking about modern programming language syntax and standard library tightly bound phenomenon (Programming)

- Repair Raspbian Encountered a section with no Package (Linux)

- Create Your Own Docker base image in two ways (Linux)

- B-tree - ideas and implementation of C language code (Programming)

- Bash common several configuration files (Linux)

- Getting Started with Linux system to learn: how to install USB webcams come in raspberry (Linux)

- Linux simple commands (Linux)

- Zabbix monitors Nginx status (Server)

- Security enhancements in Ubuntu ssh service (Linux)

- Ubuntu PPA install SMPlayer 14.9 (Linux)

- Oracle 12C RAC on temporary table space Enlighten (Database)

- Detailed LVM2 (Linux)

- Nginx Keepalived Nginx monitoring scripts (Server)

- HAproxy let IP recording back-end RS (Server)

- Ubuntu 14.04 modify environment variables (Linux)

- Moosefs Distributed File System Configuration (Server)

 
         
  Cacti installation deployment under CentOS 6.6
     
  Add Date : 2018-11-21      
         
         
         
  Cacti Profile

This chapter structure

Common Platform

Common server monitoring software

cacti, traffic and performance monitoring based ---- http: //www.cacti.net/

nagios, service and performance monitoring based --- http: //www.nagios.org/

Other tools

RRDtool, polling data tools

SNMP principle

Working structure of cacti

C / S mode, the data acquisition monitoring

B / S model, management monitoring platform

Deployment Environment

Environment: operating system host A and B is CentOS6.6 x86_64, minimizing installation, are closed SELINUX and firewalls, host A as a monitoring client host B as imported Champions League side, IP address 192.168.131.138 and 192, respectively. 168.131.139.

Deployment cacti operating environment

# Yum -y install httpd mysql mysql-server mysql-devel php php-mysql

# Yum -y install zlib freetype libjpeg fontconfig libxml2 gd php-gd

# Yum -y install rrdtool

# Yum -y install net-snmp net-snmp-utils

# Service httpd start

# Chkconfig httpd on

# Service mysqld start

# Chkconfig mysqld on

# Service snmpd start

# Chkconfig snmpd on

Install cacti

# Tar xf cacti-0.8.7g.tar.gz -C / var / www / html /

# Cd / var / www / html /

# Mv cacti-0.8.7g / cacti

# Vim cacti / include / config.php

# Mysql

mysql> create database cacti;

. Mysql> grant all on cacti * to 'cactiuser' @ 'localhost' identified by '123456';

mysql> flush privileges;

mysql> exit

# Chown -R root: root / var / www / html / cacti /

# Useradd cacti

# Chown -R cacti: cacti / var / www / html / cacti / log /

# Chown -R cacti: cacti / var / www / html / cacti / rra /

# Mysql cacti

In the browser input http://192.168.131.138/cacti/install/, enter cacti Installation Wizard

Configuring Monitored end

# Yum -y install net-snmp

# Vim /etc/snmp/snmpd.conf

com2sec notConfigUser 192.168.131.138 public123

access notConfigGroup "" any noauth exact all none none

view all included .1 80

# Service snmpd start

Configuring server-side

# Vim /etc/snmp/snmpd.conf

# Service snmpd restart

Configuring monitoring

In the cacti web interface

Click the "Devices" "add"

Monitoring client operation

# Su - cacti

$ Php /var/www/html/cacti/poller.php # begin synchronizing data

# Crontab -e

* / 5 * * * * / usr / bin / php /var/www/html/cacti/poller.php

Setting crond task to be performed once every 5 minutes

# Chkconfig crond on
     
         
         
         
  More:      
 
- Do not find ifconfig eth0 and IP address under CentOS6.5 (Linux)
- Linux system man help tips (Linux)
- IBM Data Studio to create objects using ---- double quotes / sensitive issues and the table / column renaming (Database)
- ARM Linux system call (Linux)
- Linux productivity tools and tips (Linux)
- Use SecureCRT to transfer files between Linux and Windows (Linux)
- RHEL5 / 6 Installation Notes (Linux)
- CentOS minimal network is unavailable resolved (Linux)
- Linux Operating System Security Management describes the top ten tricks (Linux)
- Nginx Installation and Configuration (Server)
- Zabbix installation and configuration process (Server)
- WordPress plug-ins installed in Ubuntu, enter the subject of FTP and not create directory problem (Server)
- xCAT deployment (Linux)
- Installation of Theano + CUDA under Ubuntu (Linux)
- Linux file permissions to modify the command: chmod (Linux)
- Gentoo: startx appeared Failed to load module Problem Solving (Linux)
- Quota for Vsftpd do use disk quotas (Server)
- Partition and file system under Linux (Linux)
- Use GNU / Linux broadcasting of television programs (Linux)
- How to view information about the installed version of CentOS (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.