Forge Home

collectd

Collectd Module for Puppet

227,426 downloads

50,432 latest version

2.9 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

  • 4.0.1 (latest)
  • 4.0.0
  • 3.4.0
  • 3.3.0
  • 3.2.0
  • 3.1.0
  • 3.0.1
  • 3.0.0
  • 2.1.0
  • 2.0.1
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.1.0
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Feb 6th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'pdxcat-collectd', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pdxcat-collectd
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pdxcat-collectd --version 0.0.1

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.

Download

Documentation

pdxcat/collectd — version 0.0.1 Feb 6th 2013

Collectd module for Puppet

Description

Puppet module for configuring collectd and plugins.

Supported Platforms

  • Debian
  • Solaris
  • Redhat

Usage

The simplest use case is to use all of the configurations in the default collectd.conf file shipped with collectd. This can be done by simply including the class:

include collectd

Collectd is most useful when configured with customized plugins. This is accomplished by removing the default collectd.conf file and replacing it with a file that includes all alternative configurations. Configure a node with the following class declaration:

class { '::collectd': purge => true, recurse => true, purge_config => true, }

Set purge, recurse, and purge_config to true in order to override the default configurations shipped in collectd.conf and use custom configurations stored in conf.d. From here you can set up additional plugins as shown below.

Simple Plugins

Example of how to load plugins with no additional configuration:

collectd::plugin { 'battery': }

where 'battery' is the name of the plugin.

Additional Plugins

Some non-default plugins are shipped with this module. Configure these plugins with, for example

class { 'collectd::plugin::df': mountpoints => ['/u'], fstypes => ['nfs','tmpfs','autofs','gpfs','proc','devpts'], ignoreselected => 'true', }

Parameters will vary widely between plugins. See the collectd documentation for each plugin for configurable attributes.