SlideShare a Scribd company logo
CACTI
Presented By:
Sweta Dargad
What is Cacti?
 Cacti is a complete frontend to RRDTool, it
stores all of the necessary information to
create graphs and populate them with data
in a MySQL database. The frontend is
completely PHP driven. Along with being able
to maintain Graphs, Data Sources, and Round
Robin Archives in a database, cacti handles
the data gathering. There is also SNMP
support for those used to creating traffic
graphs with MRTG.
MRTG
 The Multi Router Traffic Grapher, or just
simply MRTG, is free software for
monitoring and measuring the traffic load
on network links. It allows the user to see
traffic load on a network over time in
graphical form.
The primary features of Cacti
include:
 unlimited graph items
 auto-padding support for graphs
 graph data manipulation
 flexible data sources
 data gathering on a non-standard timespan
 custom data-gathering scripts
 built-in SNMP support
 graph templates
 data source templates
 host templates
 tree, list, and preview views of graph data
 user-based management and security
Data Sources
 To do data gathering, you can feed cacti the paths to
any external script/command along with any data that
the user will need to "fill in“
 cacti will then gather this data in a cron-job and
populate a MySQL database/the round robin archives.
 Data Sources can also be created, which correspond to
actual data on the graph.
 For instance, if a user would want to graph the ping
times to a host, you could create a data source utilizing
a script that pings a host and returns it's value in
milliseconds. After defining options for RRDTool such as
how to store the data you will be able to define any
additional information that the data input source
requires, such as a host to ping in this case. Once a
data source is created, it is automatically maintained at
5 minute intervals.
Data Sources
 Data sources can be created that utilize
RRDTool's "create" and "update" functions.
Each data source can be used to gather
local or remote data and placed on a graph.
 Supports RRD files with more than one data
source and can use an RRD file stored
anywhere on the local file system.
 Round robin archive (RRA) settings can be
customized giving the user the ability to
gather data on non-standard timespans while
store varying amounts of data.
Cacti
Graphs

Once one or more data sources are defined, an
RRDTool graph can be created using the data. Cacti
allows you to create almost any imaginable RRDTool
graph using all of the standard RRDTool graph types
and consolidation functions. A color selection area
and automatic text padding function also aid in the
creation of graphs to make the process easier.
 Not only can you create RRDTool based graphs in
cacti, but there are many ways to display them.
Along with a standard "list view" and a "preview
mode", which resembles the RRDTool frontend
14all, there is a "tree view", which allows you to put
graphs onto a hierarchical tree for organizational
purpose
Graphs
 Unlimited number of graph items can be defined for
each graph optionally utilizing CDEFs or data sources
from within cacti.
 Automatic grouping of GPRINT graph items to AREA,
STACK, and LINE[1-3] to allow for quick re-sequencing of
graph items.
 Auto-Padding support to make sure graph legend text
lines up.
 Graph data can be manipulated using the CDEF math
functions built into RRDTool. These CDEF functions can
be defined in cacti and can be used globally on each
graph.
 Support for all of RRDTool's graph item types including
AREA, STACK, LINE[1-3], GPRINT, COMMENT, VRULE, and
HRULE.

graphs
User Management
 Due to the many functions of cacti, a user
based management tool is built in so you
can add users and give them rights to
certain areas of cacti. This would allow
someone to create some users that can
change graph parameters, while others
can only view graphs. Each user also
maintains their own settings when it
comes to viewing graphs.
Data Gathering
 Contains a "data input" mechanism which allows
users to define custom scripts that can be used to
gather data. Each script can contain arguments that
must be entered for each data source created using
the script (such as an IP address).
 Built in SNMP support that can use php-snmp, ucd-
snmp, or net-snmp.
 Ability to retrieve data using SNMP or a script with an
index. An example of this would be populating a list
with IP interfaces or mounted partitions on a server.
Integration with graph templates can be defined to
enable one click graph creation for hosts.
 A PHP-based poller is provided to execute scripts,
retrieve SNMP data, and update your RRD files.
Graph Display
 The tree view allows users to create "graph
hierarchies" and place graphs on the tree. This
is an easy way to manage/organize a large
number of graphs.
 The list view lists the title of each graph in one
large list which links the user to the actual
graph.
 The preview view displays all of the graphs in
