GithubHelp home page GithubHelp logo

voxpupuli / puppet-graphite_powershell Goto Github PK

View Code? Open in Web Editor NEW
2.0 52.0 7.0 220 KB

Home Page: https://forge.puppet.com/puppet/graphite_powershell

License: MIT License

Ruby 35.16% Puppet 58.12% HTML 6.72%
puppet windows-puppet-module hacktoberfest

puppet-graphite_powershell's Introduction

Graphite PowerShell module for Puppet

Build Status Code Coverage Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores

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 graphite_powershell
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

Module to send metrics to graphite from windows

Module Description

Installs a windows service that reports system metrics to graphite

Setup

What graphite_powershell affects

  • Powershell file and xml config file
  • windows service

Beginning with graphite_powershell

Install with defaults:

  class { 'graphite_powershell':
    server => 'graphite.mycorp.com'
  }

Install and just send network counters:

  class { 'graphite_powershell':
    server               => 'graphite.mycorp.com',
    performance_counters => [
      '\Network Interface(*)\Bytes Received/sec',
      '\Network Interface(*)\Bytes Sent/sec',
      '\Network Interface(*)\Packets Received Unicast/sec',
      '\Network Interface(*)\Packets Sent Unicast/sec',
      '\Network Interface(*)\Packets Received Non-Unicast/sec',
      '\Network Interface(*)\Packets Sent Non-Unicast/sec',
    ]
  }

Usage

Classes and Defined Types

Class: graphite_powershell

Parameters within graphite_powershell:

server

The graphite server in which to send the configured metrics

install_url

The url from which to download the graphite powershell script

install_dir

The location in which to install the graphite powershell script

port

The port that the graphite server is running on.

metric_path

The graphite namespece in which the stats will be sent to

metric_send_interval

The time inveral (in seconds) in which to send metrics to the graphite server

timezone

The timezone of your graphite server.

performance_counters

A list of the performance counters that you want to be sent to graphite.

metric_filters

A list of names you want to filter out of the performance counter list

verbose_logging

If enabled, will log each of the metrics that were sent to the graphite server.

Reference

Classes

Pulic Classes

  • graphite_powershell: Guides the install of graphite powershell and creates the windows service

Limitations

This module is tested on the following platforms:

  • Windows 2008
  • Windows 2008 R2
  • Windows 2012
  • Windows 2012 R2

It is tested with the OSS version of Puppet only.

Contributing

Please read CONTRIBUTING.md for full details on contributing to this project.

puppet-graphite_powershell's People

Contributors

alexjfisher avatar bastelfreak avatar bbriggs avatar dhollinger avatar dhoppe avatar ekohl avatar hunner avatar igalic avatar juniorsysadmin avatar liamjbennett avatar llowder avatar maxadamo avatar nibalizer avatar roidelapluie avatar sandra-thieme avatar smortex avatar stack72 avatar tragiccode avatar vinzent avatar wyardley avatar zilchms avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppet-graphite_powershell's Issues

Hard coded path to config file in config class

The configuration "file" resource has a hard coded path to "C:\GraphitePowershell", when the $install_dir parameter could specify an alternate installation directory.

Possibly change to:

file { "${install_dir}/StatsToGraphiteConfig.xml":

Thanks
L

Undocumented dependency on joshcooper-powershell

The only dependancies listed are stdlib and opentable-filedownload. It will not install for me because it wants to install joshcooper-powershell and I have puppetlabs-powershell. Powershell is obviously a dependency. That should be documented. But it should also maybe work with the puppet labs version.

Error: Could not install module 'puppet-graphite_powershell' (latest)
Dependency 'joshcooper-powershell' (v0.0.6) would overwrite /puppet/modules_common/powershell
Currently, 'puppetlabs-powershell' (v1.0.6) is installed to that directory
Use puppet module install --ignore-dependencies to install only this module

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.