Forge Home


Manage installation of NIXStats agent.


6,513 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 3.0.0 (latest)
  • 2.0.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Sep 1st 2017
This version is compatible with:
  • Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.0.0 <6.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'CraigWatson1987-nixstats', '3.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add CraigWatson1987-nixstats
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install CraigWatson1987-nixstats --version 3.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



CraigWatson1987/nixstats — version 3.0.0 Sep 1st 2017


Build Status Puppet Forge

Table of Contents

  1. Overview - What is the puppet-nixstats module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with puppet-nixstats
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module


This module manages the installation and configuration of the NIXStats server monitoring agent, which currently in BETA.

Puppet 3 Support

Please note that the master branch of this module does not support Puppet 3!

On 31st December 2016, support for Puppet 3.x was withdrawn. As such, this module no longer supports Puppet 3, and is actively being migrated to Puppet 4 syntax.

If you require Puppet 3 compatibility, please use version 1.0.4 from the Puppet Forge, or the puppet3 branch in Git.

Module Description

A rough Puppetisation of the install scripts available via, this module creates the directory structure, and all necessary files for the NIXStats agent to run.


The simplest way to use the module is to pass your user ID to the module. The module will then configure the directories and packages necessary to run the NIXstats agent.

Your user ID is a hexadecimal string displayed at the end of the command you are given to manually install the agent.

class { 'nixstats':
  user_id => '343249dab923d2389e9a1b',

To stop the module from installing any supporting packages (e.g. curl), just set the manage_packages parameter to false.




  • Cleans up the old version of the install script


  • Creates the directory structure and deploys the user/server IDs


  • Creates a system user and group for the agent to run as.


  • Installs supporting system packages, followed by the nixstatsagent package via pip


  • O/S-specific and module configuration (e.g. paths to binaries and a boolean variable to control file deployment)


Supported Operating Systems

  • Ubuntu/Debian
  • CentOS/RedHat (untested)
  • Arch Linux (untested)


  • Copyright (C) 2013 to 2015 Craig Watson -
  • Distributed under the terms of the Apache License v2.0 - see LICENSE file for details.
  • Further contributions and testing reports are extremely welcome - please submit a pull request or issue on GitHub