Sending metrics from Puppet to Librato
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_resourcespuppet.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-metricsgem 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_emailandlibrato_keyvariables in thelibrato.yamlfile 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 = truereports = libratopluginsync = true[agent]report = truepluginsync = true -
Run the Puppet client and sync the report as a plugin.