cacti tf-noc 2012
DESCRIPTION
cactiTRANSCRIPT
-
thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Graphing Solution
Open Source Performance Monitoring
-
2thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Agenda
Why Performance Monitoring?The Cacti ArchitectureThe Magic of TemplatesThe Plugin EcosystemThe Future
-
3thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (1)
Start with Fault ManagementMachines up and running?Services up and running?Metrics ok (thresholds)?...
current timestamp
ok or not ok
-
4thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (2)
good looking
-
5thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (2)
No system was down, butbad looking
-
6thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (2)
zoom in to get exact timeframe
-
7thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (2)
-
8thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (2)
historymatters!
-
9thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (3)
DBoutage!
filesizeincreases!
-
10thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (3)
trendmatters!
-
11thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (3)
trendmatters!
CapacityManagement!
-
12thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (4)
Billing!
-
13thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Why Performance Monitoring? (5)
Optimization!
-
14thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (1)
-
15thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (2)
CactiBrowser
-
16thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (2)
CactiBrowser
MySQL
-
17thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (2)
CactiBrowser Poller
Router
42Application
Server
MySQL
PBX
-
18thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (2)
CactiBrowser Poller
Router
42Application
Server
MySQL
42
rrdrrdrrd
PBX
-
19thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (2)
CactiBrowser Poller
Router
42Application
Server
MySQL
42
rrdrrdrrd
PBX
-
20thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (3)
Single server setup, agent-lessBrowser basedFast, extensible data collectorTemplate enginePlugin EcosystemScalable 1,000,000datasources
-
21thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (4)
-
22thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (4)
-
23thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (5)
Data Input Method (script) fetches data, e.g. temperatureData Query fetches tabular data e.g. Interface statsData Template storage pattern for data == rrd fileGraph Template defines graphical layout for displayHost Template groups graph templatesPlugin add new functionality to Cacti:
- Threshold Alerts- Tabular reports- Weathermaps- Dashboards
-
24thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Cacti Architecture (6)
Device associated to a Host Template inherits multiple
Graph Templates relates to Data Templates uses
Data Input Methods (Scripts)
-
25thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Magic of Templates (2)
define global properties as a single templatepropagate changes to all targets in one gouse template repository ordevelop custom templates
-
26thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Magic of Templates (Custom Scripts)
-
27thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Magic of Templates (Data Template)
-
28thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Magic of Templates (Graph Template)
-
29thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Magic of Templates (Host Template)
-
30thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Network Traffic Template
Daily
Weekly
Monthly
-
31thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Templates for Non-Network Systems
FaxServerPrinter
-
32thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Templates where to get them
hundreds of templates available, e.g.DNS, DHCP, Radius, httpd, squid, Tomcat, ...Router, Switches, Load Balancers, ...Temperature, Weather Sensors, ...
Cacti Scripts and Templates forumhttp://forums.cacti.net/forum-12.htmland Template Repositoryhttp://docs.cacti.net/templates
Download ... import ... GO!
-
33thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Plugin Ecosystem
Plugin Architectureextends CactiSet of files replacing parts of core code
How?defines hooks == defined APIadd menu items, tabsallows access to Cacti SQL tablesrun custom pollingDownload ... enable ... GO!
-
34thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 creates Graphs and Trees
Creates GraphsCreates TreesRule basedRuns automaticallyno user action required
-
35thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 define a Graph Rule
-
36thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 define a Graph Rule
-
37thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 show eligible Hosts
-
38thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 define a Graph Rule
-
39thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 show new graphs
-
40thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Autom8 Graph Rules
-
41thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Reportit Define a Report
-
42thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Reportit use new Data Sources
-
43thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Reportit Results
-
44thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Reportit Results
-
45thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Reportit TOP 10 Charts
-
46thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Weathermap
Custombackgrounds
Hoveringgraphs
-
47thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Weathermap
-
48thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Weathermap
-
49thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Weathermap
-
50thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Nectar Send Reports by EMail
-
51thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Plugins where to get them
MacTrack tracks MAC and IP addressesQuickTree a shopping basket for graphsSyslog centralized logging...Cacti Plugin Announcement forumhttp://forums.cacti.net/forum-19.htmland Plugin Repositoryhttp://docs.cacti.net/plugins
-
52thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future
-
53thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Coders love unicode
-
54thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future (Scalability)
Cacti goes large scaleMultiple installations > 100,000 data sourcesBiggest known > 1,000,000 data sources
required resources:BOOST plugin, predecessor of rrdcachedfast bulk rrd updates (disk performance!)Use of MySQL memory tables
-
55thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future (Integration; 0.8.8, 0.8.9)
0.8.8 (current): Built-in Plugin Architecture, finally!0.8.9 (soon): Command Line Interface
Completely rewritten CLI support to e.g. allow interfacing a CMDBWorks on Data queries, Devices, Graphs, TreesUser and permission supportTemplate Import... and more ...
-
56thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future (Full RRDTool Support; 0.8.9)
0.8.9 (soon):support almost any available RRDTool feature
Right axis, manual/automatic scaling, grid-fittingEvery colortag, full font support, watermarks, ...Templated x-grid support (time axis)Dash support, borders, font smoothing, pango markupCOMPUTE data source
-
57thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future (AJAX and CSS; 0.8.9, ...)
jQuerye.g. Colorpicker, jQuery UI
Improved admin performance via AJAXAutocomplete fields to avoid loading e.g. 100s devices in a dropdownDrag 'n' drop item reordering
Tabbed views, Re-sizable menu and columnsnew tree design
-
58thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Future (Internationalization, not now)
Available now inEnglish, Bulgarian, French, German, Spanish, Swedish, Russian, Japanese, Trad. Chinese, Translators welcome!Automatic language detectionTime zone supportSupport for i18n for plugins
-
59thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Cacti - Teaser
-
60thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Links
Main Site http://www.cacti.netDocumentation http://docs.cacti.netForum http://forums.cacti.netBug Tracker http://bugs.cacti.netResources http://docs.cacti.net/template
http://docs.cacti.net/pluginsCactiEZ http://cactiuser.org/
-
61thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
The Team as of 2011
browniebraun
gandalf
rony
TheWitness LineGod
raX
BSOD2600
cigamit
-
62thecompleterrdtoolbasedgraphingsolutionthecompleterrdtoolbasedgraphingsolutionCactiCacti
Questions, Please!