Sei sulla pagina 1di 62

the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution

Cacti Cacti
The Cacti Graphing Solution
Open Source Performance Monitoring
2 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Agenda
Why Performance Monitoring?
The Cacti Architecture
The Magic of Templates
The Plugin Ecosystem
The Future
3 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (1)
Start with Fault Management
Machines up and running?
Services up and running?
Metrics o !thresholds"?
###
current timestamp
$ok% or $not ok%
4 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? ()
$good looing%
5 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? ()
&o system was down' (ut
$(ad looing%
6 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? ()
)oom in to get e*act timeframe
7 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? ()
8 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? ()
history
matters!
9 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (!)
DB
outage!
filesize
increases!
10 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (!)
trend
matters!
11 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (!)
trend
matters!
Capacity
Management!
12 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (")
Billing!
13 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Why Performance Monitoring? (#)
Optimization!
14 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture (1)
15 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ()
Cacti Browser
16 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ()
Cacti Browser
MySQL
17 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ()
Cacti Browser Poller
Router
42
Application
Server
MySQL
PBX
18 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ()
Cacti Browser Poller
Router
42
Application
Server
MySQL
42
rrd
rrd
rrd
PBX
19 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ()
Cacti Browser Poller
Router
42
Application
Server
MySQL
42
rrd
rrd
rrd
PBX
20 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture (!)
Single server setup' agent+less
,rowser (ased
Fast' e*tensi(le data collector
Template engine
Plugin Ecosystem
Scala(le 1,000,000 data sources
21 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture (")
22 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture (")
23 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture (#)
-ata .nput Method !script" fetches data' e#g# temperature
-ata /uery fetches ta(ular data e#g# .nterface stats
-ata Template storage pattern for data 00 rrd file
1raph Template defines graphical layout for display
2ost Template groups graph templates
Plugin add new functionality to Cacti3
+ Threshold Alerts
+ Ta(ular reports
+ Weathermaps
+ -ash(oards
24 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Cacti Architecture ($)
Device associated to a
Host Template inherits multiple
Graph Templates relates to
Data Templates uses
Data Input Methods !Scripts"
25 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Magic of Template% ()
define glo(al properties as a single template
propagate changes to all targets in one go
use template repository or
develop custom templates
26 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Magic of Template% (Cu%tom Script%)
27 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Magic of Template% (&ata Template)
28 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Magic of Template% (Graph Template)
29 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Magic of Template% ('o%t Template)
30 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
(et)or* Traffic Template
-aily
Weely
Monthly
31 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Template% for (on+(et)or* Sy%tem%
Fax Server Printer
32 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Template% , )here to get them
hundreds of templates availa(le' e#g#
-&S' -2CP' 4adius' httpd' s5uid' Tomcat' ###
4outer' Switches' 6oad ,alancers' ###
Temperature' Weather Sensors' ###
Cacti $Scripts and Templates% forum
http377forums#cacti#net7forum+89#html
and $Template 4epository%
http377docs#cacti#net7templates
-ownload ### import ### 1:;
33 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Plugin -co%y%tem
Plugin Architecture
e*tends Cacti
Set of files replacing parts of core code
2ow?
defines hoos 00 defined AP.
add menu items' ta(s
allows access to Cacti S/6 ta(les
run custom polling
-ownload ### ena(le ### 1:;
34 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , create% Graph% and Tree%
Creates 1raphs
Creates Trees
4ule (ased
4uns automatically
no user action re5uired
35 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , define a Graph /ule
36 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , define a Graph /ule
37 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , %ho) eligi0le 'o%t%
38 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , define a Graph /ule
39 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , %ho) ne) graph%
40 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Autom. , Graph /ule%
41 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
/eportit , &efine a /eport
42 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
/eportit , u%e ne) &ata Source%
43 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
/eportit , /e%ult%
44 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
/eportit , /e%ult%
45 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
/eportit , TOP 11 Chart%
46 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Weathermap
Custom
backgrounds
Hovering
graphs
47 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Weathermap
48 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Weathermap
49 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Weathermap
50 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
(ectar , Send /eport% 0y -Mail
51 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Plugin% , )here to get them
MacTrac < tracs MAC and .P addresses
/uicTree < a shopping (aset for graphs
Syslog < centrali)ed logging
###
Cacti $Plugin Announcement% forum
http377forums#cacti#net7forum+8=#html
and $Plugin 4epository%
http377docs#cacti#net7plugins
52 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture
53 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Coder% lo3e unicode
54 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture (Scala0ility)
Cacti goes large scale
Multiple installations > 8??'??? data sources
,iggest nown > 8'???'??? data sources
re5uired resources3
,::ST plugin' predecessor of rrdcached
fast (ul rrd updates
!dis performance;"
@se of MyS/6 memory ta(les
55 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture (4ntegration5 16.6.7 16.68)
?#A#A !current"3 ,uilt+in Plugin Architecture' finally;
?#A#= !soon"3 Command 6ine .nterface
Completely rewritten C6. support
to e#g# allow interfacing a CM-,
Wors on -ata 5ueries' -evices' 1raphs' Trees
@ser and permission support
Template .mport
### and more ###
56 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture (2ull //&Tool Support5 16.68)
?#A#= !soon"3
support almost any availa(le 44-Tool feature
4ight a*is' manual7automatic scaling' grid+fitting
Every colortag' full font support' watermars' ###
Templated *+grid support !time a*is"
-ash support' (orders' font smoothing'
pango marup
C:MP@TE data source
57 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture (A9A: and CSS5 16.687 666)
B/uery
e#g# Colorpicer' B/uery @.
.mproved admin performance via ACAD
Autocomplete fields
to avoid loading e#g# 8??s devices in a dropdown
-rag EnE drop item reordering
Ta((ed views' 4e+si)a(le menu and columns
new tree design
58 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The 2uture (4nternationali;ation7 <not no)=)
Availa(le now in
English' ,ulgarian' French' 1erman' Spanish' Swedish'
4ussian' Capanese' Trad# Chinese'
Translators welcome;
Automatic language detection
Time )one support
Support for i8An for plugins
59 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
Cacti + Tea%er
60 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
>in*%
Main Site http377www#cacti#net
-ocumentation http377docs#cacti#net
Forum http377forums#cacti#net
,ug Tracer http377(ugs#cacti#net
4esources http377docs#cacti#net7template
http377docs#cacti#net7plugins
CactiEF http377cactiuser#org7
61 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
The Team a% of 111
browniebraun
gandalf
rony
TheWitness LineGod
raX
BSOD2600
cigamit
62 the complete rrdtool-based graphing solution the complete rrdtool-based graphing solution
Cacti Cacti
?ue%tion%7
Plea%e@
gandalfAcacti6net

Potrebbero piacerti anche