+ All Categories
Home > Technology > Open Source Monitoring in 2015

Open Source Monitoring in 2015

Date post: 23-Jan-2017
Category:
Upload: kris-buytaert
View: 1,167 times
Download: 3 times
Share this document with a friend
53
From #MonitoringSucks to  From #MonitoringSucks to  #MonitoringLove #MonitoringLove (and back) (and back) @KrisBuytaert T-Dose 2015, Eindhoven,.nl
Transcript
Page 1: Open Source Monitoring in 2015

From #MonitoringSucks to  From #MonitoringSucks to  #MonitoringLove #MonitoringLove 

(and back)(and back)

@KrisBuytaert

T-Dose 2015, Eindhoven,.nl

Page 2: Open Source Monitoring in 2015

Kris BuytaertKris Buytaert● I used to be a Dev,I used to be a Dev,● Then Became an OpThen Became an Op● Chief Trolling Officer and Open Source Chief Trolling Officer and Open Source

Consultant @inuits.euConsultant @inuits.eu● Everything is an effing DNS ProblemEverything is an effing DNS Problem● Building Clouds since before the bookstoreBuilding Clouds since before the bookstore● Organising Conferences Organising Conferences ● Evangelizing devopsEvangelizing devops

Page 3: Open Source Monitoring in 2015

An opinionated talk about the Open Source An opinionated talk about the Open Source Monitoring tooling landscapeMonitoring tooling landscape

In which I hope to learn from YOUIn which I hope to learn from YOU

Page 4: Open Source Monitoring in 2015

#devops=~C(L)AMS#devops=~C(L)AMS● CultureCulture

● (Lean)(Lean)

● AutomationAutomation

● Monitoring and MeasurementMonitoring and Measurement

● SharingSharing

Damon Edwards and John WillisDamon Edwards and John Willis

Gene KimGene Kim

Page 5: Open Source Monitoring in 2015

Monitoring is usually an Monitoring is usually an aftertoughtaftertought

ENOBUDGET, ENOTIMEENOBUDGET, ENOTIME

Page 6: Open Source Monitoring in 2015

An 2008 OLS PaperAn 2008 OLS Paper● We have bloated Java toolsWe have bloated Java tools

● Some open Core stufSome open Core stuf

● DYI folks want traditional NagiosDYI folks want traditional Nagios

● DBA RequiredDBA Required

Page 7: Open Source Monitoring in 2015

#monitoringsucks#monitoringsucks● John Vincent (@lusis), june 2011John Vincent (@lusis), june 2011

● A sub #devops movement A sub #devops movement

● https://github.com/monitoringsucks/https://github.com/monitoringsucks/

Page 8: Open Source Monitoring in 2015

Why #monitoringsucksWhy #monitoringsucks● Manual config (gui)Manual config (gui)

● Not in sync with realityNot in sync with reality

● Hosts onlyHosts only

● Services sometimesServices sometimes

● Aplication neverAplication never

● Chaos or out of sync with realityChaos or out of sync with reality

● Alert FatigueAlert Fatigue

Page 9: Open Source Monitoring in 2015

Let's forget aboutLet's forget about● Tools with no (stable) APITools with no (stable) API

● Tools with strong focus on GUITools with strong focus on GUI

● Unless you are an SME with < 100 nodesUnless you are an SME with < 100 nodes

● Zenoss, Hyperic, GroundWork, ....Zenoss, Hyperic, GroundWork, ....

● P.S. : don't even mention proprietary software to meP.S. : don't even mention proprietary software to me

Page 10: Open Source Monitoring in 2015

What we wantWhat we want

● Small , well suited componentsSmall , well suited components

• CollectCollect

• Transport / MangleTransport / Mangle

• StoreStore

• Analyse Analyse

• Act / Alert Act / Alert

• VisualizeVisualize

Page 11: Open Source Monitoring in 2015

#monitoringlove#monitoringlove•

• Ulf Mansson #devopsdays Rome 2011 Ulf Mansson #devopsdays Rome 2011

• A new era of toolingA new era of tooling

• #monitoringlove hacksessions @inuits#monitoringlove hacksessions @inuits

• #monitorama#monitorama

Page 12: Open Source Monitoring in 2015
Page 13: Open Source Monitoring in 2015
Page 14: Open Source Monitoring in 2015
Page 15: Open Source Monitoring in 2015

IcingaIcinga• 2009 Fork2009 Fork

• I consider Nagios deadI consider Nagios dead

• Vibrant Community (or they stalk me)Vibrant Community (or they stalk me)

• Throw great parties in NurnbergThrow great parties in Nurnberg

• Nobody can pronounce it anyhowNobody can pronounce it anyhow

• https://github.com/Inuits/puppet-icinga/https://github.com/Inuits/puppet-icinga/

Page 16: Open Source Monitoring in 2015

AutomationAutomation

Page 17: Open Source Monitoring in 2015

#monitoringlove#monitoringloveBut the love was about :But the love was about :

Page 18: Open Source Monitoring in 2015

SensuSensu● Awesome for non static Awesome for non static

environmentsenvironments

● Scaling a clustered RabbitMQ ?Scaling a clustered RabbitMQ ?

● This is Europe, U no do cloudThis is Europe, U no do cloud

Page 19: Open Source Monitoring in 2015

Automation of Automation of #monitoring #monitoring brought back brought back

the the #love#love

Page 20: Open Source Monitoring in 2015

Monitoring a Monitoring a serviceservice

vs vs

Monitoring a Monitoring a ServiceService

Page 21: Open Source Monitoring in 2015

definition of done:definition of done:

monitored and in productionmonitored and in production

Page 22: Open Source Monitoring in 2015

