0% found this document useful (0 votes)
349 views8 pages

Cacti Tutorial

The document outlines the steps to add a device and create graphs in Cacti, including filling in device details, creating graphs for interfaces, and configuring mail servers and flow viewers to monitor network traffic and syslog messages from devices. It also describes how to set up removal and alert rules for syslog messages.

Uploaded by

naren_prasad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
349 views8 pages

Cacti Tutorial

The document outlines the steps to add a device and create graphs in Cacti, including filling in device details, creating graphs for interfaces, and configuring mail servers and flow viewers to monitor network traffic and syslog messages from devices. It also describes how to set up removal and alert rules for syslog messages.

Uploaded by

naren_prasad
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Creating/Adding a Device and Graph:1. Click on Device on Left panel then click on Add as below snap.

2. Fill details as described below and click on create at right bottom:-

Description Hostname SNMP Community

<Device Name> < IP address of Device> <SNMP String configured on remote Device>

If device all information is fine then Cacti servers communicate with device accordingly and capture all information using SNMP traps. 3. Now need to create graph for this device then you have to click on *Create Graph for this Host on top right.

4. Now you will get all interface detail with and check the box provide at right toward interface and select In/Out Bits on Select a graph type. Then click on Create.

5. To add interface description on Graph Title use query option from Graph Management located at left side panel. Click on required Graph title, locate Graph Field and insert below entry if device is Cisco. |host_description| - |query_ifName| - |query_ifAlias|

Wait for few minutes your RRD file will be create by RRDtool and check the graph on Graphs tab.

To check Realtime Graph for any Graph:


Goto Graphs tab and select any of the graph title. Click real-time icon mentioned in below snap:on right side of graph

New pop-up window will appear with further useful configuration. Interval option can be used for poller frequency minimum 1 second .

Mail Server configuration


Mail server configuration is required to get any kind of automated mails.

Flows Viewer
1. Flows plug-ins is use to get the Net Flow data from Cisco devices and displays the same on Flows tabs post running query.

Three sub-tabs exists inside flows tab (Filter, Listeners & Scheduled). Listener defines the folder and TCP port on which Centos server is getting Net Flow data from Cisco Device. 2. Firstly need to add listener using below method:-

Device name Directory Allowed host Port

Listener name (can use any thing) type required Directory name then flow-tool will create this directory inside /var/flows/ directory in centos. let it be 0 then any IP can read the logs. use the exact TCP Port which you have used in flow-capture.conf file located in (/etc/flow-tools/) directory in centos.

3. To check the Net Flow log go to Filters Tab and select required Listener and click on View button at bottom.

4. Then after you will get output as below and if you dont get then check with your configuration in Centos.

Syslog
Syslog plug-ins is used to get all types of log messages from the devices allowed in Rsyslog. Cacti server creates a tab of syslog with some useful configuration. To monitor the Syslog go to Syslog tab and select show all hosts from left side panel. We can check logs for devices individually as well.

Special rules can be added for removing the logs and for alerting on specific message.

Removal rules:Go to Console tab and select Removal Rules in Syslog setting on Left side panel. Click on Add located at top right corner.

Fill the form accordingly and create rules. This rule will be run on next polling by cacti.

Alert Rules
Go to Console tab and select Removal Rules in Syslog setting on Left side panel. Click on Add located at top right corner.

Fill the form accordingly and check it out.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy