Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Icinga Director

16,927 views

Published on

Talk by Thomas Gelf about the new Icinga2 configuration editor named Icinga Director. Given at Icinga Camp Berlin 2016

Published in: Technology
  • Dating for everyone is here: ♥♥♥ http://bit.ly/369VOVb ♥♥♥
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/369VOVb ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Icinga Director

  1. 1. www.icinga.org Icinga Director IcingaCamp Berlin – 01/03/15
  2. 2. Thomas Gelf Web 2 Product owner Module prototyping machine Principal Consultant @netways
  3. 3. Talk structure while (! $talk->outOfTime()) { $camp->showSomeSlides() ->doFancyLiveDemo(); }
  4. 4. AGENDA
  5. 5. What is this? Why should I use it? Where can I get it?
  6. 6. What is this? A powerful config tool for Icinga 2 Why should I use it? Where can I get it?
  7. 7. What is this? A powerful config tool for Icinga 2 Why should I use it? It is fancy, fast and sexy! Where can I get it?
  8. 8. What is this? A powerful config tool for Icinga 2 Why should I use it? It is fancy, fast and sexy! Where can I get it? https://github.com/Icinga/
  9. 9. Sexy?
  10. 10. HISTORY
  11. 11. A little bit of history Kickof meeting April 17th, 2016 Initial commit: two days later
  12. 12. Getting started
  13. 13. Installation provide a database tell Director... ...and he cares about the rest
  14. 14. Using Puppet? Idempotency out of the box :-) Try `--help` or the documentation for more information Same for Kickstart!
  15. 15. Let's try it out!
  16. 16. CONFIGURATION MADE EASY
  17. 17. Director target audience fully automated environments point & click users at the very same time (!!)
  18. 18. Show me the click thingy!
  19. 19. AUTOMATION FIRST
  20. 20. Import & Sync • Distinct operations in Icinga Director • Bomb it with your data • Do not really care about sync details
  21. 21. Icinga loves automation • Director is a perfect fit for Puppet • Collecting resources with Puppet is slow • Faster: sync from PDB • Exporting resources? • Use Director as your collector!
  22. 22. IS IT APIFIED?
  23. 23. Director offers a REST API • Simple and powerful • Easy and intuitive to use • Assists you with the trickiest part of the job: detect and handle changes
  24. 24. Monitoring has to „just work“ • No one wants to waste time on it • But not every system is fully automated • e.g. „Add a new MSSQL instance“ • Environmental sensors
  25. 25. Deploying every few minutes? • Don't want to wait for next Puppet run? • New hosts or apps need to be actively monitored seconds after being deployed
  26. 26. ARCHITECTURE
  27. 27. Architecture • How and where to attach • How does it talk to my Icinga nodes • Masters, Satellites, Agents?
  28. 28. Protocol • Uses the Icinga 2 API (TLS, REST) • Ships whole config, not single objects • This is ways faster with lots of objects • Could still ship partial changes
  29. 29. Communication Paths • Director talks to your master node(s) • Deploys always to the very same node • Knows agents / satellites • Controls them via config distribution
  30. 30. Demo
  31. 31. HOW CAN YOU USE DIRECTOR?
  32. 32. Lots of datasources? Director is your single source of truth CMDB has a lot of infomation... ...but not everything ...and somewhat outdated Use it nonetheless Enrich it with other sources
  33. 33. Using Satellites? • Use templates with defined Zone • Config flows top-bottom • Commands and templates are usually still deployed to the global zone • You can override those decisions on any object at any time
  34. 34. Running Icinga 2 Agent? Do not care about Zones and Endpoints They are autocreated Provided certificate signing tickets Generated customized icinga2.conf
  35. 35. EXTEND IT!
  36. 36. Director is highly modular Current Hooks: DataType, ImportSource, PropertyModifier, ShipConfigFiles Even Directors own implementations extend and use them to provide you nice real-world examples
  37. 37. Demo
  38. 38. USE IT!
  39. 39. Code https://www.github.com/Icinga → icingaweb2-module-director https://www.github.com/Thomas-Gelf → icingaweb2-module-puppetdb → icingaweb2-module-fileshipper
  40. 40. Thank You! www.icinga.org dev.icinga.org git.icinga.org @icinga /icinga +icinga
  41. 41. QUESTIONS? Thomas Gelf <thomas.gelf@netways.de>

×