SlideShare a Scribd company logo
Monitoring in an IAC AgeMonitoring in an IAC Age
PuppetConf 2013
Kris Buytaert
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 SourceChief 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
● Some books, some papers, some blogsSome books, some papers, some blogs
● Evangelizing devopsEvangelizing devops
devops = clamsdevops = clams
● CultureCulture
● (Lean)(Lean)
● Automate all the things ...Automate all the things ...
•
Build AutomationBuild Automation
•
Test AutomationTest Automation
•
IACIAC
● Monitoring , Metrics ...Monitoring , Metrics ...
● SharingSharing
Monitoring is usually anMonitoring is usually an
aftertoughtaftertought
ENOBUDGET, ENOTIMEENOBUDGET, ENOTIME
#monitoringsucks#monitoringsucks
● John Vincent (@lusis)John Vincent (@lusis)
● A sub movementA sub movement
● https://github.com/monitoringsucks/https://github.com/monitoringsucks/
#monitoringlove#monitoringlove
•
#monitoringlove hacksessions#monitoringlove hacksessions
•
#monitorama#monitorama
Infrastructure as CodeInfrastructure as Code
● Model our infrastructureModel our infrastructure
● A fast reproducable platformA fast reproducable platform
● Disaster discovery for “free”Disaster discovery for “free”
For years we've tolerated humans to to makeFor years we've tolerated humans to to make
structural manual changes to the infrastructurestructural manual changes to the infrastructure
our critical applications are running on.our critical applications are running on.
Whilst at the same time demanding those criticalWhilst at the same time demanding those critical
applications to go trough rigid test scenarios.applications to go trough rigid test scenarios.
Who let this happen ?Who let this happen ?
Infrastructure as CodeInfrastructure as Code
● Code = CodeCode = Code
● Version ControlVersion Control
● Quality ChecksQuality Checks
● TestingTesting
● Continuous IntegrationContinuous Integration
● Continous DeliveryContinous Delivery
Infrastructure as CodeInfrastructure as Code
● Core InfrastructureCore Infrastructure
● Middleware deployment andMiddleware deployment and
integrationintegration
● Automated continuous applicationAutomated continuous application
deploymentdeployment
● Integrated Security enforcementIntegrated Security enforcement
● Host, Service and ApplicationHost, Service and Application
Monitoring configuredMonitoring configured
Where to monitor ?Where to monitor ?
● DevDev
● AcceptanceAcceptance
● ProdProd
Why #monitoringsucksWhy #monitoringsucks
● Manual config (gui)Manual config (gui)
● Not in sync with realityNot in sync with reality
● Hosts onlyHosts only
● Services sometimesServices sometimes
● Appliccation neverAppliccation never
● ChaosChaos
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
● Zabixx, Zenoss, Hyperic, GroundWork, ....Zabixx, Zenoss, Hyperic, GroundWork, ....
What we wantWhat we want
● Small , wel suited componentsSmall , wel suited components
•
CollectCollect
•
Transport / MangleTransport / Mangle
•
Analyse / ActAnalyse / Act
•
VisualizeVisualize
Monitoring BaselineMonitoring Baseline
● Deploy a host,Deploy a host,
● Add it to the monitoringAdd it to the monitoring
● Add collection toolsAdd collection tools
● Add check definitionsAdd check definitions
● Update the monitoring tool configUpdate the monitoring tool config
Monitoring in an Infrastructure as Code Age
Configuring a ServiceConfiguring a Service
● PackagePackage
● ConfigConfig
● ServiceService
<- we pray status is correct<- we pray status is correct
Apache Example:Apache Example:
Icinga ?Icinga ?
•
Isn't nagios dead ?Isn't nagios dead ?
•
Vibrant CommunityVibrant Community
•
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/
Stored ConfigsStored Configs
Collection and ExportCollection and Export
Export :Export :
@@resource {@@resource {
... }... }
Collect:Collect:
Resource <<|Resource <<|
query |>>query |>>
Clean out nodes that dissapearClean out nodes that dissapear
puppet node cleanpuppet node clean
Exporting and CollectingExporting and Collecting
Monitoring a VhostMonitoring a Vhost
●
AutodetectionAutodetection
●
MultiplexingMultiplexing
●
Trend ForecastingTrend Forecasting
I love CheckMKI love CheckMK
•
Autodetection ?Autodetection ?
•
Service,Service,
•
FunctionalitiesFunctionalities
•
eg. vhosts etceg. vhosts etc
•
Single Source of TruthSingle Source of Truth
I hate CheckMKI hate CheckMK
Monitoring a service vs Monitoring a serviceMonitoring a service vs Monitoring a service
Definition of Done:Definition of Done:
monitored and in productionmonitored and in production
A software project is not doneA software project is not done
untill your last end user is deaduntill your last end user is dead
Exit DODExit DOD
Measure Application UsageMeasure Application Usage
But , err how do I ?But , err how do I ?
Culture,Culture,
Automation,Automation,
Measurement :Measurement :
measure all the thingsmeasure all the things
SharingSharing
Deploy StatisticsDeploy Statistics
● Time To DeployTime To Deploy
● DeployDeploy
FrequencyFrequency
● LifecycleLifecycle
frequencyfrequency
● Map toMap to
Application MetricsApplication Metrics
● Number of current usersNumber of current users
● Number of sign upsNumber of sign ups
● Response timesResponse times
● TroughputTroughput
● XYZ UsageXYZ Usage
● # restarts# restarts
● Insert your specific valuable stuffInsert your specific valuable stuff
Graphite APIGraphite API
Triggers on GraphsTriggers on Graphs
● Export Java MetricsExport Java Metrics
● JMXTransJMXTrans
● Export JMXConfigsExport JMXConfigs
● Configure NRPEConfigure NRPE
CheckCheck
● Export NagiosCheckExport NagiosCheck
● Collect JMX ExportsCollect JMX Exports
on JMXTransNodeon JMXTransNode
● Graph EmGraph Em
Collect NagiosCollect Nagios
Configs on NagiosConfigs on Nagios
ServerServer
Triggers on GraphsTriggers on Graphs
Triggers on GraphsTriggers on Graphs
Self ServiceSelf Service
Gdash based pipelinesGdash based pipelines
Puppetized Templates (wip)Puppetized Templates (wip)
Up Next:Up Next:
•
Creating Information out of this dataCreating Information out of this data
•
Big dataBig data
•
Machine LearningMachine Learning
HomeworkHomework
SkylineSkyline
OculusOculus
DuskDusk
RiemannRiemann
EsperEsper
Puppetdb externalPuppetdb external
NaginatorNaginator
ContactContact
Kris.Buytaert@inuits.euKris.Buytaert@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 50
2060 Antwerpen2060 Antwerpen
BelgiumBelgium
891.514.231891.514.231
+32 475 961221+32 475 961221

