SlideShare a Scribd company logo
Ops and Dev Stories
Integrate everything into your
monitoring stack
#OSMC	| 22nd	November	2017	|	Nuremberg
INTRODUCTION
Carsten	Köbke &	Michael	Friedrich
INTRODUCTION
Carsten	Köbke
•Carsten	Köbke
•Consultant	@	open*i
•Grafana Module	Maintainer
•@mikeschova
INTRODUCTION
Michael	Friedrich
•Michael	Friedrich
•Senior	Developer	@	NETWAYS
•Icinga Developer	&	Community	Lead	
•@dnsmichi
INTRODUCTION
Icinga
Who	is using Icinga?
Who	is using Graphing?
METRICS
METRICS
Overview
•„Time	series data bases“	(TSDB)
•RRDTool ->	PNP
•Graphite
•InfluxDB
METRICS
Grafana
•Visualize with Grafana
•Graphite
•InfluxDB
METRICS
Overview
•Manage	default templates
•Custom	dashboards
•Annotations with external sources
Grafana
&
Icinga Web	2	?
METRICS
Icinga Web	2
•GrapherHook
•getPreviewHtml()
METRICS
Icinga Web	2
•Grafana Render API
•Download
•Direct
•Detail	View	Image
METRICS
Icinga Web	2
•Additional	Parameters	for Grafana API
•Host/Service
•Check	Command
•Custom	Attributes
METRICS
Icinga Web	2
•More	„eye candy“
•Range	picker
•Graph	config
•More	base dashboards
METRICS
Icinga Web	2
•„Community	in	the making“
•Respond to bugs/feature requests
•Review	PRs
•Write	documentation for the first success
MAPS
MAPS
Openstreetmap
•Openstreetmap API
•Geo location tags
Show	hosts
on	a	map
in	Icinga Web	2	?
MAPS
Openstreetmap
•Host	object needs “geolocation“	attribute
vars.geolocation =	“<longitude>,<latitude>“
object Host "be-host" {
vars.geolocation = "52.524372,13.389856"
}
Reference:	https://www.icinga.com/2017/08/16/integrate-maps-into-icinga/
MAPS
Openstreetmap
•Host	Action:	Show	on	Map
•Menu	Entry:	Maps >	Host	Map
MAPS
Openstreetmap
•Fetch geolocation via	JS	call
•Points	as JSON	data
•Render with leaflet.js
MAPS
Openstreetmap
•More	„Goodies“
•Host	Popup	with service list/states
•Worst state calculation
•Default	zoom	config
MAPS
Openstreetmap
•Dashlets in	Icinga Web	2
DASHBOARDS
DASHBOARDS
Icinga Web	2
DASHBOARDS
Icinga Web	2
•?showFullscreen
•?showCompact
•?addColumns
/icingaweb2/monitoring/list/services?service_problem=1&sort=service_s
everity 
&showCompact&showFullscreen&addColumns=host_output,host_address
OSMC 2017 | Ops and dev stories- Integrate everything into your monitoring stack by Carsten Köbke and Michael Friedrich
List	of problems:
How many problems do	
you have?
DASHBOARDS
Icinga Web	2
•Reduce problems to NUMBERS
•Add	static details &	short readable lists
•No clicks – view it in	the office
DASHBOARDS
Dashing
DASHBOARDS
Dashing
•Saw it once in	the NETWAYS	office
•Open	tickets,	current tasks,	any problems
•Colors	for state indication
DASHBOARDS
Dashing
•Ruby,	HTML,	CSS,	JS,	Coffeescript
•WTF
•Docs – wtf
•Ok,	let‘s just	copy an	existing one
DASHBOARDS
Dashing
•Widgets
•Present number,	lists,	data
•Styling
•Dynamic	update	events
DASHBOARDS
Dashing
•Dashboard
•Add	Widget types
•Define widget data as „data-id“
•Static HTML	(browser drag&drop via	JS)
DASHBOARDS
Dashing
•Jobs
•Run	every X	seconds
•Get data from source
•Send	event to „data-id“
Icinga 2	REST	API	+	
Dashing =	
#monitoringlove
TODO:	Screenshot
DASHBOARDS
Dashing
•Use „dashing-icinga2“	as basis
•Use Linux	or a	PI	client.	No Windows.
•Development	is SUPER	HARD
•Wrote some development docs
TICKET	SYSTEMS
TICKET	SYSTEMS
Overview
•Notifications create tickets
•Ticket	Update	=>	Acknowledge in	Icinga
•Ticket	Close	=>	Update	comment in	Icinga
TICKET	SYSTEMS
Overview
•OTRS:	SystemMonitoring
•Request	Tracker Modules
•HP	ITSM	Scripts
•.......
TICKET	SYSTEMS
Overview
•Doing more with Request	Tracker lately
•Replace the N-word module
•Use Icinga 2	REST	API	actions everywhere
•Let‘s do	it on	the hackathon J
LOGS	&	EVENTS
Who	is using
Elastic Stack	or Graylog?
LOGS	&	EVENTS
Overview
LOGS	&	EVENTS
Overview
•„syslog“	to Elastic/Graylog
•„monitoring data“
•„events“
LOGS	&	EVENTS
Overview
•Beats
•filebeat and icingabeat
•Icinga 2
•GELF	Writer
•Elasticsearch Writer	(2.8)
Host	is down	in	Icinga Web	2
+
Access	to syslogs &	events
=
Central	view for faster problem analysis
Nice	idea J
Doesn‘t exist yet.
Write	a	module?
LOGS	&	EVENTS
Elastic Stack
•HostActions Hook
•Not	embedded (would refresh too often)
•Query	Elasticsearch/Graylog REST	API
•List	entries
•Filters,	fields
LOGS	&	EVENTS
Elastic Stack
•VW	sponsored Elasticsearch integration
•Join Bernd‘s talk later
LOGS	&	EVENTS
Graylog
•How about Graylog?
•“Streams“	with pre-filtered data
•Query	data (same	as monitoring list)
•Apply filters
•Pagination
LOGS	&	EVENTS
Graylog
•DEV	code from Elasticsearch VW	project
•Icinga Vagrant boxes with PHP	7.1
•LOTS	OF	TIME	(actually,	not)
•An	early prototype
LOGS	&	EVENTS
Graylog
•Try	it!
LOGS	&	EVENTS
Graylog
•TODO:	Screenshot
IDEAS
IDEAS
Ours
•Workflow	integration (toolbars,	widgets)
•Central	view on	your monitoring
•Icinga Web	2	modules/integrations
•More	dashboards
•“Everything which has an	API“
Your ideas
for the OSMC	hackathon
(no promises ;))
IDEAS
Overview
•Access	state data from
http://localhost/icingaweb2/monitoring/list/
hosts?format=json
•Client	side JS	which does „something“
REFERENCES
Everything mentioned in	this talk
• https://github.com/Mikesch-mp/icingaweb2-module-grafana
• https://github.com/nbuchwitz/icingaweb2-module-map	
• https://github.com/dnsmichi/icingaweb2-module-osmc
• https://www.youtube.com/watch?v=GR1QguEdilg
www.icinga.com
packages.icinga.com
github.com/icinga
icinga
icinga
icinga
Thank You!

