Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Cacti network monitoring tools

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to use the Cacti network monitoring tool. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

I. Overview

1. Cacti is a software implemented in PHP language, its main function is to use snmp services to obtain data, then use rrdtool to store and update data, and when users need to view data, use rrdtool to generate charts and present them to users. Therefore, snmp and rrdtool are the key to cacti. Snmp is related to data collection, and rrdtool is related to data storage and chart generation.

2. Mysql cooperates with PHP program to store some a variable data and call it, such as hostname, host ip, snmp community name, port number, template information and other variables.

3. The data captured by snmp is not stored in mysql, but in the rrd file generated by rrdtool (in the rra folder of the cacti root directory). The update and storage of data in rrdtool is the processing of rrd file. Rrd file is a fixed-size archive file (Round Robin Archive), and the number of data it can store has been defined at the time of creation. For knowledge about RRDTool, please refer to RRDTool Teaching.

The structure and Workflow of Cacti

1. The architecture of Cacti

2. The workflow of Cacti

II. Installation of Cacti

1. Installation environment: RedHat AS 4

two。 Install Apache, MySQL, PHP

(1)。 Install MySQL

Download address: http://dev.mysql.com/downloads/mysql/5.0.html

/ / check to see if MySQL is already installed on the system, and if so, uninstall all packages that start with mysql.

# rpm-qa | grep mysql# rpm-e mysql-*

/ / find / etc/my.cnf (option configuration file for MySQL) and delete it if available so as not to affect the startup of the new installation version.

# rm-f / etc/my.cnf# tar-zxvf mysql-standard-5.0.27-linux-i686-glibc23.tar.gz# cp-rf mysql-standard-5.0.27-linux-i686-glibc23 / usr/local/

/ / create a symbolic link. If there is a new version of MySQL in the future, you can just extract the source code to the new path and make a new symbolic link. This is very convenient and the data is more secure.

# ln-s mysql-standard-5.0.27-linux-i686-glibc23 / usr/local/mysql

/ / add users and user groups used to launch MySQL (if MySQl has been previously installed, users and user groups may already exist).

# useradd mysql# groupadd mysql

/ / initialize authorization table

# cd / usr/local/mysql# scripts/mysql_install_db

/ / modify the ownership of the MySQl directory

# cd / usr/local# chgrp-R mysql mysql-standard-5.0.27-linux-i686-glibc23# chgrp-R mysql mysql# chown-R mysql mysql-standard-5.0.27-linux-i686-glibc23/data# chown-R mysql mysql/data# ln-s / usr/local/mysql/bin/* / usr/local/bin/

/ / start Mysql

# bin/safe_mysqld-- user=mysql &

/ / configure MySQl to start automatically when the system starts

# cp support-files/mysql.server / etc/rc.d/init.d/mysqld# chkconfig-- add mysqld

/ / modify the number of MySQL connections

# vi / etc/my.cnf

/ / add the following lines

[mysqld] set-variable=max_connections=1000set-variable=max_user_connections=500set-variable=wait_timeout=200

/ / max_connections sets the number of connections to 1000

/ / max_user_connections sets the number of connections per user to 500

/ / wait_timeout indicates that the idle (IDLE) connection will be closed in 200 seconds, but it will not affect the working connection.

/ / Save exit and restart MySQL

/ / after restarting MySQL, use the following command to check whether the modification is successful.

# mysqladmin-uroot-p variables

Password:

/ / you can see that the following items indicate that the modification was successful

| | max_connections | 1000 | max_user_connections | 1000 | wait_timeout | 200 |

(2)。 Install Apache

Download address: http://httpd.apache.org/

# tar-zxvf httpd-2.2.4.tar.gz# cd httpd-2.2.4#. / configure-prefix=/usr/local/apache-enable-so

/ / add the load module parameter-enable-so when compiling

# make# make install#vi / usr/local/apache/conf/httpd.conf

/ / modify Apache configuration file to add ServerName www.yourdomain.com or ServerName native ip

# vi / etc/rc.d/rc.local

/ / add a line to rc.local

/ usr/local/apache/bin/apachectl-k start

Start the Apache service when the system starts.

(3)。 Install PHP

Install zlib,freetype,libpng,jpeg first so that PHP can support the GD library (Cacti's WeatherMap plug-in must be supported by newer GD libraries)

Download address of library file: http://oss.oetiker.ch/rrdtool/pub/libs/

1)。 Install zlib

Tar zlib-1.2.3.tar.gzcd zlib-1.2.3./configure-prefix=/usr/local/zlibmakemake install

2)。 Install libpng

Tar zxvf libpng-1.2.16.tar.tarcd libpng-1.2.16cd scripts/mv makefile.linux.. / makefilecd.. makemake install

Note that the makefile here is not generated with. / configure, but is copied directly from scripts/.

3)。 Install freetype

Tar zxvf freetype-2.3.4 .tar.gzcd freetype-2.3.4./configure-- prefix=/usr/local/freetypemakemake install

4)。 Install Jpeg

Tar-zxf jpegsrc-1.v6b.tar.gzcd jpeg-6b/mkdir / usr/local/libjpegmkdir / usr/local/libjpeg/includemkdir / usr/local/libjpeg/binmkdir / usr/local/libjpeg/libmkdir / usr/local/libjpeg/manmkdir / usr/local/libjpeg/man/man1// can be used to create multi-tier directories with mkdir-p / usr/local/libjpeg/man/man1 in one step.

Note that configure must take the-- enable-shared parameter here, otherwise, no shared library will be generated.

. / configure-- prefix=/usr/local/libjpeg-- enable-shared-- enable-staticmake & & make install

5)。 Install Fontconfig

Tar-zxvf fontconfig-2.4.2.tar.gzcd fontconfig-2.4.2

6)。 Install GD

Tar-zxvf gd-2.0.34.tar.gzcd gd-2.0.34./configure-prefix=/usr/local/libgd-with-png-with-freetype=/usr/local/freetype-with-jpeg=/usr/local/libjpeg./configure-with-freetype-config=/usr/local/freetypemakemake installmakemake install

The following information is displayed at compile time:

* * Configuration summary for gd 2.0.34:

Support for PNG library: yes

Support for JPEG library: yes

Support for Freetype 2.x library: yes

Support for Fontconfig library: yes

Support for Xpm library: no

Support for pthreads: yes

7)。 Edit / etc/ld.so.conf and add the following lines to this file.

/ usr/local/zlib/lib/usr/local/freetype/lib/usr/local/libjpeg/lib/usr/local/libgd/lib

And execute the ldconfig command to load the shared library using the dynamic loader

8)。 Installing libxml,RedHat AS 4 installs the libxml package by default, but the version is too low and PHP5 requires a later version of the libxml package.

# tar-zxvf libxml2-2.6.25.tar.gz# cd libxml2-2.6.2 configure# make# make install.

9)。 Install PHP

PHP download address: http://www.php.net/downloads.php#v5

Tar-zxvf php-5.2.3.tar.gzcd php-5.2.3#. / configure-- prefix=/usr/local/php-- with-apxs2=/usr/local/apache/bin/apxs-- with-mysql=/usr/local/mysql-- with-gd=/usr/local/libgd-- enable-gd-native-ttf-- with-ttf-- enable-gd-jis-conv-- with-freetype-dir=/usr/local/freetype-- with-jpeg-dir=/usr/local/ Libjpeg-- with-png-dir=/usr-- with-zlib-dir=/usr/local/zlib-- enable-xml-- enable-mbstring-- enable-sockets# make# make install# cp php.ini-recommended / usr/local/php/lib/php.ini# ln-s / usr/local/php/bin/* / usr/local/bin/# vi / usr/local/apache/conf/httpd.conf

Find

AddType application/x-compress .ZAddType application/x-gzip .gz .tgz

Join under it

AddType application/x-tar .tgzAddType application/x-httpd-php .phpAddType image/x-icon .ico

Modify the DirectoryIndex line to add index.php

Modify to

DirectoryIndex index.php index.html index.html.var

# vi / usr/local/apache/htdocs/test.php

Wq save exit.

# / usr/local/apache/bin/apachectl-k stop#/usr/local/apache/bin/apachectl-k start

Type: http://www.yourdomain.com/test.php in the browser to test.

Interpretation of php compilation options:

-- prefix=/usr/local/php / / specify the installation directory of PHP

-- with-apxs2=/usr/local/apache2/bin/apxs / / supports Apache module

-- with-mysql=/usr/local/mysql / / supports MySQl

-- with-gd=/usr/local/libgd / / supports GD libraries

