Centos5.7 compile and install cacti
Compile and install cacti
# Enable snmp for the original php
Yum install net-snmp-devel net-snmp-utils-y
# Go To The php source code directory
Cd/usr/local/src/php/src/php-5.2.17/ext/snmp./Configure -- with-php-config =/usr/local/php1/bin/php-configMake make install
# Edit php. ini to addExtension = "snmp. so"
# Restart php-fpm/Usr/local/php1/sbin/php-fpm restart
# Inst
Cacti defines three types of templates:
Host Template
Data Template
Graphic Template
Host templates)It is a collection of image templates and data queries. It describes the images that need to be generated by monitoring a certain type of machines.
Data templates)Which describes the data stored by cacti to the specified type of RRD file. This template is related to the CREATE command of rrdtool.
Graph t
Label:Cacti Monitoring Server configuration tutorial (based on centos+nginx+mysql+php Environment building)Specific cases:LAN has two hosts, a Linux, a Windows, now need to configure a cacti monitoring server to monitor the two hostsEnvironment Description:1. Linux HostOperating system: CentOS 6.2IP Address: 192.168.21.164Subnet Mask: 255.255.255.0Gateway: 192.168.21.2dns:8.8.8.8 8.8.4.42. Windows hostOperating system: Windows Server 2003IP Address: 1
How can we fix this issue?Cacti ChineseIn this article, I will introduce you to a simple method!
You don't have to bother installing cacti. it's the simplest Chinese cacti + Chinese image. Install the configuration in one step.
CactiEZ Chinese Version V9.1, based on RHEL5.2, supports more hard drives and array cards. The system is more stable, supports Chinese
Cacti SQL Injection Vulnerability (CVE-2015-4342)Cacti SQL Injection Vulnerability (CVE-2015-4342)
Release date:Updated on:Affected Systems:
Cacti Cacti
Description:
CVE (CAN) ID: CVE-2015-4342Cacti is a database round robin (RRD) tool that helps you create images from database information. It has multiple Linux vers
Article Title: Use cacti to monitor memcache. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After we deploy memcache, it does not mean that we should monitor the memcahce status, memory usage, and the value of hit/miss, with cacti, we can monitor the various memcache p
Original cacti host ip:222.65.193.176 standby cacti host ip:222.65.194.81. Backup the MySQL and RRD data on the original cacti monitor hostBackup database: Mysqldump-p cacti >cacti.sqlCacti, prompt input cacti login password, enter, backup good data under/root2, Backup Rra f
Prerequisite: The lamp has been compiled and installed (mysql5.5)First, configure the service side1, note the central host, and enable the virtual host, add a virtual host# cd/etc/httpd/# Vim Httpd.confCommented out: DocumentRoot "/usr/local/apache/htdocs"Enable: # Virtual hostsInclude/etc/httpd/extra/httpd-vhosts.conf# vim/etc/httpd/extra/httpd-vhosts.confDocumentRoot "/web/vhosts/cacti"ServerName cacti.fsy.comOptions Indexesallowoverride NoneRequire
First, installation and configuration lamp environmentYum install httpd php php-mysql php-snmp php-xml php-gd MySQL mysql-serverStart HTTP and MySQLService httpd StartService mysqld startExecute MySQL security settings and follow the prompts to set the root passwordMysql_secure_installationIi. installation of RRDtool and NET-SNMP1, RRDtool mainly used for drawingYum Install RRDtool2, NET-SNMP is mainly used for collecting and transmitting the statistics of the server.Yum Install net-snmp net-snm
Cacti Monitors multiple MySQL instances
The Cacti official website provides templates for monitoring MySQL. Only the default port 3306 can be monitored, but the current port is not 3306. How can we monitor it?
1. upload ss_get_mysql_stats.php to cacti/scripts/. By default, this script monitors mysql on port 3306. If you use other ports, we recommend that you chan
The establishment of cacti Cacti on nginx is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP and RRDTool www.2cto.com Cacti and Nagios are now using a lot of network monitoring software, the difference between the two monitoring software should be said to be the difference in focus.
Cacti monitoring system installation Configuration
1. About cacti
1) cacti is a software implemented in php. Its main function is to use the snmp service to obtain data and then use rrdtool to store and update data, when you need to view data, use rrdtool to generate charts and present them to users. Therefore, snmp and rrdtool are the key to
Environment: centos 5.4 cacti server address: 192.168.1.1001. Automatic Installation of rrdtool through yum source (for plotting)# Vi/etc/yum. repos. d/dag. repo[Dag]Name = Dag RPM Repository for Red Hat Enterprise LinuxBaseurl = http://apt.sw.be/redhat/el?releasever/en/?basearch/dagGpgcheck = 1Gpgkey = http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txtEnabled = 1Then install yum:# Yum install rrdtool2. Install the lamp environment (refer to the l
Nagios and Cacti troubleshooting considerations
Nagios and Cacti troubleshooting considerations
I. Precautions for Naigos restart
1. Check the configuration file integrity before restarting the nagios Service (perform web page synchronization)
2. Pay attention to the Operation Sequence During master-slave synchronization. Do not worry about the operation sequence. Check the alarm mechanism (enable or disabl
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.