skip to content
james@kartar:~/posts/puppet-and-sematext

Puppet and Sematext

Releasing a Puppet report processor that ships each metric generated during a Puppet run to Sematext using the sematext-metrics gem

1 min read

# written 13 years ago; commands, versions and links may have changed

I’ve just released a Puppet report processor for sending metrics to Sematext. The report processor sends each of the metrics generated by a Puppet run to Sematext.

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

There are some simple installation instructions:

  1. Install the sematext-metrics gem on your Puppet master

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

  3. Update the token variable in the sematext.yaml file with your Sematext application token 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 = sematext
    pluginsync = true
    [agent]
    report = true
    pluginsync = true
  5. Run the Puppet client and sync the report as a plugin.

$ whoami

I'm James Turnbull. I lead engineering teams, build products, and write on technology. More about me.