A software project is not done A software project is not done untill your last end user is deaduntill your last end user is dead

Page 23: Open Source Monitoring in 2015

Culture, Culture,

Automation,Automation,

Measurement :Measurement :

measure all the thingsmeasure all the thingsSharingSharing

Page 24: Open Source Monitoring in 2015

Deploy StatisticsDeploy Statistics● Time To DeployTime To Deploy

● Deploy Deploy FrequencyFrequency

● Lifecycle Lifecycle frequencyfrequency

● Map to other Map to other metrics metrics

Page 25: Open Source Monitoring in 2015

CollectD all the metrics, CollectD all the metrics,

at high intervalsat high intervals

Page 26: Open Source Monitoring in 2015

Oldschool graphiteOldschool graphite

Page 27: Open Source Monitoring in 2015

Self ServiceSelf ServiceGdash based pipelinesGdash based pipelines

Puppetized Templates (wip)Puppetized Templates (wip)

Page 28: Open Source Monitoring in 2015

GdashGdash

Page 29: Open Source Monitoring in 2015

GrafanaGrafana

Page 30: Open Source Monitoring in 2015

Graphite++Graphite++● Dashboards Dashboards

• GrafanaGrafana

● Engines : Engines :

• InfluxDBInfluxDB

• CyaniteCyanite

Page 31: Open Source Monitoring in 2015

Triggers on GraphsTriggers on Graphs● Export Java MetricsExport Java Metrics

● JMXTransJMXTrans

● Export JMXConfigsExport JMXConfigs

● Configure NRPE CheckConfigure NRPE Check

● Export NagiosCheckExport NagiosCheck

● Collect JMX Exports on Collect JMX Exports on JMXTransNodeJMXTransNode

● Graph EmGraph Em

Collect Icinga Configs Collect Icinga Configs on Icingaon Icinga

Page 32: Open Source Monitoring in 2015

Aggregation Aggregation ● Alert on streamsAlert on streams

● Alert on aggregated metricsAlert on aggregated metrics

Page 33: Open Source Monitoring in 2015
Page 34: Open Source Monitoring in 2015
Page 35: Open Source Monitoring in 2015

RiemannRiemann● I still don't get it ?I still don't get it ?

● Distributed TopDistributed Top

● Do you like Clojure ?Do you like Clojure ?

● Riemann Health plugin ?Riemann Health plugin ?

● s/riemann-health/collectd/g;s/riemann-health/collectd/g;

● Output to graphiteOutput to graphite

Page 36: Open Source Monitoring in 2015

Graphs to KnowledgeGraphs to Knowledge

SkylineSkyline

• OculusOculus

• Creating Information out of this data Creating Information out of this data

• Big dataBig data

• Machine LearningMachine Learning

Page 37: Open Source Monitoring in 2015

But I have log files..But I have log files..

Page 38: Open Source Monitoring in 2015
Page 39: Open Source Monitoring in 2015
Page 40: Open Source Monitoring in 2015
Page 41: Open Source Monitoring in 2015

Logs and MetricsLogs and Metrics● Graylog2Graylog2

● ELSA (Enterprise Log Search and ELSA (Enterprise Log Search and Archive) Archive)

● ELK StackELK Stack

Page 42: Open Source Monitoring in 2015

● Collect from Collect from anywhereanywhere

● FilterFilter

● Send anywhereSend anywhere

● QueingQueing

Page 43: Open Source Monitoring in 2015
Page 44: Open Source Monitoring in 2015

APMAPMBut what about my apps ?But what about my apps ?

Half the world cheers about SAAS Half the world cheers about SAAS tools :(tools :(

Page 45: Open Source Monitoring in 2015

PacketbeatPacketbeat● Traffic Flow Traffic Flow

through networkthrough network

● Transactions Transactions causing errroscausing errros

● SQL per HTTPSQL per HTTP

● API call usageAPI call usage

Page 46: Open Source Monitoring in 2015

PacketBeatPacketBeat

Page 47: Open Source Monitoring in 2015

So your DC failsSo your DC fails

Whom to alert when ?Whom to alert when ?

Page 48: Open Source Monitoring in 2015
Page 49: Open Source Monitoring in 2015

'New' kids on the block'New' kids on the block● FlapjackFlapjack

flapjack.ioflapjack.io

monitoring notification routing + monitoring notification routing + event processing systemevent processing system

● OpenDuty OpenDuty

github.com/szechuen/OpenDutygithub.com/szechuen/OpenDuty

Duty managementDuty management

Page 50: Open Source Monitoring in 2015

My Alerting StrategyMy Alerting Strategy

Is still in beta Is still in beta

Page 51: Open Source Monitoring in 2015

And back :(And back :(

In 2014 I`m still running the same check forIn 2014 I`m still running the same check for

- service registration (consul)- service registration (consul)

- high availability (pacemaker/corosync)- high availability (pacemaker/corosync)

- monitoring (icinga)- monitoring (icinga)

Page 52: Open Source Monitoring in 2015

But I love where Monitoring is heading But I love where Monitoring is heading

We have much less false positivesWe have much less false positives

And we have a Maintainable Monitoring InfraAnd we have a Maintainable Monitoring Infra

KindaKinda

Page 53: Open Source Monitoring in 2015

[email protected]@inuits.eu

Further ReadingFurther Reading@krisbuytaert @krisbuytaert http://www.krisbuytaert.be/blog/http://www.krisbuytaert.be/blog/http://www.inuits.eu/http://www.inuits.eu/

InuitsInuits

Duboistraat 50Duboistraat 502060 Antwerpen2060 AntwerpenBelgiumBelgium891.514.231891.514.231

+32 475 961221+32 475 961221


Recommended