the enterprise class monitoring solution for everyone · the enterprise class monitoring solution...
TRANSCRIPT
The enterprise class monitoring solutionfor everyone
The enterprise class monitoring solution for everyone
Today's topics
● Zabbix overview● We met 2 years ago – what's new?● Uncommon uses
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
The enterprise class monitoring solution for everyone
Zabbix – mature by now
● Developed since 1998● First public release in 2001● 12 years old next April
The enterprise class monitoring solution for everyone
True open source
OpenCore
The enterprise class monitoring solution for everyone
What's included
Integrated solution● Data retrieving● Historical data storage● Official web based frontend● Alerting, discovery● More
The enterprise class monitoring solution for everyone
Components
Server
Database Frontend
The enterprise class monitoring solution for everyone
Native agent
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
The enterprise class monitoring solution for everyone
Agentless methods
● TCP checks● SNMP● IPMI● SSH, telnet
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
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
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
The enterprise class monitoring solution for everyone
Low level discovery
● Agent – filesystems, network interfaces● SNMP tables (interfaces, anything)● Custom
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" }, ]}
The enterprise class monitoring solution for everyone
LLD is awesome
The enterprise class monitoring solution for everyone
It really is
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
The enterprise class monitoring solution for everyone
Multi-homed hosts
The enterprise class monitoring solution for everyone
Alerting
● E-mail● SMS● Jabber/XMPP
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
The enterprise class monitoring solution for everyone
Alerting conditions and contents
● Flexible conditions● Include useful information● Customise per recipient
The enterprise class monitoring solution for everyone
Bundled frontend
● Monitoring● Visualisation● Configuration
© Teresa Watts
The enterprise class monitoring solution for everyone
Graphing
The enterprise class monitoring solution for everyone
Graphing extended
The enterprise class monitoring solution for everyone
Mapping
Map © OpenStreetMap contributors, CC BY-SA
The enterprise class monitoring solution for everyone
Icon mapping
The enterprise class monitoring solution for everyone
Management interface
The enterprise class monitoring solution for everyone
Visible host name
● Supports UTF8
The enterprise class monitoring solution for everyone
The enterprise class monitoring solution for everyone
Remote environments...
The enterprise class monitoring solution for everyone
...can be a problem
The enterprise class monitoring solution for everyone
Solution – Zabbix proxy
Zabbix proxy
The enterprise class monitoring solution for everyone
DMZ – passive proxy
Zabbix proxy
The enterprise class monitoring solution for everyone
Web monitoring –now over Zabbix proxy
ActiveZabbix proxy
PassiveZabbix proxy
The enterprise class monitoring solution for everyone
Monitoring Java applications
ApacheTomcat
GlassFish
?
The enterprise class monitoring solution for everyone
Java – easy with Zabbix
Zabbix Java gateway
ApacheTomcat
GlassFish
The enterprise class monitoring solution for everyone
OpenFire heap memory
The enterprise class monitoring solution for everyone
Zabbix Java gateway heap memory
The enterprise class monitoring solution for everyone
Mix proxies and gateways
Zabbix proxy
Zabbix Java gateway
ApacheTomcat
Zabbix Java gateway
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
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
The enterprise class monitoring solution for everyone
Server improvements for 2.2
● Configurable amount of processes– Pollers
– Trappers
– ...
● In 2.2 - timers
The enterprise class monitoring solution for everyone
Agent scalability
● Agent– Uses less than a megabyte of RAM (736K on
64bit; excluding shared libraries)
The enterprise class monitoring solution for everyone
Performance improvements
● Server– More caching
– Actually, lots more caching
– Optimised database access
The enterprise class monitoring solution for everyone
Performance improvements
● Proxy– Data sending
– Long-term use
The enterprise class monitoring solution for everyone
Performance improvements
● Agent– Memory usage
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
The enterprise class monitoring solution for everyone
Popularity
● Japan, Russia, Brazil...● Financial, ISP, government,
manufacturing...● Other open source projects
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
The enterprise class monitoring solution for everyone
Monitoring users on IRC
The enterprise class monitoring solution for everyone
Weather forecast
OpenStreetMap licence agreement
The enterprise class monitoring solution for everyone
Serious bug
The enterprise class monitoring solution for everyone
Zabbix is..
● Flexible● Scalable● Rapidly improved● True opensource
The enterprise class monitoring solution for everyone
Communication and community
● www.zabbix.com● blog.zabbix.com● #zabbix on Freenode
Questions?