Sending metrics from Puppet to Librato
Contents
I’ve just released a Puppet report processor for sending metrics to Librato. The report sends each of the metrics to Librato, for example creating:
puppet.changed_resources
puppet.config_retrieval_time
...
You can find the code on GitHub and a module on the Forge.
There are some simple installation instructions:
-
Install the
librato-metrics
gem on your Puppet master$ sudo gem install librato-metrics
-
Install puppet-librato as a module in your Puppet master’s module path.
-
Update the
librato_email
andlibrato_key
variables in thelibrato.yaml
file with your Librato account email and API key and copy the file to/etc/puppet/
. An example file is included. -
Enable pluginsync and reports on your master and clients in
puppet.conf
[master] report = true reports = librato pluginsync = true [agent] report = true pluginsync = true
-
Run the Puppet client and sync the report as a plugin.