Puppet and StatHat
I’ve just released a Puppet report processor for sending metrics to StatHat. The report sends each of the metrics to StatHat, for example creating:
puppet.fqdn.changed_resourcespuppet.fqdn.config_retrieval_time...
You can find the code on GitHub and a module on the Forge.
There are some simple installation instructions:
-
Install the
stathat
gem on your Puppet master$ sudo gem install stathat -
Install puppet-stathat as a module in your Puppet master’s module path.
-
Update the
stathat_email
variable in thestathat.yaml
file with your StatHat account email 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 = stathatpluginsync = true[agent]report = truepluginsync = true -
Run the Puppet client and sync the report as a plugin.