More Related Content

PDF
Monitoring in an Infrastructure as Code Age
PDF
Monitoring Drupal In an Infrastructure as Code Age
ODP
Nightmare on Docker street
ODP
On the Importance of Infrastructure as Code
ODP
The influence of "Distributed platforms" on #devops
ODP
Continous Delivery of your Infrastructure
ODP
Another 7 tools for your #devops stack
PDF
No, we can't do continuous delivery
Monitoring in an Infrastructure as Code Age
Monitoring Drupal In an Infrastructure as Code Age
Nightmare on Docker street
On the Importance of Infrastructure as Code
The influence of "Distributed platforms" on #devops
Continous Delivery of your Infrastructure
Another 7 tools for your #devops stack
No, we can't do continuous delivery

What's hot (20)

ODP
From MonitoringSucks to Monitoring Love , 2016 Edition
PDF
Devops is a Security Requirement
PDF
Dod is not done
PDF
Open Source Monitoring in 2015
ODP
Adopting Devops , Stories from the trenches
PDF
Looking back at 7 years of #devopsdays
PDF
Groovy there's a docker in my application pipeline
ODP
devops is a reorg
ODP
Repositories as Code
PDF
Devops, The future is here, it's just not evenly distributed
ODP
Looking back at 6.5 years of #devopsdays
ODP
Is there a future for devops ?
PDF
Dev secops opsec, devsec, devops ?
PDF
Pipeline as Code
ODP
From devoops to devops
ODP
Deploying your SaaS stack OnPrem
PDF
Moby is killing your devops efforts
PDF
Devops 101 QA with Kris Buytaert
PDF
Closing the gap between Distros(devs) and their Users(ops)
ODP
Automating MySQL operations with Puppet
From MonitoringSucks to Monitoring Love , 2016 Edition
Devops is a Security Requirement
Dod is not done
Open Source Monitoring in 2015
Adopting Devops , Stories from the trenches
Looking back at 7 years of #devopsdays
Groovy there's a docker in my application pipeline
devops is a reorg
Repositories as Code
Devops, The future is here, it's just not evenly distributed
Looking back at 6.5 years of #devopsdays
Is there a future for devops ?
Dev secops opsec, devsec, devops ?
Pipeline as Code
From devoops to devops
Deploying your SaaS stack OnPrem
Moby is killing your devops efforts
Devops 101 QA with Kris Buytaert
Closing the gap between Distros(devs) and their Users(ops)
Automating MySQL operations with Puppet
Ad

