graphite_powershell
Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
Start using this module
Add this module to your Puppetfile:
mod 'puppet-graphite_powershell', '3.0.2'
Learn more about managing modules with a PuppetfileDocumentation
Graphite PowerShell module for Puppet
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with graphite_powershell
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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.
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v3.0.2 (2018-10-20)
Merged pull requests:
- modulesync 2.2.0 and allow puppet 6.x #43 (bastelfreak)
v3.0.1 (2018-09-06)
Merged pull requests:
- allow puppetlabs/stdlib 5.x #40 (bastelfreak)
- allow puppet/download_file 3.x #38 (bastelfreak)
- Remove docker nodesets #35 (bastelfreak)
- drop EOL OSs; fix puppet version range #34 (bastelfreak)
v3.0.0 (2017-11-17)
Breaking changes:
- replace validate_* with datatypes #25 (bastelfreak)
Merged pull requests:
- bump puppet version dependency to >= 4.7.1 \< 6.0.0 #29 (bastelfreak)
v2.1.0 (2017-02-11)
This is the last release with Puppet3 support!
- Fix several markdown issues
- Add missing badges
- Add min version_requirement for Puppet + deps
2016-08-30 - Release 2.0.1
- Deploy to the forge (last release didn't work)
2016-08-19 - Release 2.0.0
- Drop of ruby1.8.7
- Modulesync with latest Vox Pupuli changes
- Fix: Hard coded path to config file in config class (issue #4)
- Alignment of licenses
2014-10-10 - Release 1.0.0
###Summary
- Updating documentation and metadata
- Bringing module up to a higher quality standard
2014-07-07 - Release 0.1.0
###Summary
- Initial version. Installs graphite powershell and configures the stats.
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 4.13.1 < 6.0.0)
- puppet/download_file (>= 2.0.0 < 4.0.0)
Copyright (c) 2014 OpenTable, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.