a brief introduction to cactiCacti is a set of graphical analysis tools for network traffic monitoring based on PHP,MYSQL,SNMP and RRDtool development. Use PHP for front-end code drivers. The data information of the monitored host is obtained through SNMP. RRDtool is related to the generation of data stores and graphs. MySQL works with PHP programs to store variable data and make calls to variable data. It
) this.width=650; "title=" 1.png "alt=" wkiom1yowx-sfb4uaai8v1lqo_q408.jpg "src=" http://s3.51cto.com/wyfs02/M02/ 74/c0/wkiom1yowx-sfb4uaai8v1lqo_q408.jpg "/>
How did the documents inside the Cacti/rra come from? The answer is, of course , crawled through the PHP catch SNMP protocol, so if the RRA directory does not have these rrd files, It is recommended to check the
Installing cacti with lamp is still relatively simple. Learn it quickly!
Steps:
1. Install net-snmp
yuminstallnet-snmp*
Note that you need to add * to install all the doon; otherwise, there is no command required by cacti.
2. install php-snmp
yuminstallphp
To use cacti, you must have certain knowledge about using net-snmp and rrdtool. Today, we need to run the Catci configuration command to help you install and update the CentOScacti system.
Catci Configuration:
# Mysqlcacti-uroot-p # chown-Rcactiuserrra/log/# Viinclude/config. php$ Database_type = "mysql ";$ Database_default = "cacti ";$ Database_hostname = "loca
As a Linux SA, the most important thing in daily life is to ensure the normal and stable operation of the website, we need to monitor the running state of the website and the server in real time, then we need to use open source software (cacti, nagios, Zabbix, etc.) monitoring to realize. Cacti is a PHP language implementation of a software, its main function is to use the
This is a Chinese version of the cacti monitoring based on the Centos6.6 build.Cacti is a snmpget to get data, use RRDtool to draw graphics, and you can absolutely not need to understand RRDtool complex parameters. It provides very powerful data and user management functions, can specify each user can view the tree structure, host and any map, also can be combined with LDAP user authentication, but also can add their own templates, the function is ver
I. Overview of CACTI
1. Cacti is a software implemented in the PHP language, its main function is to use the SNMP service to obtain the data, and then use RRDtool to store and update the data, when the user needs to view the data, use RRDtool to generate the graph to present to the user. Therefore, SNMP and RRDtool ar
default configuration value of cacti, it proves that PHP and MySQL are normal.Problems may occur in them: RRDtool and SNMPGo straight to MySQL in the following statement;
Mysql-u root-p
SELECT * from Poller_time; Note that the last time you execute SQL is to add; 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/72/2C/ Wkiom1xecjuhepn7aafucvcbgu8594.jpg "title=" qq picture 20150827100056.png "alt=" Wkiom1xecjuhepn7aafucvcbgu8594
create a Snmpv3 user, bit-only read, use MD5 encrypted transmission, user name is yonghuming, password is Yonghumima.#net-snmp-config--create-snmpv3-user-ro-a yonghumima-a MD5 yonghuming(The supplied password length is too short.)Adding the following line to/var/lib/net-snmp/snmpd.conf:CreateUser yonghuming MD5 "Yonghumima" DESAdding the following line to/etc/snmp
Figure-Cacti
Introduction
CactiIt uses snmpget to obtain data and draw images using RRDtool. 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 verification with LDAP, you can also add templates by yourself, which are very powerful and complete. User-friendly.
The development of
The difference between Cacti Nagios Zabbix First of all, Cacti is a rrdtool to draw the network monitoring system, usually a talk about network management, we first think of is often mrtg, but the MRTG picture is relatively simple and ugly, rrdtool although drawing skills first-class, drawing out of the picture is beautiful, but after all, is a drawing work Data collection functionality, unlike MRTG itself.
memory
Sync
Echo 3>/proc/sys/vm/drop_caches
2. restore to normal after cleaning, and check the SNMP running status. If an exception occurs, manually enable service snmpd start.
-------------------------------------- Split line --------------------------------------
In RHEL6.4, the Cacti + Spine monitoring host is used to send mail alarms.
Configure Cacti to moni
Add devices that can be SNMP to, but do not appear image, just a red X, and then run
/usr/local/php4/bin/php/usr/local/apache2/htdocs/cacti/poller.php
The image came out, but no data show!! is poller.php not automatically executed??
Online search is said to be cacti directory read and write permissions to Cactiuser
To view permissions for the
Call the Apsara stack interface to implement cacti monitoring notifications
Cacti uses the snmp protocol to monitor the status of added hosts at intervals. in the Cacti database, the host table records information about switches, such as status ), recent downtime (status_fail_date) and recent recovery time (st
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
I started to learn how to use Cacti. I am unfamiliar with this software. First, I tried to add my Ubuntu to Cacti. Ubuntu needs to install the snmp protocol, obtain system information through snmp itself, and transmit it to the monitoring platform for data collection and analysis for remote management. # Apt-getinstall
1. Smokeping Smokeping is RRDtool's author Tobi Oetiker's work, written in Perl, mainly monitoring network performance, including regular Ping, using echoping to monitor the performance of the WWW server, monitoring DNS query performance, monitoring SSH performance, and so on. The bottom is also rrdtool do support, characterized by the picture is very beautiful, network packet loss and delay with color and shadow to express. Less used in the enterprise. 2 Ca
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 th
CactiIt is a network monitoring tool that I often use. It combines the advantages of LAMP to better serve you! Let's take a look at its specific configuration!
1. configuration of the snmp service in windows(1) Open "Control Panel"-"add deletion program"-"add deletion group"
In "management and monitoring tools", select "Simple Network Management Protocol (snmp )"
Click "Next" to start the installation. Duri
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.