Git Product home page Git Product logo

puppet_configure_collectd_plugins's Introduction

puppet_configure_collectd_plugins

This module has been deprecated! Find a new and up-to-date module at https://forge.puppet.com/signalfx/collectd

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with configure_collectd_plugins
  4. Usage - Configuration options and additional functionality

Overview

The configure_collectd_plugins module enables and configures a set of collectd plugins that work well with SignalFx.

This is one of three modules provided by SignalFx for managing collectd. See Module Description.

Module Description

Collectd is a system statistics collection daemon. This module configures collectd plugins to collect useful and interesting metrics about your system.

This is one of three modules provided by SignalFx for managing collectd.

Module name Description
puppet_install_collectd Install and stay up-to-date with SignalFx's latest build of collectd.
configure_collectd_plugins Enable and configure a set of collectd plugins that work well with SignalFx.
send_collectd_metrics Configure collectd to send metrics to SignalFx.

Setup

Install the latest release of configure_collectd_plugins module from SignalFx using:

puppet module install signalfx/configure_collectd_plugins

What configure_collectd_plugins affects

The configure_collectd_plugins module configures an existing instance of collectd to collect useful and interesting system metrics. You must have collectd installed in order to use this module.

SignalFx provides additional modules to install collectd and send metrics to SignalFx. See Module Description.

Usage

The configure_collectd_plugins module accepts parameters that enable or disable each of the plugins that it configures. The default value for all parameters is 'present'. To disable data collection by a plugin, change the value of its named parameter to 'absent'.

class { 'configure_collectd_plugins':
    log_file => present,
    aggregation => present,
    chain => present,
    cpu => present,
    cpufreq => present,
    df => present,
    load => present,
    memory => present,
    uptime => present,
    disk => present,
    interface => present,
    protocols => present,
    vmem => present
}

You can also use this module to install collectd plugins to monitor third-party software. To install a plugin, add its configuration snippet to your manifest file, and replace default configuration values with values that make sense for your environment as necessary.

Apache

class { 'configure_collectd_plugins::plugins::apache':
  instanceName  => 'myapacheinstance',
  url           => 'http://localhost/mod_status?auto'
}
Parameter Description
instanceName Appears as the dimension plugin_instance in SignalFx.
url The URL at which the plugin can read the output of Apache's mod_status module.

Cassandra

class { 'configure_collectd_plugins::plugins::cassandra':
  hostname => $::hostname
}
Parameter Description
hostname The name of the host running Cassandra.

Docker

include 'configure_collectd_plugins::plugins::docker'

Elasticsearch

class { 'configure_collectd_plugins::plugins::elasticsearch':
  clustername         => 'elasticsearch',
  indexes             => '_all'
}
Parameter Description
clustername Appears as the dimension plugin_instance in SignalFx.
indexes Indexes to monitor using this plugin. All indexes are monitored by default.

Kafka version 0.8.2.1 and up

class { 'configure_collectd_plugins::plugins::kafka_82':
  hostname => $::hostname
}
Parameter Description
hostname The name of the host running Kafka.

Memcached

class { 'configure_collectd_plugins::plugins::memcached':
  hostname => '127.0.0.1',
  port     => '11211'
}
Parameter Description
hostname Name of the host on which memcached is running.
port Port on which memcached is running.

MySQL

class { 'configure_collectd_plugins::plugins::mysql':
  hostname,
  user,
  password,
  database
}
Parameter Description
hostname Name of the host on which MySQL is running.
user Username that collectd can use to connect to MySQL.
password Password that collectd can use to connect to MySQL.
database Name of the MySQL database to monitor.

Nginx

class { 'configure_collectd_plugins::plugins::nginx':
  url => 'http://localhost:80/nginx_status'
}
Parameter Description
url The URL at which collectd can read the output of nginx's stub status module.

PostgreSQL

class { 'configure_collectd_plugins::plugins::postgresql':
  hostname,
  user,
  password
}
Parameter Description
hostname Name of the host on which PostgreSQL is running.
user Username that collectd can use to connect to PostgreSQL.
password Password that collectd can use to connect to PostgreSQL.

Redis Master

class { 'configure_collectd_plugins::plugins::redis_master':
  hostname,
  port
}

Use this configuration for Redis masters.

Parameter Description
hostname Name of the host on which Redis is running.
port Port on which Redis is running.

Redis Slave

class { 'configure_collectd_plugins::plugins::redis_slave':
  hostname,
  port
}

Use this configuration for Redis slaves.

Parameter Description
hostname Name of the host on which Redis is running.
port Port on which Redis is running.

Varnish

class { 'configure_collectd_plugins::plugins::varnish':
  hostname,
  port
}
Parameter Description
hostname Name of the host on which Varnish is running.
port Port on which Varnish is running.

Zookeeper

include 'configure_collectd_plugins::plugins::zookeeper'

puppet_configure_collectd_plugins's People

Contributors

udaysagar2177 avatar cep21 avatar mdubbyap avatar tedoc2000 avatar beccatortell avatar jcsorvasi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.