More Related Content

PDF
OSMC 2017 | Icinga 2 Multi Zone HA Setup using Ansible by Toshaan Bharvani
PDF
OSMC 2017 | Current State of Icinga by Erk Bernd
PDF
Icinga Camp Berlin 2018 - Automated Monitoring of Proxmox VE with Icinga Dire...
PDF
Icinga Camp New York 2018 - Icinga2 and Elastic
PDF
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
PPTX
Icinga Camp Bangalore - Enterprise exceptions
PDF
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
PPTX
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal
OSMC 2017 | Icinga 2 Multi Zone HA Setup using Ansible by Toshaan Bharvani
OSMC 2017 | Current State of Icinga by Erk Bernd
Icinga Camp Berlin 2018 - Automated Monitoring of Proxmox VE with Icinga Dire...
Icinga Camp New York 2018 - Icinga2 and Elastic
Icinga Camp Berlin 2018 - Dev and Ops Stories - Integrations++
Icinga Camp Bangalore - Enterprise exceptions
Icinga Camp Berlin 2018 - What's evolving in icinga 2018
Icinga Camp Bangalore - Icinga2 and Salt Stack at SnapDeal

What's hot (20)

PDF
Icinga Camp New York 2018 - Opening
PDF
Icinga Camp Bangalore - Icinga2 and Ansible
PPTX
Icinga Camp Bangalore - Icinga and Icinga Director
PDF
Icinga Camp New York 2018 - What's evolving in icinga 2018
PDF
Icinga Camp San Francisco 2017 - Icinga Director - Managing your configuration
PPTX
Icinga Camp Bangalore - Welcome
PDF
Icinga Director
PPTX
Presentation about Icinga at Kiratech DevOps Day in Verona
PPTX
Icinga Camp Berlin 2017 - Integrations all the way
PPTX
Icinga Camp Bangalore - Icinga integrations
PPTX
Icinga Camp Berlin 2017 - Icinga Web 2 - How to Write Modules
PPTX
Neutron Updates - Kilo Edition
PPTX
Rootconf 2017 - State of the Open Source monitoring landscape
PPT
Add ons for stash
PPTX
Integrate 2017 unlock azure hybrid integration with biz talk - ws
PDF
DevSecOps - Security in DevOps
ODP
Unicon June 2014 IAM Briefing
PDF
OSMC 2017 | Monitoring Challenges in a World of Automation by Anthony Goddard
PDF
Icinga Web 2 is more
ODP
Icinga Camp Belgrade - ITAF Monitoring best practices & demo
Icinga Camp New York 2018 - Opening
Icinga Camp Bangalore - Icinga2 and Ansible
Icinga Camp Bangalore - Icinga and Icinga Director
Icinga Camp New York 2018 - What's evolving in icinga 2018
Icinga Camp San Francisco 2017 - Icinga Director - Managing your configuration
Icinga Camp Bangalore - Welcome
Icinga Director
Presentation about Icinga at Kiratech DevOps Day in Verona
Icinga Camp Berlin 2017 - Integrations all the way
Icinga Camp Bangalore - Icinga integrations
Icinga Camp Berlin 2017 - Icinga Web 2 - How to Write Modules
Neutron Updates - Kilo Edition
Rootconf 2017 - State of the Open Source monitoring landscape
Add ons for stash
Integrate 2017 unlock azure hybrid integration with biz talk - ws
DevSecOps - Security in DevOps
Unicon June 2014 IAM Briefing
OSMC 2017 | Monitoring Challenges in a World of Automation by Anthony Goddard
Icinga Web 2 is more
Icinga Camp Belgrade - ITAF Monitoring best practices & demo
Ad