one large list format. This is similar to the
default view for the 14all cgi script for
RRDTool/MRTG.
User Management
 User based management allows
administrators to create users and assign
different levels of permissions to the cacti
interface.
 Permissions can be specified per-graph
for each user, making cacti suitable for co
location situations.
 Each user can keep their own graph
settings for varying viewing preferences.
Templating

Lastly, cacti is able to scale to a large number
of data sources and graphs through the use
of templates. This allows the creation of a
single graph or data source template which
defines any graph or data source associated
with it. Host templates enable you to define
the capabilities of a host so cacti can poll it
for information upon the addition of a new
host.
Templates
 Graph templates enable common graphs to be
grouped together by templating. Every field for a
normal graph can be templated or specified on a
per-graph basis.
 Data source templates enable common data source
types to be grouped together by templating. Every
field for a normal data source can be templated or
specified on a per-data source basis.
 Host templates are a group of graph and data
source templates that allow you to define common
host types. Upon the creation of a host, it will
automatically take on the properties of its template.
Download Cacti
 The latest stable version is 0.8.8a, released 04/29/12.
 Cacti requires MySQL, PHP, RRDTool, net-snmp, and a webserver that supports
PHP such as Apache or IIS. Please see the requirements section of the manual
for information on how to fulfill these requirements under certain operating
systems. Please use the install guide for either Unix or Windows for information
about installing Cacti.
 Linux/Unix in tar.gz format
 Windows in ZIP format
 Gentoo Linux users install Cacti using:
emerge cacti
 Debian Linux users install Cacti using:
apt-get install cacti
 Fedora Linux users
yum install cacti
 SUSE Linux users
Available in Yast or SUSE media. Version may not be the latest.
References
 http://www.net-snmp.org/
 http://www.cacti.net/features.php
 http://www.hpl.hp.com/research/cacti/
 http://en.wikipedia.org/wiki/Cacti_%28sof
tware%29

More Related Content

PDF
Introduction to WordPress
PPTX
Digital Marketing 101
PDF
Digital marketing plan
PPTX
Digital marketing strategy
PPT
Question bank - Digital Marketing
PPS
Web Site Design Principles
PDF
Simple business plan template
PPTX
Intro to Web Design 6e Chapter 1
Introduction to WordPress
Digital Marketing 101
Digital marketing plan
Digital marketing strategy
Question bank - Digital Marketing
Web Site Design Principles
Simple business plan template
Intro to Web Design 6e Chapter 1

What's hot (19)

PDF
Brand Marketing Powerpoint Presentation Slides
PPTX
Branding Your Business with Social Media Presentation
PDF
Instagram Marketing proposal by Anacondagram
PDF
How to create a SaaS BtoB Marketing Plan
PPTX
Digital marketing strategy for B2B sector
PDF
Online branding
PDF
Good PowerPoint Design - for business presenters
PDF
Social Media Proposal Template
PPTX
Front end development
PPT
Web design for business.ppt
PDF
Digital Technologies and Online Marketing Agency MSG Marketing
PPTX
Presentation of the company Wix
PPTX
Website design with Wordpress ppt
PDF
Social media 101 slides
PDF
How to Build a Winning Martech Stack
PPTX
Marketing plan2
PDF
Website Redesign Playbook
PPT
Go To Market Workshop
DOCX
report
Brand Marketing Powerpoint Presentation Slides
Branding Your Business with Social Media Presentation
Instagram Marketing proposal by Anacondagram
How to create a SaaS BtoB Marketing Plan
Digital marketing strategy for B2B sector
Online branding
Good PowerPoint Design - for business presenters
Social Media Proposal Template
Front end development
Web design for business.ppt
Digital Technologies and Online Marketing Agency MSG Marketing
Presentation of the company Wix
Website design with Wordpress ppt
Social media 101 slides
How to Build a Winning Martech Stack
Marketing plan2
Website Redesign Playbook
Go To Market Workshop
report
Ad

Similar to Cacti (20)

