Install and configure Cacti flowview in RHEL 6.3

Source: Internet
Author: User

Install and configure Cacti flowview in RHEL 6.3

Test environment:

1. RHEL 6.3X64 minimal installation
2. You have installed cacti 0.8.8.
3. You have configured the epel source.
4. flow-export has been configured on the cisco router.

Installation and configuration process:

1. Install flow-tools

Yum install flow-tools

2. install flowview

Wget http://docs.cacti.net/_media/plugin:flowview-v1.1-1.tgz

Tar zxvf plugin: flowview-v1.1-1.tgz

Mv plugin: flowview-v1.1-1.tgz flowview-v1.1-1.tgz

Cp flowview/var/www/html/cacti/plugin

Cp/var/www/html/cacti/plugin/flowview/flow-capture/etc/init. d/flow-capture

Vi/etc/init. d/flow-capture

Find the following content and change it to the following:

$ Cacti_base = '/var/www/html/cacti ';

2.5 modify configuration:

Vi/var/www/html/cacti/include/config. php is as follows:

$ Plugins = array ();

$ Plugins [] = 'flowview ';

Save and exit.

3. log on to cacti and find Configuration-Plugin Management to install flowview.

In Configuration-setting-Misc, find the Flows Directory and fill in the path, such as/var/netflow. This path can only exist. It is mainly used to place the obtained data packets.

If this folder does not exist on your host. Create:

Mkdir-p/var/netflow

Click "save"

4. Start data packet acquisition

/Etc/init. d/flow-capture start

Ps-ef | grep flow

Root 11333 1 0? 00:00:00/usr/bin/flow-capture-w/var/netflow/router 0/0/2055-S5-V5-z 0-n 1439-e 2880-N-1

5. In cacti, click the "flow" button above, and create a new listener in listeners to save. For example, router.

6. Check the data packet capture status in the cacti flow plug-in de fliter. However, the results are not displayed in actual conditions. No reason is found. As an alternative, we can use the following method to view the capture status.

In the/var/netflow directory of cacti, you will find a router folder. There is also a folder named by date. There are many files in it. For example, my:

Ll/var/netflow/router/2014-10-25/
Ft-v05.2014-10-25.134601 + 0800
Ft-v05.2014-10-25.142601 + 0800
Ft-v05.2014-10-25.150601 + 0800

How can I view the content? The method is as follows:

Flow-cat/var/netflow/router/2014-10-25/ft-v05.2014-10-25.132801 + 0800 | flow-stat-f8
# --- ---- Report Information ---------
#
# Fields: Total
# Symbols: Disabled
# Sorting: None
# Name: Destination IP
#
# Args: flow-stat-f8
#
#
# IPaddr flows octets packets
#
172.16.11.213 2 432 3
192.168.40.1 1 100000 1000
172.16.11.211 10 12451 356445

Finally, which cisco devices can enable flow-export?

1. All vrouters are available.

2. You can go up from vrouters 4500. 3750.

How can I configure a vro?

Interface F0/3
Ip address 172.16.11.212 255.255.255.0
Ip route-cache flow
Ip flow ingress
Ip flow egress

Ip flow-export version 5
Ip flow-export destination 172.16.22.100 2055
Ip flow-cache timeout active 5
Ip flow-cache timeout inactive 15

-------------------------------------- Split line --------------------------------------

In RHEL6.4, the Cacti + Spine monitoring host is used to send mail alarms.

Use Cacti + Spine to monitor remote hosts in RHEL6.4

CentOS 5.5 complete installation of Cacti + Spine

Cacti construction document under CentOS 6

Detailed description of Cacti monitoring deployment under RHEL5.9

How to install Cacti in CentOS 6.3

Quick installation and configuration of Cacti in CentOS Linux

-------------------------------------- Split line --------------------------------------

This article permanently updates the link address:

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.