Icinga 1, Icinga 2 @ FrOSCon 2014

25,262 views
29,381 views

Published on

News about the Icinga project, Icinga 2 and Icinga Web2.

Held on FrOSCon 2014 (www.froscon.de)

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
25,262
On SlideShare
0
From Embeds
0
Number of Embeds
21,319
Actions
Shares
0
Downloads
23
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Icinga 1, Icinga 2 @ FrOSCon 2014

  1. 1. WWWWWW..IICCIINNGGAA..OORRGG Icinga 1, Icinga 2 News about the Icinga Project FroSCon 2014 24th August – Team Icinga
  2. 2. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG AAggeennddaa • Introduction • Tools & Platform • Icinga project update • Icinga 2 • Icinga Web 2 • What‘s next • Questions & Answers FroSCon 2014
  3. 3. IINNTTRROODDUUCCTTIIOONN
  4. 4. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG MMee • Markus Frosch @lazyfrosch • Forked 1984 • Working @NETWAYS • Icinga responsibilities – Web Q&A – Packaging • Debian Member • In the Icinga Team since 2012 FroSCon 2014
  5. 5. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG AAbboouutt IIcciinnggaa • Icinga 1.x core forked from Nagios in April 2009 • Icinga 2.x started from scratch • 100 % Free Software - GPL • Different teams with independent responsibilities – Icinga Core – Icinga Packaging – Icinga Web & Reporting – Icinga Q&A & Docs • 26 “active” members on the team – Still searching! FroSCon 2014
  6. 6. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa TTeeaamm Core Packaging Web & Reporting Community Docs & QA FroSCon 2014 We want you!
  7. 7. TToooollss && PPllaattffoorrmm
  8. 8. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG TTOOOOLLSS AANNDD PPLLAATTFFOORRMM Icinga Core C-based source MySQL, PostgreSQL, Oracle IDO IDO Livestatus Livestatus Cluster Cluster …… Icinga Web based on PHP using ExtJS, Agavi MVC FroSCon 2014 Icinga Quality, Testing and Community Support Website and Open Source Ticketing System Icinga Reports based on Jasper Reports and the IDO database Icinga Doc based on Markdown IIDDOOUUTTIILLSS Icinga 2 C++-based source with multiple components 33rrdd PPaarrttyy TToooollss Icinga 2 Web Based on PHP / responsive design
  9. 9. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG CCuurrrreenntt AArrcchhiitteeccttuurree IIDDOO DDaattaabbaassee FroSCon 2014 IIcciinnggaa 22 IIcciinnggaa WWeebb 22 heavy development IIcciinnggaa WWeebb IIcciinnggaa CCoorree IIDDOOUUttiillss CCllaassssiicc UUII RREESSTT AAPPII MMoobbiillee SOAP Provider Icinga Reporting with JasperServer
  10. 10. Icinga PPrroojjeecctt UUppddaattee
  11. 11. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG 55 yyeeaarrss IIcciinnggaa FroSCon 2014
  12. 12. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG LLaatteesstt rreelleeaasseess • Icinga 1.11.5 (2014-06-20) • Icinga 1.11.6 (2014-08-06) • Icinga Web 1.11.2 (2014-08-13) • Icinga 2 • First stable release 2.0.0 on 16th June 2014 • 2.0.1 minor release on 10th July • 2.0.2 minor release on 7th August • In other news: Monitoring Plugins 2.0 is out http://monitoring-plugins.org FroSCon 2014
  13. 13. IIcciinnggaa 22
  14. 14. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 -- OOvveerrvviieeww • Based on C++ and Boost – Supports all major *NIX and Windows platforms • Different config format – There is a convertion tool, but... • Included cluster stack • Modular components / features • icinga2-disable-feature / icinga2-enable-feature • Components can run anywhere in a cluster • MySQL, PostgreSQL and Livestatus support included FroSCon 2014
  15. 15. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– CCoommppoonneennttss • Checker • Cluster / API • Compat – Command Pipe – Compat Log – Status.dat • Livestatus • Perfdata • Graphite • Notification • ido_mysql • ido_postgresql FroSCon 2014
  16. 16. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– MMaajjoorr ccoonnffiigg ddiiffffeerreenncceess • Completely new code style syntax • based on the old ideas • Global macros • Contact and Contactgroup -> User and UserGroup – no notification-specific attributes for services -> Notification Object • Freely definable macros for commands • Intelligent variables • Assign rules for services FroSCon 2014
  17. 17. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– MMaajjoorr ccoonnffiigg ddiiffffeerreenncceess • Macros and variables for checks 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% } template CheckCommand "ping-common" { import "plugin-check-command" command = [ PluginDir + "/check_ping" ] arguments = { "-H" = "$ping_address$" "-w" = "$ping_wrta$,$ping_wpl$%" "-c" = "$ping_crta$,$ping_cpl$%" "-p" = "$ping_packets$" "-t" = "$ping_timeout$" } vars.ping_wrta = 100 vars.ping_wpl = 5 vars.ping_crta = 200 vars.ping_cpl = 15 } object CheckCommand "ping4" { import "ping-common" command += [ "-4" ] vars.ping_address = "$address$" } FroSCon 2014
  18. 18. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– MMaajjoorr ccoonnffiigg ddiiffffeerreenncceess • Assign rules for services object Host "web01.company.com" { import "generic-host" address = "192.168.10.101" address6 = "2001:db8::101” vars.os = "Linux" } object Host "calamity.company.com" { import "generic-host" groups = [ "webserver" ] address = "192.168.10.66" address6 = "2001:db8::666” vars.os = "Linux" } apply Service "http" { import "generic-service" check_command = "check_http" assign where match("web*", host.name) } apply Service "ping4" { import "generic-service" check_command = "ping4" assign where "generic-host" in host.templates ignore where !host.address FroSCon 2014 } object HostGroup "webserver" { display_name = "Web Servers" assign where match("web*", host.name) } apply Service "https-cert" { import "generic-service" check_command = "check_https_cert" assign where "webserver" in host.groups } object Service "tomcat" { import "generic-service" check_command = "tomcat" host_name = "calamity.company.com" }
  19. 19. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– MMaajjoorr ccoonnffiigg ddiiffffeerreenncceess • New notification object – Icinga 1 – service -> (contact, contactgroup) -> notification command notification_options w,u,c,r,f,s – Icinga 2 – – service -> notification -> notificationCommand -> user, userGroup apply Notification "linux-admins" { interval = 15m command = "mail-service-notification" users = [ "icingaadmin" ] states = [ Warning, Critical, Unknown ] types = [ Problem, Acknowledgement, Recovery, Custom, FlappingStart, FlappingEnd, DowntimeStart,DowntimeEnd, DowntimeRemoved ] period = "24x7" • Escalations act as notification with defined begin and end FroSCon 2014 } times = { begin = 1h end = 2h }
  20. 20. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– CClluusstteerr • Cluster-based communication using TLS • Bidirectional connections supported • Zone / 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 FroSCon 2014 perfdata livestatus checker ido checker Icinga2 Icinga2 notification IDO Database
  21. 21. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG DDeemmoo –– IIcciinnggaa 22 FroSCon 2014 DEMO
  22. 22. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG GGeett IIcciinnggaa 22 • Getting started http://docs.icinga.org/icinga2 • Snapshots and release builds http://packages.icinga.org Builds for: Debian, Ubuntu, SuSE, Fedora, EL based systems • Natively available on – Debian testing (Jessie) and Wheezy (via backports) – Ubuntu (use PPA by formorer) – OpenSuSE (see buildserver) – Fedora (soon) FroSCon 2014
  23. 23. IIcciinnggaa WWeebb 22
  24. 24. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG Icinga Classic Icinga Web Icinga Mobile Icinga Web 2 DDiiffffeerreenntt IInntteerrffaacceess ffoorr IIcciinnggaa Thruk, … FroSCon 2014
  25. 25. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG WWhhyy aannootthheerr IInntteerrffaaccee • We want a solution for all platforms – Simple and lightweight – Responsive for desktop, tablet, phone • Icinga-Classic doesn’t fit large environments • 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! FroSCon 2014
  26. 26. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa WWeebb 22 • 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! FroSCon 2014
  27. 27. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG DDeemmoo –– IIcciinnggaa WWeebb 22 FroSCon 2014 DEMO
  28. 28. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG DDeemmoo –– IIcciinnggaa WWeebb 22 FroSCon 2014 What else?
  29. 29. WWhhaatt’’ss nneexxtt
  30. 30. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG FFuuttuurree ooff IIcciinnggaa 11..xx • Bugfixes • Smaller features • Compatibility to Icinga 2 • No fixed release schedule • Keep quality and allow users to migrate! FroSCon 2014
  31. 31. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG IIcciinnggaa 22 –– WWhhaatt’’ss nneexxtt • Icinga 2.1 (very soon) – Cluster improvements – Logging and documentation • Planned features – Business Process Integration, join the discussion! – Agent for remote checks – your idea? • Modules for Puppet, Ansible, … • See DEV tracker FroSCon 2014
  32. 32. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG RRooaaddmmaapp • Roadmap Icinga – https://dev.icinga.org/projects/icinga-development/ roadmap • Roadmap Icinga 2 – https://dev.icinga.org/projects/i2/roadmap • Roadmap Icinga Web 2 – https://dev.icinga.org/projects/icinga-2-web/roadmap • Roadmap based on – Bugs – Sponsors – Feedback (dev.icinga.org, Twitter, etc.) – Team members’ interests FroSCon 2014
  33. 33. DEV. WIKI. BLOG. DDOOCC.. || WWWWWW..IICCIINNGGAA..OORRGG QQUUEESSTTIIOONNSS && AANNSSWWEERRSS FroSCon 2014 Web + Blog www.icinga.org Docs docs.icinga.org Development dev.icinga.org Sourcecode git.icinga.org Releases github.com/Icinga Wiki wiki.icinga.org IRC #icinga on FreeNode Mailing lists lists.icinga.org Support support.icinga.org Twitter twitter.com/icinga Facebook facebook.com/icinga …….. Everywhere! ? Questions & Answers

×