Icinga2 in the middle of your toolstack
-
Upload
icinga -
Category
Technology
-
view
9.094 -
download
1
Transcript of Icinga2 in the middle of your toolstack
![Page 1: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/1.jpg)
www.icinga.org
London – FLOSSUK – March 16th 2016
ICINGA2
IN THE MIDDLE
OF YOUR TOOLSTACK
![Page 2: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/2.jpg)
• Bernd Erk
• Icinga co-founder
• Working @netways
• @gethash
![Page 3: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/3.jpg)
www.icinga.org
ICINGA – OPEN SOURCE
MONITORING
![Page 4: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/4.jpg)
ICINGA - COMMUNITY
![Page 5: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/5.jpg)
![Page 6: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/6.jpg)
You?
![Page 7: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/7.jpg)
ICINGA - INTRODUCTION
![Page 8: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/8.jpg)
Quick Poll
![Page 9: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/9.jpg)
Open Source 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.
![Page 10: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/10.jpg)
Icinga Web 2
Icinga 2
Icinga
Icinga Quality, Testing and Community Support
Icinga.org, dev.icinga.org, social media channels
Icinga Reports Icinga Doc
3rd Party Tools
Icinga Web
Icinga Classic (CGI)
![Page 11: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/11.jpg)
ICINGA2
![Page 12: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/12.jpg)
Checker
Notify
Gelf
Perfdata Graphite
IDO
Compat
Livestatus• Multithreaded
• Modular Features
• Zone support
• Secure Agent
• No Nagios®
![Page 13: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/13.jpg)
• Availability and scaling zones
• Automatic redistribution of checks
• Zones for multitenancy environments
![Page 14: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/14.jpg)
High Availability
Checker
Notify
Gelf
Perfdata Graphite
IDO
Compat
Livestatus
Checker
Notify
Gelf
Perfdata Graphite
IDO
Compat
Livestatus
![Page 15: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/15.jpg)
Checker
Notify
Perfdata
Gelf IDO
Graphite
Compat
Livestatus
Distributed Features
![Page 16: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/16.jpg)
Zone A
Zoning
Zone B
![Page 17: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/17.jpg)
Advanced Zoning
Zone CZone A Zone B
![Page 18: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/18.jpg)
ICINGA2 - GRAPHITE
![Page 19: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/19.jpg)
New Graphite Schema
icinga2.$host.name$.host.$host.check_command$
icinga2.$host.name$.services.$service.name$.$service.check_command$
![Page 20: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/20.jpg)
Threshold metrics
enable_send_thresholds
<prefix>.perfdata.<perfdata-label>.min
<prefix>.perfdata.<perfdata-label>.max
<prefix>.perfdata.<perfdata-label>.warn
<prefix>.perfdata.<perfdata-label>.crit
![Page 21: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/21.jpg)
Metadata metrics
enable_send_metadata
<prefix>.metadata.current_attempt
<prefix>.metadata.downtime_depth
<prefix>.metadata.execution_time
<prefix>.metadata.latency
<prefix>.metadata.max_check_attempts
<prefix>.metadata.reachable
<prefix>.metadata.state
<prefix>.metadata.state_type
![Page 22: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/22.jpg)
Demo
![Page 23: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/23.jpg)
ICINGA2 - CONFIGURATION
![Page 24: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/24.jpg)
![Page 25: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/25.jpg)
Enhanced configuration language
assign where match("*mysql*", host.name) &&
apply Notification "notify-customer" to Service { …
apply Service "ssh” { …
apply Service for (identifier => oid in host.vars.oids) { …
if (get_time_period(“9to5”).is_inside) { …
![Page 26: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/26.jpg)
Icinga Studio
![Page 27: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/27.jpg)
ICINGA WEB 2
![Page 28: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/28.jpg)
• Easy to extend and embed
• JSON and CSV export
• Support for MySQL and PostgreSQL
• Responsive layout
![Page 29: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/29.jpg)
• Developed in PHP 5.3
• Multiple authentication methods
• Active Directory, LDAP and DB
• Via Webserver, e.g. Kerberos
• May be chained
![Page 30: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/30.jpg)
Web 2
Monitoring Docs
BP NagVis PNP
![Page 31: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/31.jpg)
Demo
![Page 32: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/32.jpg)
ICINGA2 - API
![Page 33: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/33.jpg)
We had “APIs”
![Page 34: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/34.jpg)
• HTTP with RESTful Url Schema
• ApiUser config object
• X.509 and/or Basic Auth
![Page 35: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/35.jpg)
ApiUser Object
# vim /etc/icinga2/conf.d/api-users.conf
object ApiUser "root" {
password = "icinga”
permissions = [ "*" ]
}
![Page 36: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/36.jpg)
ApiUser Permissions
permissions = [
{
permission = "objects/query/Host"
filter = {{ regex("^Linux", host.vars.os) }}
},
{
permission = "objects/query/Service"
filter = {{ regex("^Linux", service.vars.os) }}
}
]
![Page 37: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/37.jpg)
• create, modify and delete objects
• retrieve information and run actions
• subscribe to events
• manage configuration packages
![Page 38: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/38.jpg)
• Configuration management
• New standard config API
• Support for Packages and Stages
• Support for Zones
![Page 39: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/39.jpg)
• Event Streams
• Based on Types and Filters
CheckResult, StateChange, Notification,
AcknowledgementSet, AcknowledgementCleared,
CommentAdded, CommentRemoved, DowntimeAdded,
DowntimeRemoved, DowntimeTriggered
• Example
/v1/events?queue=osmc&types=CheckResult
![Page 40: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/40.jpg)
• Status, Objects, Actions and Events
• Simple filter
• services?service=localhost!ping6
• Advanced filter
• type=Service&filter=service.name==%22ping6%22
![Page 41: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/41.jpg)
Demo
![Page 42: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/42.jpg)
ICINGA WEB 2 - DIRECTOR
![Page 43: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/43.jpg)
![Page 44: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/44.jpg)
![Page 45: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/45.jpg)
![Page 46: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/46.jpg)
ICINGA ROADMAP – WHAT’S
NEXT?
![Page 47: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/47.jpg)
We plan to release more modules for Icinga
Web 2 in the next months
![Page 48: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/48.jpg)
We’ll release a web based configuration
module on the 1st March
![Page 49: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/49.jpg)
• Icinga 2.4.4 was released today!
• Icinga Web 2.2 was released on March 1st
![Page 50: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/50.jpg)
OUR VISION
![Page 51: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/51.jpg)
![Page 52: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/52.jpg)
CONCLUSION
![Page 53: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/53.jpg)
• Download Icinga 2 and Icinga Web 2
• Or play with the Vagrant boxes
• Rethink your configuration
• Give us feedback
![Page 54: Icinga2 in the middle of your toolstack](https://reader034.fdocuments.in/reader034/viewer/2022050613/5877402e1a28ab342e8b68c1/html5/thumbnails/54.jpg)
THANK YOU!
www.icinga.org
dev.icinga.org
git.icinga.org
@icinga
/icinga
+icinga