@KARTAR.NET



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_resources
puppet.fqdn.config_retrieval_time
...

You can find the code on GitHub and a module on the Forge.

There are some simple installation instructions:

  1. Install the stathat gem on your Puppet master

    $ sudo gem install stathat
    
  2. Install puppet-stathat as a module in your Puppet master’s module path.

  3. Update the stathat_email variable in the stathat.yaml file with your StatHat account email and copy the file to /etc/puppet/. An example file is included.

  4. Enable pluginsync and reports on your master and clients in puppet.conf

    [master]
    report = true
    reports = stathat
    pluginsync = true
    [agent]
    report = true
    pluginsync = true
    
  5. Run the Puppet client and sync the report as a plugin.


blog comments powered by Disqus

«« Lessons from self-publishing - Part II »»