Upload
icinga
View
10.304
Download
2
Tags:
Embed Size (px)
DESCRIPTION
Open Source Monitoring Conference 22.-24.10.2013 http://www.netways.de/index.php?id=3994&L=1
Citation preview
WWW.ICINGA.ORG
CURRENT STATE OF ICINGA OSMC 2013 | NUREMBERG
23 OCTOBER - TEAM ICINGA
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
• Introduction
• Tools & Platform
• Icinga project update
• New in Icinga 1.x
• Icinga 2
• Wrap up
• What‘s next
• Questions & Answers
Agenda
#OSMC2013
INTRODUCTION
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
About Icinga
• Forked from Nagios in April 2009
• Over 350,000 downloads until now (128,000 in 2011)
• Different teams with independent responsibilities
– Icinga Core
– Icinga Packaging
– Icinga Web & Reporting
– Icinga Q&A & Docs
– Icinga VMs
– Icinga Community
• 24 “active” members on the team – Still searching!
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Icinga Team
Core Packaging
Web & Reporting Docs & QA VMs
Community
We want you!
TOOLS & PLATFORM
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
TOOLS AND PLATFORM
Icinga Quality, Testing and Community Support
Website and Open Source Ticketing System
Icinga Core
C-based source
MySQL, PostgreSQL and Oracle
Icinga Reports
based on Jasper
Reports
Icinga Doc
based on
DocBook in
English and
German
Icinga Web
based on PHP
using Sencha,
Agavi MVC
IDOUTILS
NRPE and NSCA
Mobile
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Architecture
IDO Database
Icinga Web (with DB abstraction layer) Icinga Core
IDOUtils
Classic UI REST API Mobile
Icinga Reporting
SOAP Provider
ICINGA PROJECT UPDATE
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Statistics - Releases & Events
• Releases
– 1.8.x
– 1.9
– 1.9.x
– 1.10
• Events
– GUUG (February)
– FlossUK in Newcastle (March)
– Chemnitzer LinuxTage (March)
– 4th Anniversary (May)
– Linux Hotel Essen - Team-Meetup (September)
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Statistics – Solved issues per year
0
200
400
600
800
1000
1200
1400
2009 2010 2011 2012 2013
150
656
996 1085
1225
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Continuous Integration
• Jenkins Server – build.icinga.org
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Operating System Support
• Global package repository – packages.icinga.org
• Snapshot and release builds
• Builds for major platforms
– RHEL
– SLES
– Fedora
– OpenSuse
– Debian
• Supplement (not replacement) for official repos like
RepoForge or Debian Backports
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Documentation
• We have DocBook
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Documentation – Future
• DocBook Pros
– You can generate hundreds of different formats out of one
Docbook
• DocBook Cons
– We don’t!
– Updating DocBook files is time-consuming and
complicated
– It sucks!
• Switch from DocBook to Markdown
• Icinga 2 doc will be available in Markdown from day one
• We‘ll migrate the 1.x documentation to Markdown
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Documentation – Markdown
• How it will look like
### Installation Paths
By default Icinga 2 uses the following files and directories:
Path | Description
------------------------|------------------------------------
/etc/icinga2 | Contains Icinga 2 configuration files.
/etc/init.d/icinga2 | The Icinga 2 init script.
/usr/share/doc/icinga2 | Documentation files that come with Icinga 2.
/usr/share/icinga2/itl | The Icinga Template Library.
/var/run/icinga2 | PID file.
...
NEW IN ICINGA 1.x
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Changes in Icinga 1.9 and 1.10
• Icinga Core
– Add check source to check result / status data
– Chance to add more than one IDO module to Core
– Performance improvements
• Classic UI
– Added filter modification
– New live search
– Custom variables in extended info
– Standalone version available
• IDO
– Performance improvements using transactions and bulk
updates
– Config option for custom variable dump
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Changes in Icinga Web 1.10
• Updated cronk list design in menu
– New icon design
– New categories
• Additional unhandled views in updated categories
• Updated instance cronk
• State type as default in all cronks
• Deletion of all comments for service or host
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Demo – Icinga 1.x
DEMO
ICINGA 2
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 - Overview
• Based on C++ and Boost
– Supports all major *NIX and Windows platforms
• Different config format
– there is a conversion script!
• Included cluster stack
• Functions by component
• i2enfeature/i2disfeature
• Components can run anywhere in a cluster
• MySQL and Livestatus support included
• Packages and Vagrant Box available now!
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – Components
• Checker
• Cluster
• Compat
– Command Pipe
– Compat Log
– Status.dat
• Livestatus
• Perfdata
• Notification
• db_ido_mysql
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – Major config differences
• There is no host check -> Use the check attribute
• Global macros
• Contact and Contactgroup -> User and UserGroup
– no notification-specific attributes for services
-> Notification Object
• Freely definable macros for commands define command { command_name ping4 command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } define service { use local-service host_name localhost service_description PING check_command ping4!100.0,20%!500.0,60% }
object CheckCommand "ping4" { command = "$plugindir$/check_ping -H $HOSTADDRESS$ -w $wrta$,$wpl%$ -c $crta$,$cpl%$", macros = { wrta = 100, wpl = 20, crta = 500, cpl = 60 } } object Host ”localhost" { services[“PING“] = { check_command = “ping4”, //macros[“wrta”] = 250 } }
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – Major config differences
• New notification object
– Icinga 1
– Icinga 2
• No fixed macro for IP address(es)
• Escalations act as notification with defined begin and end
#OSMC2013
service -> (contact, contactgroup) -> notification command
notification_options w,u,c,r,f,s
service -> notification -> notificationCommand -> user, userGroup notification_state_filter = (StateFilterWarning | StateFilterUnknown | StateFilterCritical), notification_type_filter = (NotificationProblem | NotificationRecovery | NotificationFlappingStart | NotificationFlappingEnd | NotificationDowntimeStart | NotificationDowntimeEnd | NotificationDowntimeRemoved)
start = notification start + (notification_interval * first_notification) end = notification start + (notification_interval * last_notification)
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Icinga 2 – Cluster
• Cluster-based communication using SSL
• Bidirectional connections supported
• Domain support for logic splits in the configuration
• Hash-based load distribution
• “binlog” like retention for monitoring events and messages
• Distributed components throughout the cluster
compat
replication
perfdata livestatus
checker
ido
checker Icinga2
notification
Icinga2
IDO Database
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Demo – Icinga 2
DEMO
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga 2 – What’s next
• Business Process Integration
– Coming later this year
– Basic user story in dev-tracker
– Rule based configuration
– Nested business project objects
– Different levels and priorities
– Expression/Wildcard/RegExp
• Puppet Modules
• More Documentation
• See Roadmap!
#OSMC2013
WHAT ELSE?
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Web 2
Different Interfaces for Icinga
#OSMC2013
Icinga Web Icinga Classic Icinga Mobile
Thruk, …
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Why another Interface
• We want a solution for all platforms
– Simple and lightweight
– Responsive for desktop, tablet, phone
• Icinga-Classic doesn’t fit enterprise needs
• Icinga-Web is hard to extend
• CLI-Support for cronjobs, plugins and shell
• Support for multiple backends
• All existing versions will be in active maintenance!
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Icinga Web 2
• Lightweight like Icinga classic and flexible like Icinga Web
• Easy to extend and embed into other projects
• Support for multiple backends
– Status.dat
– Database
– Livestatus
• Supports multiple backends simultaneously, as failover
backend
• Supports Icinga 1.x and Icinga 2.x
• Responsive actions
• FAST!
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Demo – Icinga Web 2
DEMO
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Demo – Icinga Web 2
What else?
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
Demo – Icinga Web 2
WRAP UP
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#OSMC2013
TOOLS AND PLATFORM - NOW
Icinga Quality, Testing and Community Support
Website and Open Source Ticketing System
Icinga Core
C-based source
MySQL, PostgreSQL and Oracle
Icinga Reports
based on Jasper
Reports
Icinga Doc
based on
DocBook in
English and
German
Icinga Web
based on PHP
using Sencha,
Agavi MVC
IDOUTILS
NRPE and NSCA
Mobile
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Icinga Core
C-based source
MySQL, PostgreSQL, Oracle
#OSMC2013
TOOLS AND PLATFORM - FUTURE
Icinga Quality, Testing and Community Support
Website and Open Source Ticketing System
Icinga Reports
based on Jasper
Reports
Icinga Doc
based on
Markdown
IDOUTILS
Icinga 2
C++-based source with
multiple components
3rd Party Tools Icinga 2 Web Based on PHP / responsive design
Icinga Web based on PHP using ExtJS, Agavi MVC
IDO Livestatus Cluster …
WHAT’S NEXT
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Roadmap
• Roadmap Icinga
– https://dev.icinga.org/projects/icinga-
development/roadmap
• Roadmap Icinga 2
– https://dev.icinga.org/projects/i2/roadmap
• Roadmap Icinga 2 Web
– https://dev.icinga.org/projects/icinga-2-web/roadmap
• Roadmap based on
– Bugs
– Sponsors
– Feedback (feedback.icinga.org, Twitter, etc.)
– Team members’ interests
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Releases & Events
• Releases Icinga & Web
– 1.11 (Spring)
– 1.12 (Fall)
• Releases Icinga 2
– 0.0.3 (Today ?)
– 0.0.4 (2013)
– Many new releases in 2014
• Events
– DevOps Days – London (November)
– FlossUK 2014 – Brighton (March)
– CeBIT 2014 (March)
– Chemnitzer LinuxTage (March)
#OSMC2013
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
QUESTIONS & ANSWERS
#OSMC2013
Web www.icinga.org
Development dev.icinga.org
Feedback feedback.icinga.org
Wiki wiki.icinga.org
Support support.icinga.org
Twitter twitter.com/icinga
Facebook facebook.com/icinga
……..
Everywhere!
? Questions & Answers