Similar to OSMC 2017 | Ops and dev stories- Integrate everything into your monitoring stack by Carsten Köbke and Michael Friedrich (20)

PDF
Using Terraform as your Everything as Code tool
PDF
Tracking and business intelligence
PPTX
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
PDF
Migrating Your Data Platform At a High Growth Startup
PDF
Operationalizing Machine Learning Using GPU-accelerated, In-database Analytics
PDF
Kafka and Kafka Streams in the Global Schibsted Data Platform
PDF
Kafka and Kafka Streams in the Global Schibsted Data Platform
PPTX
TYPO3 and t3kit overview
PDF
The Canton of Zurich will deploy a SMW-based portal to manage historical monu...
PDF
SMW User Conference 2014: Monuments Database for Kanton Zürich / Kanton Züric...
PDF
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
PDF
DSD-INT 2018 Delft-FEWS new features - Boot Ververs
PPTX
Serverless Architecture
PPTX
MelBIM 190619
PPTX
Sp biz conf - using office graph api
PPTX
Cassandra Summit 2014: Apache Cassandra at Telefonica CBS
PPTX
continues ingration & delivery and disaster recovery plan
PDF
Spring Cloud and Netflix OSS overview v1
PDF
Building real-time data analytics on Google Cloud
PPTX
SplunkLive! Utrecht 2017 - ASML Customer Presentation
Using Terraform as your Everything as Code tool
Tracking and business intelligence
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Migrating Your Data Platform At a High Growth Startup
Operationalizing Machine Learning Using GPU-accelerated, In-database Analytics
Kafka and Kafka Streams in the Global Schibsted Data Platform
Kafka and Kafka Streams in the Global Schibsted Data Platform
TYPO3 and t3kit overview
The Canton of Zurich will deploy a SMW-based portal to manage historical monu...
SMW User Conference 2014: Monuments Database for Kanton Zürich / Kanton Züric...
stackconf 2021 | How we finally migrated an eCommerce-Platform to GCP
DSD-INT 2018 Delft-FEWS new features - Boot Ververs
Serverless Architecture
MelBIM 190619
Sp biz conf - using office graph api
Cassandra Summit 2014: Apache Cassandra at Telefonica CBS
continues ingration & delivery and disaster recovery plan
Spring Cloud and Netflix OSS overview v1
Building real-time data analytics on Google Cloud
SplunkLive! Utrecht 2017 - ASML Customer Presentation
Ad

Recently uploaded (20)

PDF
AI in Product Development-omnex systems
PDF
System and Network Administration Chapter 2
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
history of c programming in notes for students .pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
L1 - Introduction to python Backend.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
System and Network Administraation Chapter 3
PDF
medical staffing services at VALiNTRY
AI in Product Development-omnex systems
System and Network Administration Chapter 2
Essential Infomation Tech presentation.pptx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Odoo POS Development Services by CandidRoot Solutions
PTS Company Brochure 2025 (1).pdf.......
VVF-Customer-Presentation2025-Ver1.9.pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
How to Migrate SBCGlobal Email to Yahoo Easily
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
history of c programming in notes for students .pptx
How Creative Agencies Leverage Project Management Software.pdf
CHAPTER 2 - PM Management and IT Context
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
L1 - Introduction to python Backend.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Odoo Companies in India – Driving Business Transformation.pdf
System and Network Administraation Chapter 3
medical staffing services at VALiNTRY

OSMC 2017 | Ops and dev stories- Integrate everything into your monitoring stack by Carsten Köbke and Michael Friedrich