-- enable-gd-native-ttf / / activate support for native TrueType string functions

-- with-ttf / / activate support for FreeType 1.x

-- with-freetype-dir=/usr/local/freetype / / activate support for FreeType 2.x

-- with-jpeg-dir=/usr/local/libjpeg / / activate support for jpeg-6b

-- with-png-dir=/usr / / activate support for png

-- with-zlib-dir=/usr/local/zlib / / activate support for zlib

-- enable-mbstring / / activate the mbstring module

-- enable-gd-jis-conv / / makes JIS-mapped available and supports Japanese fonts

-- with-mail / / supports Mail function

-- enable-xml / / supports XML

-- enable-sockets / / supports sockets

1. Install RRDTool

Because rrdtool-1.2.23 requires some library file support, you need to install the environment supported by the configuration first, and then compile the installation. You can complete the installation by directly running the following bash script:

Note: put cgilib-0.5.tar.gz, zlib-1.2.3.tar.gz, libpng-1.2.18.tar.gz, freetype-2.3.5.tar.gz, libart_lgpl-2.3.17.tar.gz, rrdtool-1.2.23.tar.gz in the / root/rrdtool-1.2.23 directory and save the script as / root/rrdtool-1.2.23/rrdtoolinstall.sh And give the execute permission chmod uplix / root/rrdtool-1.2.23/rrdtoolinstall.sh.

The following link is a rrdtool-1.2.23 installation package I retyped, which includes all the used library files and installation scripts. Download and decompress and execute the script rrdinstall.sh to complete the installation of RRDTool.

Click to download rrdtool-1.2.23.tar.gz

If the above script installation fails, you can try the following installation package:

Http://61.156.20.41/autodownload/rrdtool-1.2.11.tar.gz

#! / bin/shBUILD_DIR= `pwd`INSTALL _ DIR=/usr/local/rrdtoolcd $BUILD_DIRtar zxf cgilib-0.5.tar.gzcd cgilib-0.5make CC=gcc CFLAGS= "- O3-fPIC-I." mkdir-p $BUILD_DIR/lb/includecp * .h $BUILD_DIR/lb/includemkdir-p $BUILD_DIR/lb/libcp libcgi* $BUILD_DIRtar zxf zlib-1.2.3.tar.gzcd zlib-1.2.3env CFLAGS= "- O3-fPIC". / configure-- prefix=$BUILD_ DIR/lbmakemake installcd $BUILD_DIRtar zxvf libpng-1.2.18.tar.gzcd libpng-1.2.18env CPPFLAGS= "- I$BUILD_DIR/lb/include" LDFLAGS= "- L$BUILD_DIR/lb/lib" CFLAGS= "- O3-fPIC"\. / configure-- disable-shared-- prefix=$BUILD_DIR/lbmakemake installcd $BUILD_DIRtar zxvf freetype-2.3.5.tar.gzcd freetype-2.2.5env CPPFLAGS= "- I$BUILD_DIR/lb/include" LDFLAGS= "- L$BUILD_DIR/lb/lib" CFLAGS= "- O3-fPIC "\. / configure-- disable-shared-- prefix=$BUILD_DIR/lbmakemake installcd $BUILD_DIRtar zxvf libart_lgpl-2.3.17.tar.gzcd libart_lgpl-2.3.17env CFLAGS="-- O3-fPIC ". / configure-- disable-shared-- prefix=$BUILD_DIR/lbmakemake installIR=-I$BUILD_DIR/lb/includeCPPFLAGS=" $IR $IR/libart-2.0$ IR/freetype2 $IR/libpng "LDFLAGS="-L$BUILD_DIR/lb/lib "CFLAGS=-O3export CPPFLAGS LDFLAGS CFLAGScd $BUILD_DIRtar zxf rrdtool-1 .2.23.tar.gzcd rrdtool-1.2.23./configure-- prefix=$INSTALL_DIR-- disable-python-- disable-tcl & & make & & make install

/ / establish a symbolic connection after completion

