send_collectd_metrics
A puppet module that configures write_http plugin of collectd to send the system metrics to SignalFx
Version information
released Sep 9th 2015
This version is compatible with:
- Puppet Enterprise >= 3.2.0
- Puppet >= 3.2.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'udaysagar2177-send_collectd_metrics', '0.1.9'
Learn more about managing modules with a PuppetfileDocumentation
udaysagar2177/send_collectd_metrics — version 0.1.9 Sep 9th 2015
puppet_send_collectd_metrics
Table of Contents
- Overview
- Setup - The basics of getting started with send_collectd_metrics
- 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.
Dependencies
- puppet/collectd (>= 4.0.0)
- puppetlabs/stdlib (>= 3.2.0)
- puppetlabs/concat (>= 1.0.4)