Viewers also liked (20)

PDF
Mapping, Interlinking and Exposing MusicBrainz as Linked Data
PPTX
Using puppet, foreman and git to develop and operate a large scale internet s...
PDF
4 Prerequisites for DevOps Success
PDF
Continuously-Integrated Puppet in a Dynamic Environment
PDF
JSON and the APInauts
PDF
Better encryption & security with MariaDB 10.1 & MySQL 5.7
PDF
PPT
Ruby application based on http
PDF
Dlsecyx pgroammr (Dyslexic Programmer - cool stuff for scaling)
PDF
vSphere APIs for performance monitoring
PDF
Infrastructure as code might be literally impossible
PDF
PostgreSQL Materialized Views with Active Record
PDF
The Complete MariaDB Server Tutorial - Percona Live 2015
PDF
Redis — The AK-47 of Post-relational Databases
PDF
Taking Control of Chaos with Docker and Puppet
PDF
Detecting headless browsers
PDF
How to make keynote like presentation with markdown
PDF
MAAS High Availability Overview
PDF
Icinga Camp San Diego 2016 - Icinga Director
PPTX
Presentation about Icinga at Kiratech DevOps Day in Verona
Mapping, Interlinking and Exposing MusicBrainz as Linked Data
Using puppet, foreman and git to develop and operate a large scale internet s...
4 Prerequisites for DevOps Success
Continuously-Integrated Puppet in a Dynamic Environment
JSON and the APInauts
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Ruby application based on http
Dlsecyx pgroammr (Dyslexic Programmer - cool stuff for scaling)
vSphere APIs for performance monitoring
Infrastructure as code might be literally impossible
PostgreSQL Materialized Views with Active Record
The Complete MariaDB Server Tutorial - Percona Live 2015
Redis — The AK-47 of Post-relational Databases
Taking Control of Chaos with Docker and Puppet
Detecting headless browsers
How to make keynote like presentation with markdown
MAAS High Availability Overview
Icinga Camp San Diego 2016 - Icinga Director
Presentation about Icinga at Kiratech DevOps Day in Verona
Ad

Similar to Monitoring in an Infrastructure as Code Age (20)

