Cacti Manual 0.8.7
Ian Berry
Tony Roman
Larry Adams
J.P. Pasnak
Jimmy Conner
Reinhard Scheck
Andreas Braun
Installation
Requirements
Installing Under Unix
Required Packages for RPM-based Operating Systems
Ports for FreeBSD
Configuration of Software Packages
Distribution Specific Installation Instructions
Configure PHP
Configure the Webserver (Apache)
Configure MySQL
Setting Up SNMP
Getting Net-SNMP binaries
Building the Net-SNMP agent from source
Configuring the Net-SNMP agent
Test your configuration
Extending the SNMP Agent
Install and Configure Cacti
Start System Services
(Optional) Install and Configure Spine
Apply Patches
Ubuntu Installation Instructions
Installing Under Windows
Software Components Required
Configuration of Software Packages
Configure Security
Configure PHP
Configure the Webserver (Apache)
Configure the Webserver (IIS)
Install Cygwin (optional)
Install RRDTool
Install MySQL
Install Net-SNMP
Configure Cacti
Install Spine
Apply Patches
Upgrading Cacti
Installing the Plugin Architecture (PIA)
Download
Extract
Installing
Configuration
SQL
Installing Plugins
Installation of Legacy Plugins
Installation of PIA 2.x-Type Plugins
Managing Plugins
Basics
Principles of Operation
Data Retrieval
Data Storage
Data Presentation
Graph Overview
My First Graph
Creating a New Device
Creating the Graphs
More Graphs
Using Graphs Tab
The Tree Mode
Creating a Graph Tree
The List Mode
The Preview Mode
User Management
Templates
Why Templates?
Data Templates
Walkthrough: My First Data Template
Graph Templates
Walkthrough: My First Graph Template
Host Templates
Walkthrough: My First Host Template
Using Templates
Using a Host Template
Using Graph Templates
Template Import & Export
Import Templates
Export Templates
Advanced Topics
Common Tasks
Data Input Methods
Creating a Data Input Method
Data Input Fields
Making Your Scripts Work With Cacti
Walkthrough: My First Data Input Method
PHP Script Server
Using the PHP Script Server
Upgrade Steps for the Example HostMib Data Queries
Migration of Existing PHP Scripts to Script Server
Testing Your Script in the Script Server
Data Queries
Creating a Data Query
SNMP Data Queries
Walkthrough: A New SNMP Data Query
SNMP Data Query Walkthrough
Building Raw XML File
Insert all descriptive table columns
Getting the Output Values
Defining the Data Template
Defining the Graph Template
Revisiting The Data Query
Create Graphs for this Host
VALUE/REGEXP in Action
Script Query XML Syntax
Script Data Query Walkthrough
Basic Script
XML File
Completing the Script
The Complete XML File
See it at work!
Create the Data Template
Create the Graph Template
Associate Graph Template with Data Query
Creating the Images
Spine
Help
FAQ
Using Cacti
General
Monitoring
Graphs
Windows Related
Debugging
Check Cacti Log File
Check Basic Data Gathering
Check Cacti's Poller
Check MySQL Update
Check RRD File Update
Check RRD File Ownership
Check RRD File Numbers
Check RRDTool Graph Statement
Miscellaneous
RPM Installation?
Not NaN, but 0 (zero) values?
Maintenance
Logrotate cacti.log
Daily MySQL Dump of the Cacti SQL Database using logrotate
Migrating RRD Files between Architectures
Migrating RRD Files between Architectures and Hosts
Reference
RRDTool Specific Features
GPRINT Presets
CDEFs
Creating a CDEF
Special Data Source
Using Special Data Source
More CDEF Examples
Command Line Scripts
Rebuild Poller Cache
Re-Index Hosts
Empty Poller Output Table
Reapply Suggested Names to Graphs
Copy Local Cacti User
Add a New Device
Add a New Graph
Add Items to a Tree
Add Graph Permissions
Variables
Graph Variables
Host Variables
Examples
Managing Graph Y-Axis
Using an Upper Limit
Data exceeds given Limit
Data exceeds given Limit, Capped
Graphing Data with a Small Standard Deviation
Using --alt-autoscale
Using --alt-autoscale and --alt-y-grid
RRDTool
RRD Files
About Consolidation
Defining the 1. rrd file
Defining the 2. rrd file
Running the Perl Script
Discussing the results
Using with cacti
See the script working
Using Consolidation
Common view of Traffic Graph
See the MAXimum Data after Consolidation
Viewing Historical Data
Conclusion
Non Integer Values shown
"No Data Loss"
Basic Knowledge for understanding RRAs
Here we go!
Defining a new round robin archive (rra)
Define a new data template
Define a new graph template
Modify Data Query to add Graph Template
Finally: Create Graphs for this Host
Now, where's the trick?
Something to keep in mind
Resize RRD Files
Externally Updated RRDs
Get rrdtool info
Create the Data Template
Create the Graph Template
Prepare the Host
Creating the Data Sources
Create the new Graph
Change y-Axis Scaling
Database Design