Forge Home

send_collectd_metrics

A puppet module that configures write_http plugin of collectd to send the system metrics to SignalFx

9,891 downloads

8,172 latest version

3.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

  • 0.1.9 (latest)
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.5
  • 0.1.4
  • 0.1.3
  • 0.1.2
  • 0.1.1
released Sep 9th 2015
This version is compatible with:
  • Puppet Enterprise >= 3.2.0
  • Puppet >= 3.2.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'udaysagar2177-send_collectd_metrics', '0.1.9'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add udaysagar2177-send_collectd_metrics
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install udaysagar2177-send_collectd_metrics --version 0.1.9

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

udaysagar2177/send_collectd_metrics — version 0.1.9 Sep 9th 2015

puppet_send_collectd_metrics

Table of Contents

  1. Overview
  2. Setup - The basics of getting started with send_collectd_metrics
  3. Usage - Configuration options and additional functionality

Overview

The send_collectd_metrics module configures the write_http plugin of collectd to send your system metrics to SignalFx, a monitoring platform.

Setup

Install the latest release of send_collectd_metrics module from SignalFx using:

puppet module install signalfx/send_collectd_metrics

What send_collectd_metrics affects

The send_collectd_metrics module configures only the write_http plugin. It does not configure any other plugins.

It is recommended to include the install_collectd and configure_collectd_plugins modules before this module if you don't have any existing collectd on your systems to get the latest collectd from SignalFx repositories.

Usage

The send_collectd_metrics module accepts few parameters to configure the write_http plugin:

class {'send_collectd_metrics':
    api_token => "<YOUR-API-TOKEN>",
    dimension_list => {"key" => "value"},
    set_aws_instanceId => false,
    signalfx_url => "https://ingest.signalfx.com/v1/collectd"
}
  • In order to send data, insert your api-token.
  • You can set custom dimensions on all of the metrics being sent by the collectd to SignalFx. This can be done by entering your custom dimensions into the dimension_list hash map.
    For example: If one of your servers is running kafka, you can attach a custom dimension into the hash map as:
    dimension_list => {"serverType" => "kafka"}
  • You can attach AWS instance id (this module pulls it automatically) by setting the set_aws_instanceId as true
  • You can also configure the target url if you choose to use a proxy to send metrics to SignalFx.