Cacti ist eine Open Source Graphing Lösung auf Basis der RRD Tools. Neben eigenen Pollern und modularen Schnittstellen zeichnet es sich auch durch eine feine Benutzerautorisierung aus. Der Vortrag beginnt mit einer Einführung in das Performance-Monitoring mit "Cacti" und fokussiert dabei auf die spezifischen Stärken.
Neben einer Beschreibung des aktuellen Entwicklungsstatus liegt der Schwerpunkt auf der "Plugin Infrastruktur" und den damit verbundenen Möglichkeiten. Ein abschließender Ausblick auf das kommende Release rundet den Vortrag ab.
OSMC 2011 | Cacti Graphing Solution by Reinhard Scheck
1. the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Cacti Graphing Solution
Open Source Performance Monitoring
2. 2the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Agenda
Why Performance Monitoring?
The Cacti Architecture
The Magic of Templates
The Plugin Ecosystem
The Future
5. 5the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
Why Performance Monitoring? (1)
Start with Fault Management
Machines up and running?
Services up and running?
Metrics ok (thresholds)?
...
current timestamp
“ok” or “not ok”
21. 21the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Cacti Architecture (5)
Data Input Method (script) fetches data, e.g. temperature
Data Query fetches tabular data e.g. Interface stats
Data Template storage pattern for data == rrd file
Graph Template defines graphical layout for display
Host Template groups graph templates
Plugin add new functionality to Cacti:
- Threshold Alerts
- Tabular reports
- Weathermaps
- Dashboards
22. 22the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Cacti Architecture (6)
Device associated to a
Host Template inherits multiple
Graph Templates relates to
Data Templates uses
Data Input Methods (Scripts)
26. 26the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (1)
you will have multiple devices
Router, Switch, Firewall, Loadbalancer, ...
SAN, NAS, File Server, ...
DNS, DHCP, Web Server, ...
cover each type with a single “Host Template”
27. 27the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (2)
define global properties as a single template
propagate changes to all targets in one go
use template repository or
develop custom templates
28. 28the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (Custom Scripts)
29. 29the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (Data Template)
30. 30the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (Graph Template)
31. 31the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Magic of Templates (Host Template)
38. 38the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Plugin Ecosystem
Plugin Architecture
extends Cacti
Set of files replacing parts of core code
How?
defines hooks == defined API
add menu items, tabs
allows access to Cacti SQL tables
run custom polling
Download ... enable ... GO!
39. 39the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
Autom8 – creates Graphs and Trees
Creates Graphs
Creates Trees
Rule based
Runs automatically
no user action required
55. 55the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
Plugins – where to get them
MacTrack – tracks MAC and IP addresses
QuickTree – a shopping basket for graphs
Syslog – centralized logging
...
Cacti “Plugin Announcement” forum
http://forums.cacti.net/forum-19.html
and “Plugin Repository”
http://docs.cacti.net/plugins
58. 58the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Future (Internationalization)
Available now in
English, Bulgarian, French, German, Spanish, Swedish,
Russian, Japanese, Trad. Chinese,
Translators welcome!
Automatic language detection
Time zone support
Support for i18n for plugins
60. 60the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Future (Integration)
Built-in Plugin Architecture, finally!
Command Line Interface
Completely rewritten CLI support
to e.g. allow interfacing a CMDB
Works on Data queries, Devices, Graphs, Trees
User and permission support
Template Import
... and more ...
61. 61the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Future (Full RRDTool Support)
support almost any available RRDTool feature
Right axis, manual/automatic scaling, grid-fitting
Every colortag, full font support, watermarks, ...
Templated x-grid support (time axis)
Dash support, borders, font smoothing,
pango markup
COMPUTE data source
62. 62the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Future (AJAX and CSS)
jQuery
e.g. Colorpicker, jQuery UI
Improved admin performance via AJAX
Autocomplete fields
to avoid loading e.g. 100s devices in a dropdown
Drag 'n' drop item reordering
Tabbed views, Re-sizable menu and columns
new tree design
63. 63the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Future (Scalability)
Cacti goes large scale
Multiple installations > 100,000 data sources
Biggest known > 1,000,000 data sources
required resources:
BOOST plugin, predecessor of rrdcached
fast bulk rrd updates
(disk performance!)
Use of MySQL memory tables
64. 64the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
Links
Main Site http://www.cacti.net
Documentation http://docs.cacti.net
Forum http://forums.cacti.net
Bug Tracker http://bugs.cacti.net
Resources http://docs.cacti.net/template
http://docs.cacti.net/plugins
CactiEZ http://cactiuser.org/
65. 65the complete rrdtool-based graphing solutionthe complete rrdtool-based graphing solutionCactiCacti
The Team as of 2011
browniebraun
gandalf
rony
TheWitness LineGod
raX
BSOD2600
cigamit