the enterprise class monitoring solution for everyone · the enterprise class monitoring solution...

61
The enterprise class monitoring solution for everyone

Upload: ngodien

Post on 24-Jul-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solutionfor everyone

Page 2: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Today's topics

● Zabbix overview● We met 2 years ago – what's new?● Uncommon uses

Page 3: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

2 years for Zabbix

● Zabbix 2.0 out in May● 13 maintenance releases of 1.8● 2 conferences and a branch in Japan

Page 4: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Zabbix – mature by now

● Developed since 1998● First public release in 2001● 12 years old next April

Page 5: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

True open source

OpenCore

Page 6: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

What's included

Integrated solution● Data retrieving● Historical data storage● Official web based frontend● Alerting, discovery● More

Page 7: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Components

Server

Database Frontend

Page 8: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Native agent

Page 9: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Choose the direction

Server

Active

PassiveRequest: CPU load

Response: 1.95

Request: List of checks

Response: CPU load, Diskspace...

Free diskspace on / : 13GB

CPU load : 4.32

Fan 5 RPM : 3524

CPU 1 temperature : 34

Page 10: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Agentless methods

● TCP checks● SNMP● IPMI● SSH, telnet

Page 11: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Advanced methods

● Calculated

Total – free = used

● Aggregate

Total free diskspace for all fileservers

Average qps for all database servers

5000qps 1000qps 9000qps

Aggregate value = 5000 qps

Page 12: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

What's a problem?

● Extremely flexible problem conditions– Functions last, min, max, avg, delta etc

– Comparison, math, boolean logic

– Check multiple values across several hosts

● 6 severity levels

Page 13: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Templating

Template_MySQL MySQL server

Queries per second

{Template_MySQL:qps.avg(300)}>5000 {Server:qps.avg(300)}>5000

Graph

Queries per second

Page 14: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Low level discovery

● Agent – filesystems, network interfaces● SNMP tables (interfaces, anything)● Custom

Page 15: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Custom LLD data

{ "data":[ { "{#FSNAME}":"/sys", "{#FSTYPE}":"sysfs"}, { "{#FSNAME}":"/proc", "{#FSTYPE}":"proc" }, { "{#FSNAME}":"/", "{#FSTYPE}":"ext3" }, { "{#FSNAME}":"/home", "{#FSTYPE}":"ext3" }, ]}

Page 16: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

LLD is awesome

Page 17: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

It really is

Page 18: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Automatic inventory

● Hardware chassis details● CPU frequency, vendor, model...● PCI/USB device list● MAC addresses● Operating system name, architecture● Installed package list

Page 19: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Multi-homed hosts

Page 20: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Alerting

● E-mail● SMS● Jabber/XMPP

Page 21: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Escalations

E-mail tofirst level techsupport

SMS tosecond level techsupport

E-mail tosecond level techsupport

E-mail to management(if not acknowledged)

E-mail to management

Restart service(if not acknowledged)

Restart servervia IPMI

Toggle powerVia UPS

Page 22: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Alerting conditions and contents

● Flexible conditions● Include useful information● Customise per recipient

Page 23: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Bundled frontend

● Monitoring● Visualisation● Configuration

Page 24: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

© Teresa Watts

Page 25: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Graphing

Page 26: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Graphing extended

Page 27: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Mapping

Map © OpenStreetMap contributors, CC BY-SA

Page 28: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Icon mapping

Page 29: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Management interface

Page 30: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone
Page 31: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Visible host name

● Supports UTF8

Page 32: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Page 33: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Remote environments...

Page 34: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

...can be a problem

Page 35: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Solution – Zabbix proxy

Zabbix proxy

Page 36: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

DMZ – passive proxy

Zabbix proxy

Page 37: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Web monitoring –now over Zabbix proxy

ActiveZabbix proxy

PassiveZabbix proxy

Page 38: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Monitoring Java applications

ApacheTomcat

GlassFish

?

Page 39: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Java – easy with Zabbix

Zabbix Java gateway

ApacheTomcat

GlassFish

Page 40: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

OpenFire heap memory

Page 41: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Zabbix Java gateway heap memory

Page 42: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Mix proxies and gateways

Zabbix proxy

Zabbix Java gateway

ApacheTomcat

Zabbix Java gateway

Page 43: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Extendability

● Run any command on the agent or server● Run any command in response to events● Feed timestamped data in Zabbix● No language restrictions

Page 44: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Scalability

● Server, proxy and agent are written in C● Server

– Real world installations with 40K-80K hosts and more

– Processing thousands of values every second

– ...or > 2 million values/checks every 5 minutes

Page 45: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Server improvements for 2.2

● Configurable amount of processes– Pollers

– Trappers

– ...

● In 2.2 - timers

Page 46: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Agent scalability

● Agent– Uses less than a megabyte of RAM (736K on

64bit; excluding shared libraries)

Page 47: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Performance improvements

● Server– More caching

– Actually, lots more caching

– Optimised database access

Page 48: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Performance improvements

● Proxy– Data sending

– Long-term use

Page 49: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Performance improvements

● Agent– Memory usage

Page 50: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Upgrade policies

● No database changes in one major release● All old agents supported● Automatic database upgrade coming in 2.2

Page 51: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Popularity

● Japan, Russia, Brazil...● Financial, ISP, government,

manufacturing...● Other open source projects

Page 52: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Page 53: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone
Page 54: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Uncommon uses

● Some examples back from 2011, first Zabbix conference in Riga

Page 55: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Monitoring users on IRC

Page 56: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Weather forecast

Page 57: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone
Page 58: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

OpenStreetMap licence agreement

Page 59: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Serious bug

Page 60: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Zabbix is..

● Flexible● Scalable● Rapidly improved● True opensource

Page 61: The enterprise class monitoring solution for everyone · The enterprise class monitoring solution for everyone LLD is awesome. ... The enterprise class monitoring solution for everyone

The enterprise class monitoring solution for everyone

Communication and community

● www.zabbix.com● blog.zabbix.com● #zabbix on Freenode

Questions?