Forge Home

collectdwin

Installs collectdwin on Windows Host and is able to configure it.

8,499 downloads

6,306 latest version

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

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Nov 23rd 2017
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'kkzinger-collectdwin', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add kkzinger-collectdwin
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install kkzinger-collectdwin --version 0.1.2

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

kkzinger/collectdwin — version 0.1.2 Nov 23rd 2017

collectdwin

Build Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with collectdwin
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

kkzinger-collectdwin manages the collectdwin service on Windows Platforms. This allows collectd like Performance Monitoring.

The Module is able to add Performance Counters to the collectdwin configuration, and definition of destinations where the metrics should be sent via http-post.

Setup

What collectdwin affects

collectdwin will be installed through chocolatey. If the system has no internet access a local chocolatey mirror has to be provided.

Beginning with collectdwin

Basic deployment of collectdwin on node.

    class { '::collectdwin' :
      collectdwin_version => '0.5.14',
      debug_level         => 'Info',
      service_state       => 'running',
      hostname            => 'app-server.domain.com',
    }

Usage

To add a new destination to metrics the ::collectdwin::httpdestination define has to used.

  ::collectdwin::httpdestination{
    'graphite-flask':
    node_name     => 'graphite-flask-bridge',
    url           => 'https://192.168.1.1:8888/',
    timeout       => '100',
    batch_size    => '30',
    max_idle_time => '600000',
    proxy_enable  => false,
    proxy_url     => '',
    username      => 'john',
    password      => 'securepassword',
  }

To add Performance Counters that should be read from collectdwin the ::collectdwin::percounter define can be used.

  ::collectdwin::perfcounter{
    'cpu_foo':
              category          => 'Processor',
              counter_name      => '% Processor Time',
              instance          => '_Total',
              cd_plugin         => 'cpu',
              cd_plugininstance => 'cpu-average',
              cd_type           => 'cpu',
              cd_typeinstance   => 'processor';
    'mem_foo':
              category          => 'Memory',
              counter_name      => 'Available Bytes',
              instance          => '',
              cd_plugin         => 'memory',
              cd_plugininstance => '',
              cd_type           => 'memory',
              cd_typeinstance   => 'free';
  }

Reference

Classes:

  • collectdwin
  • collectdwin::params
  • collectdwin::install
  • collectdwin::config

Defines:

  • collectdwin::httpdestination
  • collectdwin::perfcounter

Limitations

  • Managment of AMQP Plugin is not implemented
  • Managment of STATSD Plugin is not implemented

Development

Patches are very welcome! Please send your pull requests on github!