Cacti PDF
Cacti PDF
Monitoring
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license
(http://creativecommons.org/licenses/by-nc/3.0/)
Introduction
Data Collection
Supports SNMP including the use of php-snmp or net-snmp
Data sources can be updated via SNMP or by defining scripts to
capture required data.
An optional component, cactid, implements SNMP routines in C with
multi-threading. Critical for very large installations.
Templates
You can create templates to reutilize graphics definitions, data and
device sources
Cacti Plugin Architecture
Extends Cacti functionality. Many, many plugins are available.
User Management
You can manage users locally or via LDAP and you can assign
granular levels of authorization by user or groups of users.
Disadvantages
Advice:
For continuous use or large installations it is likely that
you will be using scripts and tools to automate the
configuration of Cacti.
Steps to add and monitor devices
Youll see this screen later when you are creating graphics for hosts vs. routers
View the Graphics
Second, name your tree, choose the sorting order (the author
likes Natural Sorting and press create:
Graphics Tree
Third, add devices to your new tree:
Once you click Add you can add Headers (separators), graphs or
hosts. Now we'll add Hosts to our newly created graph tree:
Graphics Tree with 2 Devices
Our graphics tree just after the first two devices were added.
So far, no graphics are displayed the first graphics can
take up to 5 minutes to display.
Cacti graphs are stored on disk and updated using RRDTool
via the poller.php script, which, by default, is run every five
minutes using cron.
Initial Graphs
Over time youll see tendencies
Next Steps
You can extend cacti by installing the Cacti Plugin
Architecture:
http://cactiusers.org/wiki/PluginArchitectureInstall
There are a number of popular Cacti plugins, such as:
- Settings
- thold
- PHP Weathermap
A good place to start is http://cactiusers.net/ and Google.
To send email to RT from Cacti via rt-mailgate you can
use the Cacti settings plugin:
http://docs.cacti.net/plugin:settings
Conclusions
Your Mission...
Install Cacti
Create device entry for your local router
Create device entries for your local servers
Create graphs for each item
Place PCs, Routers, Switches in a tree hierarchy of
your design.
If you have time
Create device entries for any additional network
equipment in the classroom. Use SNMP for all items.
Choose <Yes>
Installation: 7
http://pcN.ws.nsrc.org/cacti
Press Finish
Note!
Be sure that RRDTool
1.3.x (or higher) is chosen
and not 1.0.x.
Cacti: First Time Login