WWW.ICINGA.ORG
FOSSASIA - Singapore
03/13/2015 Icinga - Open Source Monitoring
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Me
• Bernd Erk
• Working @NETWAYS
• Icinga Co-Founder
• Icinga responsibilities
– Project management
– Community
• In the Icinga game since 2009
• @gethash
• bernd.erk@icinga.org
THE ICINGA PROJECT
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – Introduction
#icinga
Open Source Enterprise Monitoring
Icinga is a scalable and extensible monitoring system
which checks the availability of your resources, notifies
users of outages and provides extensive BI data.
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
About us - Project
• Originally forked from Nagios in April 2009
• Independent, redesigned version Icinga 2 since 2014
• Different teams with autonomic responsibilities
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
About us – Tools & Platform
Icinga Core
C-based source
MySQL, PostgreSQL, Oracle
Icinga Quality, Testing and Community Support
Website and Open Source Ticketing System
Icinga Reports
based on Jasper
Reports
Icinga Doc
based on
Markdown
3rd Party Tools
Icinga Web
based on PHP using ExtJS, Agavi MVC
IDOUTILS
Icinga 2 Web
Based on PHP / responsive design
Icinga 2
C++-based source with
multiple components
IDO Livestatus Cluster …
ICINGA 2 - INTRODUCTION
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Host
Databases Network
Icinga 2 – What it does?
#icinga
Monitors
Apps
HardwareOS Storage
Host Switches Services
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – What it does?
#icinga
Alerts
Mail
SMS
Voice
Ticket
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – What it does?
#icinga
Reports
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 - Overview
• Based on C++ and Boost
– Supports all major *NIX and Windows platforms
• Powerful CLI
• Supports MySQL and PostgreSQL
• Includes a extensive template library
• Version 2.3 is out since last Tuesday
• Packages and Vagrant Box available now!
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 - Configuration
• Different Configuration format compared to Icinga 1
– Apply rules – Dynamically add servers to hostgroups
apply Service "ssh" {
import "generic-service”
check_command = "ssh”
assign where host.address && host.vars.os == "Linux"
}
– Conditionals – Time dependent thresholds
object Service ”webservice" {
import "generic-service”
check_command = ”load”
host_name = “a really great server”
vars.load_wload1 = {{
if (get_time_period(“9to5”).is_inside) {
return 40
} else {
return 60
}
}}
}
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Checker
Statusdat
Gelf
Perfdata Graphite
IDO
Compat
Livestatus
Icinga 2 - Architecture
#icinga
ICINGA 2 - CLUSTER
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
Checker
Perfdata IDO
#icinga
ICINGA WEB 2
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga Web 2
• Lightweight like Icinga classic and flexible like Icinga Web
• Easy to extend and embed into other projects
• Support for all standard backends
• Supports multiple backends simultaneously, as failover backend
• Supports Icinga 1.x and Icinga 2.x
• Responsive actions
• FAST!
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Backends Authentication Installer
Framework / Icinga PHP LibraryWeb 2
Icinga Web 2 - Foundation
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Web 2
Monitoring Docs
Icinga Web 2 - Modules
BP Graphite PNP
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Web 2 - Screenshots
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Web 2 - Screenshots
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Web 2 - Screenshots
#icinga
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Web 2 - Screenshots
#icinga
THE COMMUNITY
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
The Community - Users
You?
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
The Community - Icinga Camps 2015
Kuala Lumpur 2015
June 9th
Portland 2015
October 10th
Kuala Lumpur 2015
June 9th
CONCLUSION
EXCHANGE. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Conclusion
• Download Icinga 2
– Use the packages
– Play with Vagrant and VirtualBox
– You can download the sources but we prefer the packages
• Rethink you configuration
– You can use the migration, but it is time for a change
• Install Icinga Web 2 and play with it
• Give us feedback
#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

