Professional Documents
Culture Documents
puppetconf 2014
Alexis Lê-Quôc @alq
Alexis Lê-Quôc, @alq
CTO at Datadog
Poll: Monitoring makes me…
happy cry
proud want to hide
Puppet brings Automation to
Systems Management
Improve
Monitoring
the way Puppet has
improved
Systems Management
“The good old days”
* on a per-machine basis
“Puppet brings immunity of configuration to change in
infrastructure”
http://www.cs.berkeley.edu/~brewer/cs262/SystemR.pdf
SQL
• 1974 IBM introduces System R and its Structured Query Language
• Using facts and predicates, a.k.a. metadata to figure out what data
to get
SQL query
puppet apply
–MCollective overview
MCollective
Monitoring query
Facts are!
Hosts are just places where facts occur.
The proof is in the pudding…
Hosts at the center of the universe
a.k.a. the Wrong Way
“Its fairly straightforward, so hopefully you find things easy to
understand…”
• No!
–puppet-nagios author
Facts at the center of the universe
a.k.a. the Right Way
"De Revolutionibus manuscript p9b" by Nicolas Copernicus - www.bj.uj.edu.pl. Licensed under Public domain via Wikimedia Commons - http://commons.wikimedia.org/wiki/File:De_Revolutionibus_manuscript_p9b.jpg#mediaviewer/
File:De_Revolutionibus_manuscript_p9b.jpga
Earlier Examples
class postgres::monitoring::sensu {
sensu::subscription { 'postgres': }
}
class {
‘datadog_agent’:
api_key => …,
tags => [$environment],
fact_to_tags => [“datacenter”]
}
include datadog_agent::integrations::nginx
In Datadog (metrics)
• Monitoring using a fact-based query