PDF
Cacti Network Monitoring Networking Tools
PDF
Cacti presentation
PPT
CS8091_BDA_Unit_IV_Stream_Computing
PPT
6. Cacti Network Performance Monitoring.ppt
PDF
Time series data monitoring at 99acres.com
PDF
NETWORK TRAFFIC ANALYSIS: HADOOP PIG VS TYPICAL MAPREDUCE
PDF
NETWORK TRAFFIC ANALYSIS: HADOOP PIG VS TYPICAL MAPREDUCE
PPTX
Introduction to GCP Data Flow Presentation
PPTX
Introduction to GCP DataFlow Presentation
PPT
Hatkit Project - Datafiddler
PPTX
GraphQL & DGraph with Go
PDF
Report Hadoop Map Reduce
PPTX
6 10-presentation
PPT
WS-VLAM workflow
PDF
IRJET- Analysis of Boston’s Crime Data using Apache Pig
PPTX
Microsoft R - ScaleR Overview
PPT
Mis presentation
PDF
Concepts and Methods of Embedding Statistical Data into Maps
PDF
Aucfanlab Datalake - Big Data Management Platform -
PDF
Python and trending_data_ops
Cacti Network Monitoring Networking Tools
Cacti presentation
CS8091_BDA_Unit_IV_Stream_Computing
6. Cacti Network Performance Monitoring.ppt
Time series data monitoring at 99acres.com
NETWORK TRAFFIC ANALYSIS: HADOOP PIG VS TYPICAL MAPREDUCE
NETWORK TRAFFIC ANALYSIS: HADOOP PIG VS TYPICAL MAPREDUCE
Introduction to GCP Data Flow Presentation
Introduction to GCP DataFlow Presentation
Hatkit Project - Datafiddler
GraphQL & DGraph with Go
Report Hadoop Map Reduce
6 10-presentation
WS-VLAM workflow
IRJET- Analysis of Boston’s Crime Data using Apache Pig
Microsoft R - ScaleR Overview
Mis presentation
Concepts and Methods of Embedding Statistical Data into Maps
Aucfanlab Datalake - Big Data Management Platform -
Python and trending_data_ops
Ad

More from sweta dargad (11)

PPTX
Sock Puppet.pptx
PPT
Stacks
PDF
RRD Tool and Network Monitoring
PDF
Architecture for SNMP based Network Monitoring System
PDF
Snmp based network monitoring system
PPT
Applications of RFID technology
PPTX
Cyber security tutorial2
PPTX
Cyber security tutorial1
PPTX
Classifying Cybercrimes
PPTX
All about snmp
PPTX
Open source nms’s
Sock Puppet.pptx
Stacks
RRD Tool and Network Monitoring
Architecture for SNMP based Network Monitoring System
Snmp based network monitoring system
Applications of RFID technology
Cyber security tutorial2
Cyber security tutorial1
Classifying Cybercrimes
All about snmp
Open source nms’s

Recently uploaded (20)

PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Empathic Computing: Creating Shared Understanding
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Dropbox Q2 2025 Financial Results & Investor Presentation
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Empathic Computing: Creating Shared Understanding
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The AUB Centre for AI in Media Proposal.docx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Digital-Transformation-Roadmap-for-Companies.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Cacti

  • 2. What is Cacti?  Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.
  • 3. MRTG  The Multi Router Traffic Grapher, or just simply MRTG, is free software for monitoring and measuring the traffic load on network links. It allows the user to see traffic load on a network over time in graphical form.
  • 4. The primary features of Cacti include:  unlimited graph items  auto-padding support for graphs  graph data manipulation  flexible data sources  data gathering on a non-standard timespan  custom data-gathering scripts  built-in SNMP support  graph templates  data source templates  host templates  tree, list, and preview views of graph data  user-based management and security
  • 5. Data Sources  To do data gathering, you can feed cacti the paths to any external script/command along with any data that the user will need to "fill in“  cacti will then gather this data in a cron-job and populate a MySQL database/the round robin archives.  Data Sources can also be created, which correspond to actual data on the graph.  For instance, if a user would want to graph the ping times to a host, you could create a data source utilizing a script that pings a host and returns it's value in milliseconds. After defining options for RRDTool such as how to store the data you will be able to define any additional information that the data input source requires, such as a host to ping in this case. Once a data source is created, it is automatically maintained at 5 minute intervals.
  • 6. Data Sources  Data sources can be created that utilize RRDTool's "create" and "update" functions. Each data source can be used to gather local or remote data and placed on a graph.  Supports RRD files with more than one data source and can use an RRD file stored anywhere on the local file system.  Round robin archive (RRA) settings can be customized giving the user the ability to gather data on non-standard timespans while store varying amounts of data.
  • 8. Graphs  Once one or more data sources are defined, an RRDTool graph can be created using the data. Cacti allows you to create almost any imaginable RRDTool graph using all of the standard RRDTool graph types and consolidation functions. A color selection area and automatic text padding function also aid in the creation of graphs to make the process easier.  Not only can you create RRDTool based graphs in cacti, but there are many ways to display them. Along with a standard "list view" and a "preview mode", which resembles the RRDTool frontend 14all, there is a "tree view", which allows you to put graphs onto a hierarchical tree for organizational purpose
  • 9. Graphs  Unlimited number of graph items can be defined for each graph optionally utilizing CDEFs or data sources from within cacti.  Automatic grouping of GPRINT graph items to AREA, STACK, and LINE[1-3] to allow for quick re-sequencing of graph items.  Auto-Padding support to make sure graph legend text lines up.  Graph data can be manipulated using the CDEF math functions built into RRDTool. These CDEF functions can be defined in cacti and can be used globally on each graph.  Support for all of RRDTool's graph item types including AREA, STACK, LINE[1-3], GPRINT, COMMENT, VRULE, and HRULE. 
  • 11. User Management  Due to the many functions of cacti, a user based management tool is built in so you can add users and give them rights to certain areas of cacti. This would allow someone to create some users that can change graph parameters, while others can only view graphs. Each user also maintains their own settings when it comes to viewing graphs.
  • 12. Data Gathering  Contains a "data input" mechanism which allows users to define custom scripts that can be used to gather data. Each script can contain arguments that must be entered for each data source created using the script (such as an IP address).  Built in SNMP support that can use php-snmp, ucd- snmp, or net-snmp.  Ability to retrieve data using SNMP or a script with an index. An example of this would be populating a list with IP interfaces or mounted partitions on a server. Integration with graph templates can be defined to enable one click graph creation for hosts.  A PHP-based poller is provided to execute scripts, retrieve SNMP data, and update your RRD files.
  • 13. Graph Display  The tree view allows users to create "graph hierarchies" and place graphs on the tree. This is an easy way to manage/organize a large number of graphs.  The list view lists the title of each graph in one large list which links the user to the actual graph.  The preview view displays all of the graphs in one large list format. This is similar to the default view for the 14all cgi script for RRDTool/MRTG.
  • 14. User Management  User based management allows administrators to create users and assign different levels of permissions to the cacti interface.  Permissions can be specified per-graph for each user, making cacti suitable for co location situations.  Each user can keep their own graph settings for varying viewing preferences.
  • 15. Templating  Lastly, cacti is able to scale to a large number of data sources and graphs through the use of templates. This allows the creation of a single graph or data source template which defines any graph or data source associated with it. Host templates enable you to define the capabilities of a host so cacti can poll it for information upon the addition of a new host.
  • 16. Templates  Graph templates enable common graphs to be grouped together by templating. Every field for a normal graph can be templated or specified on a per-graph basis.  Data source templates enable common data source types to be grouped together by templating. Every field for a normal data source can be templated or specified on a per-data source basis.  Host templates are a group of graph and data source templates that allow you to define common host types. Upon the creation of a host, it will automatically take on the properties of its template.
  • 17. Download Cacti  The latest stable version is 0.8.8a, released 04/29/12.  Cacti requires MySQL, PHP, RRDTool, net-snmp, and a webserver that supports PHP such as Apache or IIS. Please see the requirements section of the manual for information on how to fulfill these requirements under certain operating systems. Please use the install guide for either Unix or Windows for information about installing Cacti.  Linux/Unix in tar.gz format  Windows in ZIP format  Gentoo Linux users install Cacti using: emerge cacti  Debian Linux users install Cacti using: apt-get install cacti  Fedora Linux users yum install cacti  SUSE Linux users Available in Yast or SUSE media. Version may not be the latest.
  • 18. References  http://www.net-snmp.org/  http://www.cacti.net/features.php  http://www.hpl.hp.com/research/cacti/  http://en.wikipedia.org/wiki/Cacti_%28sof tware%29