Disclaimer: this series of documents comes from
Stone noteIf it is reprinted, please indicate the source. I keep the ownership of the document, and you are welcome to repost it.
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
Configure Cacti to monitor MySQL database status
MySQL itself is not powerful in performance monitoring, which makes many MySQL DBAs sleep at night. Fortunately, the MySQL database status is monitored through Cacti (monitoring rather than monitoring.
With the powerful drawing function of cacti + rrdtool and dedicated mysql templates, You can flexibly and quickly
In useCacti monitoringPay attention to the following points:
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 --> Poller Type, select spine.
Cacti is a set of graphic analysis tools for network traffic monitoring developed based on PHP, MySQL, SNMP, and RRDTool. Cacti Chinese version uses snmpget to obtain data and use RRDtool to draw images. You do not need to understand the complex parameters of RRDtool.
1. Configure the httpd server configuration file# Vim/etc/httpd/conf. d/cacti. confAlias/
CACTI monitors the added host state through the SNMP protocol every interval , and in the Cacti database, Host The table records information about the switch, such as status, the most recent downtime (status_fail_date), and the most recent return to normal time ( status_rec_date). To implement fetion monitoring switch status, the switch sends text messages to the specified phone number, and the switch info
I. Cacti scripts and TemplatesCacti Scripts and Templates forum: http://forums.cacti.net/forum-12.htmlA complete list of cacti scripts and templates: http://forums.cacti.net/about15067.html1.Advance Ping Scripts and templates: http://forums.cacti.net/about10049.htmlNote: To use this template, PHP must be compiled with the--enable-sockets option to support sockets.1). Function: This template is used to monit
DirectoryFirst, common monitoring softwareIi. Overview of CactiThree, cacti working principleIv. installation of cactiV. Configure cacti Monitor the machineNote: All software in this document is installed with YumI. Overview of common monitoring software1, cactiCacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development.Simply put,
There are no strangers to cacti O M personnel. it may be the most widely used monitoring tool. Internet-related companies may use cacti to monitor the server running status and the load of some software. Currently, the most common backend technology for websites is php, regardless of nginx or ligh...
There are no strangers to cacti O M personnel. it may be the
1.CactiThe official website where you can find the latest cacti version, etc.:http://www.cacti.net/ 2, cacti of the official forum, you can find some of the relevant equipment in the image template, related plug-ins, etc.:http://forums.cacti.net/ 3, cacti the description of the document summary:http://docs.cacti.net/ 4, the world
Because more than one Tomcat is installed on a Web application server, there are multiple ports, such as the default of 8080, followed by additional 9100,9300,9500, and so on. A cacti_host_template_tomcat_server.xml template can only be specified to monitor a tomcat service port.So if you want to monitor more than one Tomcat server on a Web server, then you have to find another way to monitor a tomcat service in one of the hosts above, and you need to build multiple template XML files to monitor
Cacti is not a stranger to the OPS, probably the most used monitoring tool now. Internet-related companies may use cacti to monitor the state of the server and the load of some software.Now the site with the most back-end technology may be PHP, whether nginx or LIGHTTPD, today's load capacity is very strong, in a lot of cattle people's efforts, load tens of thousands of to 100,000 concurrent is not uncommon
1. First download the common monitoring template from the official website.
Generally, the tomcatstats-0.1.zip template is mostly used ,:
Http://forums.cacti.net/download/file.php? Id = 1, 12310,
Use wget download on a linux server, wget http://forums.cacti.net/download/file.php? Id = 12310, the following error is reported:
Connecting forums.cacti.net | 173.225.179.10 |: 80... already connected.
An HTTP request has been sent and is waiting for response... 301 Moved Permanently
Location: http://f
I use the virtual machine installed centos6.5 as an experimental environment, install CACTI-0.8.8C, install the path for "/var/www/html/cacti", today to say plug-in realtime plug-in installation.Download Realtime Pluginwget http://docs.cacti.net/_media/plugin:realtime-v0.5-2.tgzUnzip and place the plugins directory into the cacti:Tar zxvf realtime-v0.5-2.tgzMV realtime/var/www/html/
Environment Cat/etc/issueubuntu 10.04.4 LTS \ \l
2. Introduction and how it worksCacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development. It uses Snmpget to get data, use RRDtool to draw graphics, and you can completely not need to understand RRDtool complex parameters. It provides very powerful data and user management functions, you can specify that each user can view the tree structure, host and any map, but also with the
Cacti the method and idea of the error of the imageCacti the monitoring is not much to say. After the installation is complete, novice will encounter a lot of problems, but the most important problem is that Cacti can not draw the image (can not draw the image and what you do). So here is a brief introduction to the wrong idea. In the following summary, the wrong order:1.system Utilities–>rebuildpoller Cac
because of the efficiency, when a large amount of data acquisition is required, if the use of the cmd.php poll will be slow, 1 minutes 1 times the acquisition frequency may not complete the polling of all the monitored machines, This may result in the partial monitoring project not showing the graph or the graphics intermittent . In order to solve the efficiency problem, cacti official also launched spine, using multi-threaded way of efficient polling
Installation Environment:RHEL 5.8 Apache 2.4 Mysql 5.5 PHP 5.5First 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/
problem one, intermittent into a diagramJust started to make a habitual attempt:Web-side Delete metadata and views and delete the corresponding source data at the command line, no effect, check the domestic and Foreign Forum website, no effect, there is a domestic Bo friend also deleted the original and new, helpless the entire device deleted, and delete all the relevant source data ( command line ) , the second day of rebuilding was normal 、、、So after all the heart is not steadfast ah so look a
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.