WWW.ICINGA.ORG
Icinga Camp - Antwerp
04/13/2015 Icinga - Open Source Monitoring
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Me
• Michael Friedrich
• @dnsmichi, 31, Austrian
• Application Developer @NETWAYS
• Icinga responsibilities
• Core 1.x & 2.x Developer
• Release Manager
• Doing Icinga since May 2009
ICINGA 2 - CLUSTER
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 - Cluster Architecture
• API communication using SSL
• Bidirectional connections supported
• Zone support for logic splits in the configuration
• Hash-based load distribution
• “binlog” like retention for monitoring events and messages
• Distributed components throughout the cluster
• Automatic redistribution of checks
• Integrated health check
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
CA Zones API
Icinga 2 - Cluster Overview
Cluster
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 - Cluster Distribution
Checker
Perfdata GELF
IDO
Open
TSDB
Graphite
Livestatus Checker
Statusdat
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 - Cluster Zones
IDO
Checker
Graphite
Livestatus Checker
Statusdat
Host Host
Host
#icinga
Checker
Perfdata IDO
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – Resource optimization
0
100
200
300
400
500
600
700
800
0
500
1000
1500
2000
2500
3000
30.000 Services
CPU-Cycles Memory
Megabyte
Cyclesinmillions
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 – SSL Certificates
• CLI commands & setup wizards
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 – Configuration: Endpoints
• Endpoints with communication information
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 – Configuration: Zones
• Zones as trust model
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 – Configuration: Global Zones
• Sync templates, groups, notifications to all endpoints
• Hosts and Services are not supported
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#osmc
Icinga 2 – Configuration: Synchronization
• Configuration master with zones.d/<zonename>
• Slave checker enables ‘accept_config’
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 - Demo
DEMO
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Demo
Get VirtualBox >= 4.2.16 && Vagrant >= 1.6.5
$ git clone --recursive https://github.com/Icinga/icinga-vagrant.git
$ cd icinga-vagrant
$ cd icinga2x-cluster
$ vagrant up
$ vagrant ssh icinga2a
$ vagrant ssh icinga2b
$> sudo –i
http://192.168.33.10 & http://192.168.33.20
CONCLUSION
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Conclusion
• Download Icinga 2
– Use packages
– Play with Vagrant and VirtualBox
• Rethink you configuration strategy
– Follow extensive migration docs, it is time for a change!
• Install Icinga Web 2 and play with it
• Give us feedback
– dev.icinga.org
– IRC
– Twitter
#icinga
VISION
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Vision
• No enterprise edition
• Enterprise integration
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Questions & Answers
Web www.icinga.org
Git git.icinga.org
Development dev.icinga.org
Wiki wiki.icinga.org
Support support.icinga.org
Twitter twitter.com/icinga
Facebook facebook.com/icinga Get support
Get involved
Get heard

Icinga Camp Antwerp - Icinga2 Cluster

  • 1.
    WWW.ICINGA.ORG Icinga Camp -Antwerp 04/13/2015 Icinga - Open Source Monitoring
  • 2.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Me • Michael Friedrich • @dnsmichi, 31, Austrian • Application Developer @NETWAYS • Icinga responsibilities • Core 1.x & 2.x Developer • Release Manager • Doing Icinga since May 2009
  • 3.
    ICINGA 2 -CLUSTER
  • 4.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 - Cluster Architecture • API communication using SSL • Bidirectional connections supported • Zone support for logic splits in the configuration • Hash-based load distribution • “binlog” like retention for monitoring events and messages • Distributed components throughout the cluster • Automatic redistribution of checks • Integrated health check
  • 5.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG CA Zones API Icinga 2 - Cluster Overview Cluster #icinga
  • 6.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 - Cluster Distribution Checker Perfdata GELF IDO Open TSDB Graphite Livestatus Checker Statusdat #icinga
  • 7.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 - Cluster Zones IDO Checker Graphite Livestatus Checker Statusdat Host Host Host #icinga Checker Perfdata IDO
  • 8.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 – Resource optimization 0 100 200 300 400 500 600 700 800 0 500 1000 1500 2000 2500 3000 30.000 Services CPU-Cycles Memory Megabyte Cyclesinmillions #icinga
  • 9.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 – SSL Certificates • CLI commands & setup wizards
  • 10.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 – Configuration: Endpoints • Endpoints with communication information
  • 11.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 – Configuration: Zones • Zones as trust model
  • 12.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 – Configuration: Global Zones • Sync templates, groups, notifications to all endpoints • Hosts and Services are not supported
  • 13.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #osmc Icinga 2 – Configuration: Synchronization • Configuration master with zones.d/<zonename> • Slave checker enables ‘accept_config’
  • 14.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 - Demo DEMO
  • 15.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Demo Get VirtualBox >= 4.2.16 && Vagrant >= 1.6.5 $ git clone --recursive https://github.com/Icinga/icinga-vagrant.git $ cd icinga-vagrant $ cd icinga2x-cluster $ vagrant up $ vagrant ssh icinga2a $ vagrant ssh icinga2b $> sudo –i http://192.168.33.10 & http://192.168.33.20
  • 16.
  • 17.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Conclusion • Download Icinga 2 – Use packages – Play with Vagrant and VirtualBox • Rethink you configuration strategy – Follow extensive migration docs, it is time for a change! • Install Icinga Web 2 and play with it • Give us feedback – dev.icinga.org – IRC – Twitter #icinga
  • 18.
  • 19.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Vision • No enterprise edition • Enterprise integration #icinga
  • 20.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Questions & Answers Web www.icinga.org Git git.icinga.org Development dev.icinga.org Wiki wiki.icinga.org Support support.icinga.org Twitter twitter.com/icinga Facebook facebook.com/icinga Get support Get involved Get heard

Editor's Notes

  • #15 Session-handling: 20% performance ExtJS framework: Internet Explorer