Ln-s / usr/local/rrdtool/bin/* / usr/local/bin/

/ / execute rrdtool to see if it is installed correctly

two。 Install net-snmp

RedHat has the SNMP service installed by default, but it doesn't seem to have the two commands snmpwalk,snmpget, so you need to compile and install NET-SNMP.

NET-SNMP official website: http://www.net-snmp.org/

# tar zxvf net-snmp-5.2.4.tar.gz#cd net-snmp-5.2.4#./configure-- prefix=/usr/local/net-snmp-- enable-developer#make#make install# ln-s / usr/local/net-snmp/bin/* / usr/local/bin/#cp EXAMPLE.conf / usr/local/net-snmp/share/snmp/snmpd.conf

/ / modify snmpd.conf (modify COMMUNITY, host that allows snmp data to be crawled, data range, etc.)

# / usr/local/net-snmp/sbin/snmpd / / start the SNMP service

# vi / etc/rc.d/rc.local

/ / add a line to rc.local

/ usr/local/net-snmp/sbin/snmpd

Start the SNMP service when the system starts.

3. Install Cacti

Cacti official website: www.cacti.net/

# tar-zxvf cacti-0.8.6j.tar.gz# mv-r cacti-0.8.6j / usr/loca/apache/htdocs/cacti# vi / usr/local/apache/htdocs/cacti/include/config.php$database_type = "mysql"; $database_default = "cacti"; $database_hostname = "localhost"; $database_username = "cacti"; $database_password = "cacti"

/ / add cacti users

# useradd cacti

/ / transfer ownership of the rra directory to the cacti user

# chown-R cacti/ usr/loca/apache/htdocs/cacti/rra

/ / modify the group to which the cacti directory belongs

# chgrp-R cacti / usr/loca/apache/htdocs/cacti

/ / add cron tasks for cacti users

# su-cacti# crontab-estrangement bind 5 * / usr/local/bin/php / usr/local/apache/htdocs/cacti/poller.php > / dev/null 2 > & 1

Note: * * use the cacti user when executing poller.php, otherwise the generated rrd file cacti will not have write permission.

4. Install Cactid

The installation of CACTID requires the following support:

O net-snmp-devel (add-- enable-developer option when you need to compile and install net-snmp)

O mysql

O mysql-devel (supported by default after compilation and installation of mysql source files)

O openssl-devel (Redhat installed by default)

# tar-zxvf cacti-cactid-0.8.6i.tar.gz# cd cacti-cactid-0.8.6i#. / configure-with-mysql=/usr/local/mysql-with-snmp=/usr/local/net-snmp# make

/ / at this time, you will see two extra files cactid and cactid.conf in this directory.

# mkdir / usr/local/cactid# cp cactid cactid.conf / usr/local/cactid# vi / usr/local/cactid/cactid.conf / / modify cactid configuration file DB_Host 127.0.0.1DB_Database cactiDB_User cactiDB_Pass cacti

5. Database configuration

# mysql-uroot-pPassword:mysql > create database cacti;Query OK, 1 row affected (0.00 sec) mysql > grant all on cacti.* to cacti@localhost identified by "cacti"; Query OK, 1 row affected (0.00 sec) mysql > exit# cd / usr/local/apache/htdocs/cacti# mysql-uroot-p cacti

< cacti.sqlPassword: 6.完成cacti的安装 1).在浏览器中输入:http://www.yourdomain.com/cacti/ 默认用户名:admin 密码:admin 2).更改密码 3).设置cacti用到的命令路径 snmpwalk Binary Path /usr/local/ bin/snmpwalksnmpget Binary Path /usr/local/ bin/snmpgetRRDTool Binary Path /usr/local/ bin/rrdtoolPHP Binary Path /usr/local/bin/phpCacti Log File Path /usr/local/apache/htdocs/cacti/log/cacti.logCactid Poller File Path /usr/local/cactid/cactid 4).进入cacti后需确认更改以下位置:(如下图) Console>

Settings > GeneralConsole > Settings > Poller

III. The use of Cacti

1. Interface introduction

After logging in to Cacti, you can see that in the upper left corner are two tabs, "console" and "graphs". Console represents the console, where all configuration and other operations are done, while graphs is the interface used to view the performance images of all servers.

2.console menu

Create:

A shortcut for New Graphs-- to create a new image

Management:

Graph Management-- image management. You can delete and copy the image here, and Cacti creates the image automatically. However, if we have special needs, such as merging the data from several pictures into one image, we can also create a new image here by hand.

Graph Trees-- image tree. In the graphs interface, the image or devices is displayed in a tree structure, where you can set the structure of the tree

Data Sources-- manages rrd files. Generally, there is no need to modify it. Cacti will create its own rrd file.

Devices-- device management. This is where we need to change most often, where we can create a new device or change its name and other information.

Collection Methods

Data Queries and Data Input Methods are the ways to collect data. Generally speaking, we do not need to modify these two items.

Templates

Graph Templates, Host Templates and Data Templates are image templates, host type templates, and data templates, respectively. These templates can be exported, imported, or written by yourself, generally without modification.

Import/Export

Import Templates and Export Templates, import and export the above templates. We can find these templates on the official website of Cacti, but we need to pay attention to the version of Cacti for which the template is used.

Configuration

Settings-the main configuration menu for Cacti

You can reset the path, version and other information of the corresponding program here. You can also set the output mode of the image (allow ftp), display effect, login mode (allow the use of LDAP), and so on.

Utilities

System Utilities-displays some cache and log information of the Cacti system. If the log file is too large, it is recommended to view it directly in the background.

User Management-user management. You can add and delete users here, and set detailed permissions for each user

Logout User-Log out of the user.

3. Create a monitoring point

Suppose the server being monitored is called "Test Host" and the IP is 192.168.100.110. The community of SNMP is public.

Go to the console panel of Cacti->

Click "Devices" to enter the device panel->

Click "Add" to add a new device->

Enter all kinds of information to monitor the server. For Host Template, select "Local Linux Machine" or "ucd/net SNMP Host" (select an appropriate host template)->

Click "Create" to save the information. If there is no problem with the SNMP connection, the information of the server will appear in the upper left corner, otherwise the red word "SNMP error" will appear->

Click "Create Graphs for this Host" at the top to create content for the device to monitor. There are two kinds of monitoring contents, "Graph Templates" and "Data Query". The difference is that "Data Query" can list the information of the monitoring project according to the SNMP information. For example, the "Interface Statistics" in Data Query can see the information of all the network cards on the host, so we can select the network cards that need to be monitored. Click the square selection box on the right to check the items to be monitored->

Click "Create" to create the selected monitoring content, and the content you have chosen to create will automatically be grayed out and cannot be clicked again. Cacti automatically creates the rrd file (in the rra folder), "Data Source" and "graph" entries for the monitoring point.

Creation of monitoring points is complete.

4. View the monitoring points

Click "Graph Management" to see the corresponding image of the monitoring point you just created. Note that since Cacti defaults to get data from the monitoring server every 5 minutes, the newly created monitoring point will appear the phenomenon that the image cannot be displayed, and it will take a few minutes to check before it will display normally.

For ease of viewing, you can add the newly created device or image to the Image Tree:

Click "Graph Tree" to enter the Image Tree panel->

Click the branch name or "Add" new branch->

Click "Add" to add a new "Tree Items"->

Select "Host" in "Tree Item Type", and select the newly added host "Test Host" in "host" of "Tree Item Value"->

Click "Create".

It is undoubtedly a simple method to add a host node to the ViewTree for monitoring, but with the increase of the monitoring map, all the images are put on a host node, the display speed of the image becomes slower when viewing the image, and the organization of the monitoring chart is not clear, so it is usually possible to sort out an organized image tree according to the monitoring function of the monitoring chart and the type of monitoring service. You can add nodes by following these steps.

First, add a root node. Select "Header" in "Tree Item Type" and fill in an appropriate descriptive information in "Title". For example, fill in "Host Monitor" in this example. The images of Host Monitor node are mainly images related to host performance, such as CPU, memory, disk space, etc.

Click the Add link behind the newly created root node (Host Monitor) to add a Graph

Select "Graph" in "Tree Item Type", select the monitoring chart you want to join in "graph", and repeat this process to add all the monitoring charts you want to join.

You can also add Tree Items, such as MySQL Monitor, which is used to monitor information related to MySQL services and repeat the above process until a regulated tree is created.

In this way, we can view all the monitoring images of "Test Host" in the "graphs" interface.

5. Add a new monitoring chart to the existing host

Click "New Graphs" under the console console and select the host to which you want to add the monitoring chart. Select a Graph template in Graph Templates. In this example, select SNMP-Ceneric OID Template and click the create button.

Fill in the following information, fill in the name of Graph in the "Title" text box, fill in the description information or the unit used in the drawing picture in the "Vertical Lable" text box, display on the left side of the picture, fill in the name of the data source in the "name" text box, select the color to be used in the drawing in "LegendColor", fill in the name of the legend in "Legend Text", and fill in the OID information of the host to be monitored in the "OID" text box. Click the "create" button to complete the creation of the Graph.

The monitoring chart after completion is as follows:

6. Merge multiple data sources into one graph

Click "Graph Management" under the console console, and then click the Add link.

Select None in the Select Graph Template drop-down box, select None in the Host drop-down box, and then click the create button.

Enter the name of Graph in the "Title" text box.

Click the Add link to add Graph Items.

Add multiple data sources and draw the selected data sources on a monitoring diagram.

When finished, put the monitoring chart into Graph Trees.

IV. Cacti scripts and templates

Cacti script and template Forum: http://forums.cacti.net/forum-12.html

A complete list of cacti scripts and templates: http://forums.cacti.net/about15067.html

1.Advance Ping scripts and templates

Download address: http://forums.cacti.net/about10049.html

Note: to use this template, the-- enable-sockets option must be added when compiling PHP to support sockets.

1)。 Function: this template is used to monitor the latency and packet loss of a TCP/UDP port, ICMP.

2)。 Download the ss_fping.php script and put it in the / usr/local/apache/htdocs/cacti/scripts/ directory, download the cacti_graph_template_ping_advanced_ping_v1_3.xml template, and import the template using cacti's template import page.

3)。 Select Devices in the left menu bar under the Console tab, create a new Devices for the host you want to monitor, or select an existing Devices. Add an Advanced Pingv1.3 template to Associated Graph Templates. And click the top Create Graphs for this Host link.

Select PING-Advanced Ping v1.3 in the selection box of Graph Templates, then click the Create button, and the following WEB page appears.

* item means how many probe packets are sent to the port to be monitored at a time (the default is 20). The second item is the protocol used, which can be ICMP, TCP or UDP, and the third item is the port number to be monitored (only if the second item is TCP or UDP). Click the create button when you are finished.

Select Date Sources from the left menu under the Console console tab, and select the new data source above to modify the information entered above.

Select Graph Trees from the left menu under the console tab to organize a tree view.

Browse the Advanced Ping monitoring chart created under the graphs tab.

TCP3360 Port (MySQL)

TCP80 Port (HTTP)

Pkt Loss: number of packets lost / 20 * 100% (20 packets per ping)

Avg Loss: aPCge packet loss

Latency: latency situation

Avg Latency: average latency

1.MySQL stats template

Forum discussion: http://forums.cacti.net/about11010.html

Download address: http://www.faemalia.net/mysqlUtils/

Function: used to monitor MySQL status, including index usage, query, sorting, locking and so on.

1)。 Put the mysql_stats.php and dumpMemcachedStats.php scripts in the cacti script directory (/ usr/local/apache/htdocs/cacti/scripts/), and be careful to select the cacti_host_template_temysql_host-step300-heartbeat600.xml and cacti_host_template_memcached_host-step300-heartbeat600.xml templates when importing the template (the default cacti fetches data every 5 minutes).

2)。 Configure the MySQL server so that the machine where the cacti resides can access the status information of the MySQL server. You must have "process" permission. If you want to monitor InnoDB status, you must also have "SUPER" permission.

GRANT PROCESS ON *. * TO cacti@'cactimachine' IDENTIFIED by 'cacti'

GRANT SUPER ON *. * TO cacti@'cactimachine' IDENTIFIED BY 'cacti'

3)。 Create a Graph. Select Devices in the left menu bar under the Console tab, create a new Devices for the host you want to monitor, or select an existing Devices. Add a Graph Templates to the Associated Graph Templates that you want to monitor the status of the MySQL (such as the teMySQL-Index Usage template, which is a series of templates that start with teMySQL). And click the top Create Graphs for this Host link, select teMySQL-Index Usage in the Graph Templates selection box, and then click the Create button, the following WEB page appears.

Fill in the user name and password with permission to access the MySQL database above, and then click the create button.

Select the Graph Templates you just added and click the create button to create the Graph.

Select Graph Trees from the left menu under the console tab to organize a tree view.

Browse the MySQL monitoring chart created under the graphs tab.

Thumbnail:

This is the end of this article on "how to use Cacti Network Monitoring tools". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report