Upload
quachvannhan
View
237
Download
3
Embed Size (px)
Citation preview
8/10/2019 Introduction to Zabbix
1/55
Introducing Zabbix
SIA Zabbix
www.zabbix.com
8/10/2019 Introduction to Zabbix
2/55
Nuremberg, October 28th - 29th 2009 2
Zabbix and endocrinology
Hans Selye, father of the stress theory
Distress
Eustress
8/10/2019 Introduction to Zabbix
3/55
Nuremberg, October 28th - 29th 2009 3
Why monitor?
Answer to distress
Why monitor (besides medical reasons)?
8/10/2019 Introduction to Zabbix
4/55
Downtime Costs
8/10/2019 Introduction to Zabbix
5/55
Nuremberg, October 28th - 29th 20095
What is Zabbix?
Distributed monitoring system
Centralised configuration
8/10/2019 Introduction to Zabbix
6/55
Nuremberg, October 28th - 29th 20096
History of Zabbix
Development started internally in a bank in 1998
First public opensource release in 2001
No hidden meaning in the name
8/10/2019 Introduction to Zabbix
7/55
Nuremberg, October 28th - 29th 20097
Today
1. Comparing with Nagios
2. How cool is Zabbix3. How is it doing?
4. Q & A
8/10/2019 Introduction to Zabbix
8/55
Nuremberg, October 28th - 29th 20098
Comparing with Nagios what's included
Integrated solution
Data retrieving
Historical data storage
Official web based frontend
Alerting, discovery
More
8/10/2019 Introduction to Zabbix
9/55
Nuremberg, October 28th - 29th 20099
Comparing with Nagios licensing
GPLv2
No proprietary addons, professional or
enterprise versions
8/10/2019 Introduction to Zabbix
10/55
Nuremberg, October 28th - 29th 200910
Comparing with Nagios code
ZabbixServer C C
Agents C Various
PHP Various
Custom checks Any Any
Nagios
Frontend
8/10/2019 Introduction to Zabbix
11/55
Nuremberg, October 28th - 29th 200911
Comparing with Nagios - details
Concepts
Technical differences
8/10/2019 Introduction to Zabbix
12/55
Nuremberg, October 28th - 29th 200912
About Zabbix
2. How cool is Zabbix?
8/10/2019 Introduction to Zabbix
13/55
Nuremberg, October 28th - 29th 200913
Basic architecture
Binary daemons
Web frontend
Distributed setup
8/10/2019 Introduction to Zabbix
14/55
Nuremberg, October 28th - 29th 200914
Agent availability
Tru64
8/10/2019 Introduction to Zabbix
15/55
Nuremberg, October 28th - 29th 200915
Web frontend monitoring
Viewing data
8/10/2019 Introduction to Zabbix
16/55
Nuremberg, October 28th - 29th 200916
Web frontend - graphs
Visualisation
Free simple graphs
Custom graphs
8/10/2019 Introduction to Zabbix
17/55
Nuremberg, October 28th - 29th 2009 17
8/10/2019 Introduction to Zabbix
18/55
Nuremberg, October 28th - 29th 2009 18
Web frontend maps
Network maps
Elements
Connectors
8/10/2019 Introduction to Zabbix
19/55
Nuremberg, October 28th - 29th 2009 19
W b f d
8/10/2019 Introduction to Zabbix
20/55
Nuremberg, October 28th - 29th 2009 20
Web frontend screens
Seeing information in context
8/10/2019 Introduction to Zabbix
21/55
Nuremberg, October 28th - 29th 2009 21
W b f t d fi ti
8/10/2019 Introduction to Zabbix
22/55
Nuremberg, October 28th - 29th 2009 22
Web frontend configuration
Configure everything
Efficient actions
Shipped with Zabbix
D t th i di t
8/10/2019 Introduction to Zabbix
23/55
Nuremberg, October 28th - 29th 2009 23
Data gathering direct server
Simple
ICMP
TCP port
TCP service
SNMP
Traps
IPMI
D t th i Z bbi t
8/10/2019 Introduction to Zabbix
24/55
Nuremberg, October 28th - 29th 2009 24
Data gathering Zabbix agents
Official native agents
Passive (pull)
Active (push)
Lightweight Server
Active
Passive
D t th i t it
8/10/2019 Introduction to Zabbix
25/55
Nuremberg, October 28th - 29th 2009 25
Data gathering custom items
All so different yeah,
I say we're all the same
www.kjkoster.org/zapcat
Data storage
8/10/2019 Introduction to Zabbix
26/55
Nuremberg, October 28th - 29th 2009 26
Data storage
MySQL
PostgreSQL
Oracle
SQLite
Thresholds
8/10/2019 Introduction to Zabbix
27/55
Nuremberg, October 28th - 29th 2009 27
Thresholds
Triggers Expressions
{host:item.function}5000
Templating
8/10/2019 Introduction to Zabbix
28/55
Nuremberg, October 28th - 29th 2009 28
Templating
Easy large scale configuration
Template_MySQL MySQL server
Queries per second
{Template_MySQL:qps.avg(300)}>5000 {Server:qps.avg(300)}>5000
Graph
Queries per second
Multiple templates
8/10/2019 Introduction to Zabbix
29/55
Nuremberg, October 28th - 29th 2009 29
Multiple templates
Template_MySQL
Backup server
Template_Bacula
Template_PgSQL
Template_Postfix
E-mail server
Nested templates
8/10/2019 Introduction to Zabbix
30/55
Nuremberg, October 28th - 29th 2009 30
Nested templates
Template_PgSQL Template_Postfix
E-mail server 1
E-mail server 2
E-mail server 3
Template_E-mail server
Alerting
8/10/2019 Introduction to Zabbix
31/55
Nuremberg, October 28th - 29th 2009 31
Alerting
Flexible conditions
Choose your media
Alerting escalations
8/10/2019 Introduction to Zabbix
32/55
Nuremberg, October 28th - 29th 2009 32
Alerting escalations
Extremely flexible
Combined operations
Escalate it
8/10/2019 Introduction to Zabbix
33/55
Nuremberg, October 28th - 29th 2009 33
Escalate it
Immediately e-mail administrator
10 minutes send SMS to admin
15 minutes open report at helpdesk system
30 minutes e-email management
1 hour send SMS to management
2 hours restart Apache
6 hours reboot the server
24 hours power cycle whole server room
Alerting - macros
8/10/2019 Introduction to Zabbix
34/55
Nuremberg, October 28th - 29th 2009 34
Alerting macros
Send out useful messagesCustomise for recipients
Host inventory
8/10/2019 Introduction to Zabbix
35/55
Nuremberg, October 28th - 29th 2009 35
Host inventory
Notification macros
Network discovery
8/10/2019 Introduction to Zabbix
36/55
Nuremberg, October 28th - 29th 2009 36
Network discovery
Multiple protocols
Flexible actions
Conditions Operations
Host IP: 192.168.1-100.1-20 1. Add host
Responds to: SNMPv2 2. Add it to group switches
SNMP OID: SNMPv2-
MIB::sysDescr.0 containsGoodVendor
3. Link to template
GoodVendor 12345Mswitch
Web monitoring
8/10/2019 Introduction to Zabbix
37/55
Nuremberg, October 28th - 29th 2009 37
Web monitoring
Scenarios
Alerting
Visualisation
8/10/2019 Introduction to Zabbix
38/55
Nuremberg, October 28th - 29th 2009 38
Distributed monitoring
8/10/2019 Introduction to Zabbix
39/55
Nuremberg, October 28th - 29th 2009 39
Distributed monitoring
Zabbix server ?
Distributed monitoring
8/10/2019 Introduction to Zabbix
40/55
Nuremberg, October 28th - 29th 2009 40
st buted o to g
Zabbix server
Zabbix proxy
Nodes
8/10/2019 Introduction to Zabbix
41/55
Nuremberg, October 28th - 29th 2009 41
Riga
Paris Rome Istanbul
Lyon Toulouse
Upgrade policies
8/10/2019 Introduction to Zabbix
42/55
Nuremberg, October 28th - 29th 2009 42
pg p
Database strategy
Compatibility
Coming up next
8/10/2019 Introduction to Zabbix
43/55
Nuremberg, October 28th - 29th 2009 43
g p
3. How is it doing?
It is alive and well
8/10/2019 Introduction to Zabbix
44/55
Nuremberg, October 28th - 29th 2009 44
1.8
Performance
8/10/2019 Introduction to Zabbix
45/55
Nuremberg, October 28th - 29th 2009 45
1.8
Faster Server
Proxy
1.6 1.80
2
4
6
8
10
Get me that report
8/10/2019 Introduction to Zabbix
46/55
Nuremberg, October 28th - 29th 2009 46
1.8
p
Bar reports
8/10/2019 Introduction to Zabbix
47/55
Who did that?
8/10/2019 Introduction to Zabbix
48/55
Nuremberg, October 28th - 29th 2009 48
1.8Even more accountability
Lazy administrators
8/10/2019 Introduction to Zabbix
49/55
Nuremberg, October 28th - 29th 2009 49
1.8
Automated management
Lazy administrators
8/10/2019 Introduction to Zabbix
50/55
Nuremberg, October 28th - 29th 2009 50
1.8
Automated management
API
8/10/2019 Introduction to Zabbix
51/55
Nuremberg, October 28th - 29th 2009 51
1.8Zabcon
www.zabbix.com/wiki/doc/zabcon
API
8/10/2019 Introduction to Zabbix
52/55
Nuremberg, October 28th - 29th 2009 52
1.8Zabcon - hosts
Did I mention this?
8/10/2019 Introduction to Zabbix
53/55
Nuremberg, October 28th - 29th 2009 53
All functionality bundled
Questions and answers
8/10/2019 Introduction to Zabbix
54/55
Nuremberg, October 28th - 29th 2009 54
Q & A
Thank you
8/10/2019 Introduction to Zabbix
55/55
Nuremberg, October 28th - 29th 2009 55
The single most annoying problem in Zabbix isthat I don't have to wait 15 minutes before Cacti
spits out graphs. So I need to schedule coffee
breaks myself.
Zabbix user
www.zabbix.com#zabbix on freenode