PDF
Open Source Monitoring in 2019
ODP
OSDC 2016 - Another 7 Tools for your #devops Stack by Kris Buytaert
ODP
Icinga Camp Amsterdam - Infrastructure as Code
PDF
Continuous Infrastructure First
PDF
Pipeline as code for your infrastructure as Code
ODP
Continuous Delivery of (y)our infrastructure.
PDF
Run stuff, Deploy Stuff
ODP
From Config Management Sucks to #cfgmgmtlove
PDF
Run stuff, Deploy Stuff, Jax London 2017 Edition
PDF
Devops is dead, Long Live Devops
ODP
When traditional configuration management is to slow for your needs
PDF
OSMC 2014: From monitoringsucks to monitoringlove (and back) | Kris Buytaert
PDF
Its not about the tooling
PDF
OSMC 2014 | From monitoringsucks to monitoringlove, and back by Kris Buytaert
PDF
DevOps Days Kyiv 2019 -- continuous Infrafirstructure First //Kris buytaert
PDF
Continuous Infrastructure First Ignite Edition
PDF
Development Doesn't Stop at the Last Commit
ODP
Devops is not about Tooling
PDF
OSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLove
PDF
Can we fix dev-oops ?
Open Source Monitoring in 2019
OSDC 2016 - Another 7 Tools for your #devops Stack by Kris Buytaert
Icinga Camp Amsterdam - Infrastructure as Code
Continuous Infrastructure First
Pipeline as code for your infrastructure as Code
Continuous Delivery of (y)our infrastructure.
Run stuff, Deploy Stuff
From Config Management Sucks to #cfgmgmtlove
Run stuff, Deploy Stuff, Jax London 2017 Edition
Devops is dead, Long Live Devops
When traditional configuration management is to slow for your needs
OSMC 2014: From monitoringsucks to monitoringlove (and back) | Kris Buytaert
Its not about the tooling
OSMC 2014 | From monitoringsucks to monitoringlove, and back by Kris Buytaert
DevOps Days Kyiv 2019 -- continuous Infrafirstructure First //Kris buytaert
Continuous Infrastructure First Ignite Edition
Development Doesn't Stop at the Last Commit
Devops is not about Tooling
OSDC 2015: Kris Buytaert | From ConfigManagementSucks to ConfigManagementLove
Can we fix dev-oops ?

More from Puppet (20)

PPTX
Puppet Community Day: Planning the Future Together
PPTX
The Evolution of Puppet: Key Changes and Modernization Tips
PPTX
Can You Help Me Upgrade to Puppet 8? Tips, Tools & Best Practices for Your Up...
PPTX
Bolt Dynamic Inventory: Making Puppet Easier
PPTX
Customizing Reporting with the Puppet Report Processor
PPTX
Puppet at ConfigMgmtCamp 2025 Sponsor Deck
PPTX
The State of Puppet in 2025: A Presentation from Developer Relations Lead Dav...
PPTX
Let Red be Red and Green be Green: The Automated Workflow Restarter in GitHub...
PDF
Puppet camp2021 testing modules and controlrepo
PPTX
Puppetcamp r10kyaml
PDF
2021 04-15 operational verification (with notes)
PPTX
Puppet camp vscode
PDF
Modules of the twenties
PDF
Applying Roles and Profiles method to compliance code
PPTX
KGI compliance as-code approach
PDF
Enforce compliance policy with model-driven automation
PDF
Keynote: Puppet camp compliance
PPTX
Automating it management with Puppet + ServiceNow
PPTX
Puppet: The best way to harden Windows
PPTX
Simplified Patch Management with Puppet - Oct. 2020
Puppet Community Day: Planning the Future Together
The Evolution of Puppet: Key Changes and Modernization Tips
Can You Help Me Upgrade to Puppet 8? Tips, Tools & Best Practices for Your Up...
Bolt Dynamic Inventory: Making Puppet Easier
Customizing Reporting with the Puppet Report Processor
Puppet at ConfigMgmtCamp 2025 Sponsor Deck
The State of Puppet in 2025: A Presentation from Developer Relations Lead Dav...
Let Red be Red and Green be Green: The Automated Workflow Restarter in GitHub...
Puppet camp2021 testing modules and controlrepo
Puppetcamp r10kyaml
2021 04-15 operational verification (with notes)
Puppet camp vscode
Modules of the twenties
Applying Roles and Profiles method to compliance code
KGI compliance as-code approach
Enforce compliance policy with model-driven automation
Keynote: Puppet camp compliance
Automating it management with Puppet + ServiceNow
Puppet: The best way to harden Windows
Simplified Patch Management with Puppet - Oct. 2020

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Spectroscopy.pptx food analysis technology
PDF
Approach and Philosophy of On baking technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
Programs and apps: productivity, graphics, security and other tools
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectroscopy.pptx food analysis technology
Approach and Philosophy of On baking technology
Big Data Technologies - Introduction.pptx
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.

Monitoring in an Infrastructure as Code Age