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.
WWW.ICINGA.ORG
Icinga Camp Barcelona
27/02/2015
Icinga 2
Open Source Monitoring Redesigned
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Me
• Michael Friedrich
• @dnsmichi, 31, Austrian
• Working @NETWAYS
• Icing...
ICINGA 2 - INTRODUCTION
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 - Overview
• Stable Version: 2.2.4 (5.2.2015)
• Next major version...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 - Overview
• Features (DB IDO, Livestatus, Graphite, …)
• Icinga T...
ICINGA 2 – NEXT VERSION 2.3
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – What’s new in 2.3
• Improved configuration validation
• New lang...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – New languages features in 2.3
• User-defined functions
• Conditi...
ICINGA 2 - CONFIGURATION
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration
# cd /usr/share/doc/icinga2-common*/syntax
# PREFI...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration
# yum install rlwrap
# rlwrap icinga2 console
• Us...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration
• Get to know all the value types!
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Constants
• PluginDir, MysqlPassword, SnmpCommuni...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Templates
• Templates for generic attributes
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Custom Attributes
• Numbers, Strings, Booleans, A...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Commands
• Optional/conditional arguments, functi...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Hosts and Services
• Checkable objects and attributes
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Apply Services
• Match on (custom) attributes, na...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Notifications
• Dynamic notification rules
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Dependencies
• Host-on-Service, Service-on-Host, ...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Conditionals
• If-then-else
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Functions
• Use pre-defined or your own
• Custom ...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Loops
• While, for and break/continue
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Configuration: Type methods
• Array#sort, Dictionary#contains, S...
DEMO
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Icinga 2 – Demo
Get VirtualBox >= 4.2.16 && Vagrant >= 1.6.5
$ git clone --...
CONCLUSION
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
Conclusion
• Getting started
• http://docs.icinga.org/icinga2
• Icinga 2 Standalone...
DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG
#icinga
Questions & Answers
Web www.icinga.org
Git git.icinga.org
Development dev.i...
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
Puppet Camp Portland: Nagios Management With Puppet (Beginner)
Next
Upcoming SlideShare
Puppet Camp Portland: Nagios Management With Puppet (Beginner)
Next
Download to read offline and view in fullscreen.

Share

Icinga Camp Barcelona - Icinga

Download to read offline

Icinga 2 Talk at Icinga Camp Barcelona 2015 - Michael Friedrich

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to like this

Icinga Camp Barcelona - Icinga

  1. 1. WWW.ICINGA.ORG Icinga Camp Barcelona 27/02/2015 Icinga 2 Open Source Monitoring Redesigned
  2. 2. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Me • Michael Friedrich • @dnsmichi, 31, Austrian • Working @NETWAYS • Icinga responsibilities • Core 1.x & 2.x Developer • Release Manager • On the team since 2009
  3. 3. ICINGA 2 - INTRODUCTION
  4. 4. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 - Overview • Stable Version: 2.2.4 (5.2.2015) • Next major version: 2.3.0 (10.3.2015) • Supports all major distributions • New configuration format • Compatible with plugins, addons, UIs • Use packages!
  5. 5. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 - Overview • Features (DB IDO, Livestatus, Graphite, …) • Icinga Template Library (CheckCommands, …) • Performance & Real-time monitoring • Clients, Satellites, Distributed Monitoring & HA Clusters • Too much for any presentation ;-)
  6. 6. ICINGA 2 – NEXT VERSION 2.3
  7. 7. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – What’s new in 2.3 • Improved configuration validation • New language features • Additional ITL CheckCommand definitions • CLI improvements (# icinga2 console) • OpenTSDB support
  8. 8. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – New languages features in 2.3 • User-defined functions • Conditional statements (if/else) • for/while loops • Local variables (var keyword) • Methods for types (e.g. array#sort()) • Access objects and their runtime attributes in functions • Use functions as custom attribute values
  9. 9. ICINGA 2 - CONFIGURATION
  10. 10. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration # cd /usr/share/doc/icinga2-common*/syntax # PREFIX=~/.vim # mkdir –p $PREFIX/{syntax,ftdetect} # cp vim/syntax/icinga2.vim $PREFIX/syntax/ # cp vim ftdetect/icinga2.vim $PREFIX/ftdetect/ # vim /etc/icinga2/icinga2.conf • Use syntax highlighting!
  11. 11. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration # yum install rlwrap # rlwrap icinga2 console • Use ‘icinga2 console’ to test values, functions, etc! • https://www.icinga.org/resources/live-console/ • Install rlwrap 
  12. 12. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration • Get to know all the value types!
  13. 13. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Constants • PluginDir, MysqlPassword, SnmpCommunity, …
  14. 14. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Templates • Templates for generic attributes
  15. 15. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Custom Attributes • Numbers, Strings, Booleans, Arrays, Dictionaries • Filters, Match Conditions, additional information
  16. 16. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Commands • Optional/conditional arguments, functions, default values
  17. 17. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Hosts and Services • Checkable objects and attributes
  18. 18. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Apply Services • Match on (custom) attributes, names (assign) • Exclude objects (ignore) • For loops over arrays/dictionaries
  19. 19. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Notifications • Dynamic notification rules
  20. 20. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Dependencies • Host-on-Service, Service-on-Host, Classic
  21. 21. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Conditionals • If-then-else
  22. 22. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Functions • Use pre-defined or your own • Custom attributes, command, argument values
  23. 23. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Loops • While, for and break/continue
  24. 24. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG #icinga Icinga 2 – Configuration: Type methods • Array#sort, Dictionary#contains, String#find, …
  25. 25. DEMO
  26. 26. 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
  27. 27. CONCLUSION
  28. 28. DEV. WIKI. BLOG. DOC. | WWW.ICINGA.ORG Conclusion • Getting started • http://docs.icinga.org/icinga2 • Icinga 2 Standalone & Cluster Vagrant Boxes • https://github.com/icinga/icinga-vagrant • Snapshots and release builds • http://packages.icinga.org #icinga
  29. 29. 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 2 Talk at Icinga Camp Barcelona 2015 - Michael Friedrich

Views

Total views

24,283

On Slideshare

0

From embeds

0

Number of embeds

20,417

Actions

Downloads

19

Shares

0

Comments

0

Likes

0

×