Open Source Monitoring with Icinga at Fossasia 2015

  • 1.
    WWW.ICINGA.ORG FOSSASIA - Singapore 03/13/2015Icinga - Open Source Monitoring
  • 2.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Me • Bernd Erk • Working @NETWAYS • Icinga Co-Founder • Icinga responsibilities – Project management – Community • In the Icinga game since 2009 • @gethash • bernd.erk@icinga.org
  • 3.
  • 4.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 – Introduction #icinga Open Source Enterprise Monitoring Icinga is a scalable and extensible monitoring system which checks the availability of your resources, notifies users of outages and provides extensive BI data.
  • 5.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga About us - Project • Originally forked from Nagios in April 2009 • Independent, redesigned version Icinga 2 since 2014 • Different teams with autonomic responsibilities
  • 6.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga About us – Tools & Platform Icinga Core C-based source MySQL, PostgreSQL, Oracle Icinga Quality, Testing and Community Support Website and Open Source Ticketing System Icinga Reports based on Jasper Reports Icinga Doc based on Markdown 3rd Party Tools Icinga Web based on PHP using ExtJS, Agavi MVC IDOUTILS Icinga 2 Web Based on PHP / responsive design Icinga 2 C++-based source with multiple components IDO Livestatus Cluster …
  • 7.
    ICINGA 2 -INTRODUCTION
  • 8.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Host Databases Network Icinga 2 – What it does? #icinga Monitors Apps HardwareOS Storage Host Switches Services
  • 9.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 – What it does? #icinga Alerts Mail SMS Voice Ticket
  • 10.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 – What it does? #icinga Reports
  • 11.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 - Overview • Based on C++ and Boost – Supports all major *NIX and Windows platforms • Powerful CLI • Supports MySQL and PostgreSQL • Includes a extensive template library • Version 2.3 is out since last Tuesday • Packages and Vagrant Box available now!
  • 12.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 - Configuration • Different Configuration format compared to Icinga 1 – Apply rules – Dynamically add servers to hostgroups apply Service "ssh" { import "generic-service” check_command = "ssh” assign where host.address && host.vars.os == "Linux" } – Conditionals – Time dependent thresholds object Service ”webservice" { import "generic-service” check_command = ”load” host_name = “a really great server” vars.load_wload1 = {{ if (get_time_period(“9to5”).is_inside) { return 40 } else { return 60 } }} }
  • 13.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Checker Statusdat Gelf Perfdata Graphite IDO Compat Livestatus Icinga 2 - Architecture #icinga
  • 14.
    ICINGA 2 -CLUSTER
  • 15.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG CA Zones API Icinga 2 - Cluster Overview Cluster #icinga
  • 16.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 - Cluster Distribution Checker Perfdata GELF IDO Open TSDB Graphite Livestatus Checker Statusdat #icinga
  • 17.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga 2 - Cluster Zones IDO Checker Graphite Livestatus Checker Statusdat Host Host Host Checker Perfdata IDO #icinga
  • 18.
  • 19.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga Web 2 • Lightweight like Icinga classic and flexible like Icinga Web • Easy to extend and embed into other projects • Support for all standard backends • Supports multiple backends simultaneously, as failover backend • Supports Icinga 1.x and Icinga 2.x • Responsive actions • FAST!
  • 20.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Backends Authentication Installer Framework / Icinga PHP LibraryWeb 2 Icinga Web 2 - Foundation #icinga
  • 21.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Web 2 Monitoring Docs Icinga Web 2 - Modules BP Graphite PNP #icinga
  • 22.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga Web 2 - Screenshots #icinga
  • 23.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga Web 2 - Screenshots #icinga
  • 24.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga Web 2 - Screenshots #icinga
  • 25.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Icinga Web 2 - Screenshots #icinga
  • 26.
  • 27.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga The Community - Users You?
  • 28.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG #icinga The Community - Icinga Camps 2015 Kuala Lumpur 2015 June 9th Portland 2015 October 10th Kuala Lumpur 2015 June 9th
  • 29.
  • 30.
    EXCHANGE. DEV. WIKI.BLOG. DOC. | WWW.ICINGA.ORG Conclusion • Download Icinga 2 – Use the packages – Play with Vagrant and VirtualBox – You can download the sources but we prefer the packages • Rethink you configuration – You can use the migration, but it is time for a change • Install Icinga Web 2 and play with it • Give us feedback #icinga
  • 31.
    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