1. Install lamp environmentThere is no introduction, a bunch of related documents on the Internet, and a lot of automated installation scripts written by cattle.2. Installing RRDtoolYum install cairo-devel libxml2-devel Pango pango-devel rrdtool–y3. Install SNMPThe operating system typically comes with SNMP, if not installedYum-y Install NET-SNMP net-snmp-libs net-snmp-utils4. Installing cacti(1) Download cacti
Because the official does not provide the Windows version of cacti to monitor the number of TCP connections in the script, so here is the use of Linux version cacti monitoring TCP connection number of Bash scripts write bat batch file.1, first download from http://forums.cacti.net/download/file.php?id=5198 officially provided by the Inux version cacti monitoring
I. Use of cacti
1. Interface Introduction
After logging on to cacti, you can see two tabs in the upper left corner, "console" and "graphs ". Console indicates the console, where all configurations and other operations are performed, while graphs is used to view the performance images of all servers.
2. Console menu
Create:
New Graphs-Shortcut for creating new images;
Management:
Graph management-image mana
Cacti uses cmd.php to complete the data collection by default, but finds that there is a significant delay in cmd.php acquisition and that execution is inefficient. It takes longer than 10 minutes for the device to wait from the time it is added.When the device is down alert, it may take more than 10 minutes.Therefore, it is necessary to optimize cacti acquisition performance using spine.The first part: Bac
Introduction to Cacti and RRDtool
I. Overview
Linux uses the most is MRTG performance monitoring, MRTG configuration is relatively simple, MRTG is really very good dongdong, but I think it is after all, is a very old software, the author of the years ago has developed a rrdtool to replace the software, now has developed very mature. Since there is a better choice, why do we have to use MRTG?
Simply put, RRDtool is a powerful drawing engine, and man
CentOS Linux Monitor the installation C Acti1 ,Cacti Monitoring IntroductionCacti is a graphical analysis tool for network traffic monitoring based on PHP,MySQL,SNMP and RRDTool development. Cacti is a PHP language implementation of a software, its main function is to use the SNMP service to obtain data, and then use RRDtool to store and update data, when users need to view the data The RRDTool generates
Disclaimer: this series of documents is from the stone note. If you reprint the documents, please indicate the source. I keep the ownership of the documents and welcome to reprint them.
I,Overview
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 r
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
@ Echo
Off
Rem
========================================================== ==============================================
Rem
Back up cacti Databases
Rem
Perfectaction
Rem
User Name
Set
User
=
Root
Rem
Password
Set
PWD
=
ABC
.
123
Rem
Database Name
Set
Database_name
=
of cacti ntopCd/root/downloadwget http://docs.cacti.net/_media/plugin:ntop-v0.2-1.tgzMV Plugin:ntop-v0.2-1.tgz ntop-v0.2-1.tgzTar zxvf ntop-v0.2-1.tgz-c/var/www/html/cacti/plugins/vi/var/www/html/cacti/include/config.php$plugins [] = ' ntop ';In plugin Management "Install and enable pluginsIn user management, check the view NtopSet the URL in Settings, misc:http
Recently, a cacti monitoring is configured in windows.
Installation Package for Windows: http://forums.cacti.net/about14946.html
Note the following:
1. Change the time to China time
Add the following functions to the cacti/inclde/gloabl. php file:
Date_default_timezone_set ('Asia/Shanghai ');
2. In setting --> poller type, select spine.
3. In setting --> poller --> maximum concurrent po
For the newly installed cacti, in order to detect the accuracy of the monitoring data, as well as with the rrdtool generated by the statistical map to the official show so beautiful, can not wait to click on the tab in the image of a column. The results of the following situation, that is, cacti generation with Chinese pictures have garbled. The RRDtool I installed is the 1.4.5 version.
In order to solve t
Setting and thresholds two plug-ins are cacti more important two plugins. setting is mainly responsible for sending mail, thresholds mainly to monitor the value of the set threshold, over the threshold to send alarm mail. Because two plug-in function has the correlation--setting not set up the thresholds alarm mail function will have the problem. So put it together for illustration. The setting function is simple, basically is the mail sends the setti
Cacti installed, you can configure how to monitor!
When the first landing cacti request username is admin Password is admin request Change password
Below we will be on the public network of a running switch to do traffic monitoring (the monitored objects need to open the SNMP service)Click Devices--------then click Add to add
Description: This is the display name of our custom monitor objectHostnam
One, cacti installation deploymentTo build this platform is in the lamp environment, first of all to ensure that apache,mysql,php. installation is successful. There's no writing about that.1, cacti server-side installationDownload cacti related software, total need three software, the following:http://www.cacti.net/downloads/
The first part
First to install the Epel extension sourceYum Install Epel-release
Then install HTTP PHP MySQL separatelyYum install httpd php php-mysql mysql mysql-server mysql-devel php-gd libjpeg libjpeg-devel libpng libpng-devel
Installing cacti NET-SNMP RRDtoolYum install-y cacti Net-snmp net-snmp-utils rrdtool
Start the service/etc/init.d/mysqld start/ETC/INIT.D/HTTPD start/ETC/INIT.D/SNMPD s
First, the preparatory workEnvironment: Centos 5.6Required Software:httpPhpPhp-mysqlPhp-snmpMysqlPerl-dbd-mysqlPhp-pdoRRDtoolNet-snmpNet-snmp-libsNet-snmp-utils#下载相关软件cd/usr/local/src/wget http://www.cacti.net/downloads/cacti-0.8.7e.tar.gzIi. Introduction of the environmentThe main monitor is CentOS 5.6Main monitoring Machine ip=192.168.0.61Three, installation configuration(1) Install the APACHE+PHP+GD Web environment on the main monitor machine, reco
Cacti is a set of graphic analysis tools for network traffic monitoring developed based on PHP, MySQL, SNMP, and rrdtool. Cacti uses snmpget to obtain data and uses rrdtool to draw images. In addition, you do not need to understand the complex parameters of rrdtool. It provides powerful data and user management functions, allowing each user to view the tree structure, host, and any graph, and perform user v
CACTI: Use templates to monitor mysql and cactimysql on local or other servers
Mysql templates, online are using this address http://mysql-cacti-templates.googlecode.com has not been accessed
Google found this URL:
Introduction: http://www.percona.com/doc/percona-monitoring-plugins/1.0/cacti/mysql-templates.html
Download Page: http://www.percona.com/downloads/p
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.