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
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
Open
Core
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
Passive
Request: 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 to
first level techsupport
SMS to
second level techsupport
E-mail to
second level techsupport
E-mail to management
(if not acknowledged)
E-mail to management
Restart service
(if not acknowledged)
Restart server
via IPMI
Toggle power
Via 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
Active
Zabbix proxy
Passive
Zabbix proxy
The enterprise class monitoring solution for everyone
Monitoring Java applications
Apache
Tomcat
GlassFish
?
The enterprise class monitoring solution for everyone
Java – easy with Zabbix
Zabbix Java gateway
Apache
Tomcat
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
Apache
Tomcat
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?

OSMC 2012 | Zabbix 2.0: Even Better by Rihards Olups

  • 1.
    The enterprise classmonitoring solution for everyone
  • 2.
    The enterprise classmonitoring solution for everyone Today's topics ● Zabbix overview ● We met 2 years ago – what's new? ● Uncommon uses
  • 3.
    The enterprise classmonitoring 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
  • 4.
    The enterprise classmonitoring solution for everyone Zabbix – mature by now ● Developed since 1998 ● First public release in 2001 ● 12 years old next April
  • 5.
    The enterprise classmonitoring solution for everyone True open source Open Core
  • 6.
    The enterprise classmonitoring solution for everyone What's included Integrated solution ● Data retrieving ● Historical data storage ● Official web based frontend ● Alerting, discovery ● More
  • 7.
    The enterprise classmonitoring solution for everyone Components Server Database Frontend
  • 8.
    The enterprise classmonitoring solution for everyone Native agent
  • 9.
    The enterprise classmonitoring solution for everyone Choose the direction Server Active Passive Request: 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
  • 10.
    The enterprise classmonitoring solution for everyone Agentless methods ● TCP checks ● SNMP ● IPMI ● SSH, telnet
  • 11.
    The enterprise classmonitoring 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
  • 12.
    The enterprise classmonitoring 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
  • 13.
    The enterprise classmonitoring 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
  • 14.
    The enterprise classmonitoring solution for everyone Low level discovery ● Agent – filesystems, network interfaces ● SNMP tables (interfaces, anything) ● Custom
  • 15.
    The enterprise classmonitoring solution for everyone Custom LLD data { "data":[ { "{#FSNAME}":"/sys", "{#FSTYPE}":"sysfs"}, { "{#FSNAME}":"/proc", "{#FSTYPE}":"proc" }, { "{#FSNAME}":"/", "{#FSTYPE}":"ext3" }, { "{#FSNAME}":"/home", "{#FSTYPE}":"ext3" }, ] }
  • 16.
    The enterprise classmonitoring solution for everyone LLD is awesome
  • 17.
    The enterprise classmonitoring solution for everyone It really is
  • 18.
    The enterprise classmonitoring 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
  • 19.
    The enterprise classmonitoring solution for everyone Multi-homed hosts
  • 20.
    The enterprise classmonitoring solution for everyone Alerting ● E-mail ● SMS ● Jabber/XMPP
  • 21.
    The enterprise classmonitoring solution for everyone Escalations E-mail to first level techsupport SMS to second level techsupport E-mail to second level techsupport E-mail to management (if not acknowledged) E-mail to management Restart service (if not acknowledged) Restart server via IPMI Toggle power Via UPS
  • 22.
    The enterprise classmonitoring solution for everyone Alerting conditions and contents ● Flexible conditions ● Include useful information ● Customise per recipient
  • 23.
    The enterprise classmonitoring solution for everyone Bundled frontend ● Monitoring ● Visualisation ● Configuration
  • 24.
  • 25.
    The enterprise classmonitoring solution for everyone Graphing
  • 26.
    The enterprise classmonitoring solution for everyone Graphing extended
  • 27.
    The enterprise classmonitoring solution for everyone Mapping Map © OpenStreetMap contributors, CC BY-SA
  • 28.
    The enterprise classmonitoring solution for everyone Icon mapping
  • 29.
    The enterprise classmonitoring solution for everyone Management interface
  • 31.
    The enterprise classmonitoring solution for everyone Visible host name ● Supports UTF8
  • 32.
    The enterprise classmonitoring solution for everyone
  • 33.
    The enterprise classmonitoring solution for everyone Remote environments...
  • 34.
    The enterprise classmonitoring solution for everyone ...can be a problem
  • 35.
    The enterprise classmonitoring solution for everyone Solution – Zabbix proxy Zabbix proxy
  • 36.
    The enterprise classmonitoring solution for everyone DMZ – passive proxy Zabbix proxy
  • 37.
    The enterprise classmonitoring solution for everyone Web monitoring – now over Zabbix proxy Active Zabbix proxy Passive Zabbix proxy
  • 38.
    The enterprise classmonitoring solution for everyone Monitoring Java applications Apache Tomcat GlassFish ?
  • 39.
    The enterprise classmonitoring solution for everyone Java – easy with Zabbix Zabbix Java gateway Apache Tomcat GlassFish
  • 40.
    The enterprise classmonitoring solution for everyone OpenFire heap memory
  • 41.
    The enterprise classmonitoring solution for everyone Zabbix Java gateway heap memory
  • 42.
    The enterprise classmonitoring solution for everyone Mix proxies and gateways Zabbix proxy Zabbix Java gateway Apache Tomcat Zabbix Java gateway
  • 43.
    The enterprise classmonitoring 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
  • 44.
    The enterprise classmonitoring 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
  • 45.
    The enterprise classmonitoring solution for everyone Server improvements for 2.2 ● Configurable amount of processes – Pollers – Trappers – ... ● In 2.2 - timers
  • 46.
    The enterprise classmonitoring solution for everyone Agent scalability ● Agent – Uses less than a megabyte of RAM (736K on 64bit; excluding shared libraries)
  • 47.
    The enterprise classmonitoring solution for everyone Performance improvements ● Server – More caching – Actually, lots more caching – Optimised database access
  • 48.
    The enterprise classmonitoring solution for everyone Performance improvements ● Proxy – Data sending – Long-term use
  • 49.
    The enterprise classmonitoring solution for everyone Performance improvements ● Agent – Memory usage
  • 50.
    The enterprise classmonitoring solution for everyone Upgrade policies ● No database changes in one major release ● All old agents supported ● Automatic database upgrade coming in 2.2
  • 51.
    The enterprise classmonitoring solution for everyone Popularity ● Japan, Russia, Brazil... ● Financial, ISP, government, manufacturing... ● Other open source projects
  • 52.
    The enterprise classmonitoring solution for everyone
  • 54.
    The enterprise classmonitoring solution for everyone Uncommon uses ● Some examples back from 2011, first Zabbix conference in Riga
  • 55.
    The enterprise classmonitoring solution for everyone Monitoring users on IRC
  • 56.
    The enterprise classmonitoring solution for everyone Weather forecast
  • 58.
  • 59.
    The enterprise classmonitoring solution for everyone Serious bug
  • 60.
    The enterprise classmonitoring solution for everyone Zabbix is.. ● Flexible ● Scalable ● Rapidly improved ● True opensource
  • 61.
    The enterprise classmonitoring solution for everyone Communication and community ● www.zabbix.com ● blog.zabbix.com ● #zabbix on Freenode Questions?