Introduction into Icinga
-
Upload
icinga -
Category
Technology
-
view
475 -
download
6
Transcript of Introduction into Icinga
![Page 1: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/1.jpg)
www.icinga.org
#IcingaCamp – San Francisco– 02/15/2016
WELCOME TO ICINGA CAMP SAN FRANCISCO 2016
![Page 2: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/2.jpg)
THANK YOU VERY MUCH
![Page 3: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/3.jpg)
Thanks to our sponsors
![Page 4: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/4.jpg)
Timetable
![Page 5: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/5.jpg)
![Page 6: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/6.jpg)
Round of introductions
![Page 7: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/7.jpg)
• Bernd Erk• Icinga co-founder• Project organizer
• @gethash
![Page 8: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/8.jpg)
www.icinga.org
ICINGA – OPEN SOURCE MONITORING
![Page 9: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/9.jpg)
![Page 10: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/10.jpg)
ICINGA - NEWS
![Page 11: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/11.jpg)
ICINGA - NEWS - EXCHANGE
![Page 12: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/12.jpg)
![Page 13: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/13.jpg)
ICINGA - NEWS - COMMUNITY
![Page 14: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/14.jpg)
You?
![Page 15: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/15.jpg)
ICINGA - EVENTS
![Page 16: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/16.jpg)
Icinga Camp – Berlin 2016
March 1st
https://www.icinga.org/community/events/icinga-camp-berlin/
![Page 17: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/17.jpg)
ICINGA - INTRODUCTION
![Page 18: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/18.jpg)
Quick Poll
![Page 19: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/19.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 20: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/20.jpg)
Icinga Web 2
Icinga 2Icinga
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 21: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/21.jpg)
ICINGA2
![Page 22: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/22.jpg)
Checker
Notify
Gelf
Perfdata Graphite
IDO
Compat
Livestatus
• Multithreaded• Modular
Features• Zone support• Secure Agent• No Nagios®
![Page 23: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/23.jpg)
Demo
![Page 24: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/24.jpg)
ICINGA2 - CONFIGURATION
![Page 25: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/25.jpg)
![Page 26: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/26.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 27: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/27.jpg)
Icinga Studio
![Page 28: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/28.jpg)
ICINGA2 - API
![Page 29: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/29.jpg)
We had “APIs”
![Page 30: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/30.jpg)
• HTTP with RESTful Url Schema • ApiUser config object• X.509 and/or Basic Auth
![Page 31: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/31.jpg)
ApiUser Object
# vim /etc/icinga2/conf.d/api-users.conf
object ApiUser "root" {
password = "icinga”
permissions = [ "*" ]
}
![Page 32: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/32.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 33: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/33.jpg)
• create, modify and delete objects• retrieve information and run actions• subscribe to events• manage configuration packages
![Page 34: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/34.jpg)
• Configuration management• New standard config API • Support for Packages and Stages• Support for Zones
![Page 35: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/35.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 36: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/36.jpg)
• Status, Objects, Actions and Events• Simple filter
• services?service=localhost!ping6
• Advanced filter• type=Service&filter=service.name==%22ping6%22
![Page 37: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/37.jpg)
Demo
![Page 38: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/38.jpg)
ICINGA WEB 2
![Page 39: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/39.jpg)
• Easy to extend and embed• JSON and CSV export• Support for MySQL and PostgreSQL• Responsive layout
![Page 40: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/40.jpg)
• Developed in PHP 5.3 • Multiple authentication methods• Active Directory, LDAP and DB• Via Webserver, e.g. Kerberos• May be chained
![Page 41: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/41.jpg)
Web 2
Monitoring Docs
BP NagVis PNP
![Page 42: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/42.jpg)
Demo
![Page 43: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/43.jpg)
ICINGA WEB 2 - DIRECTOR
![Page 44: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/44.jpg)
![Page 45: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/45.jpg)
![Page 46: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/46.jpg)
![Page 47: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/47.jpg)
ICINGA ROADMAP – WHAT’S NEXT?
![Page 48: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/48.jpg)
We plan to release more modules for Icinga Web 2 in the next months
![Page 49: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/49.jpg)
We’ll release a web based configuration module on the 1st March
![Page 50: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/50.jpg)
• Icinga 2.4.2 / 2.5 is planned for Q1 2016
• Icinga Web 2.2 is planned for Q1 2016
![Page 51: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/51.jpg)
OUR VISION
![Page 52: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/52.jpg)
![Page 53: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/53.jpg)
CONCLUSION
![Page 54: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/54.jpg)
• Download Icinga 2 and Icinga Web 2 • Or play with the Vagrant boxes• Rethink your configuration• Give us feedback
![Page 55: Introduction into Icinga](https://reader036.fdocuments.in/reader036/viewer/2022081420/58f1e2131a28abdf798b461f/html5/thumbnails/55.jpg)
THANK YOU!www.icinga.orgdev.icinga.orggit.icinga.org
@icinga/icinga+icinga