Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

graphite_powershell_functions (5) Versions 2.0.0

Configures the Graphite PowerShell Functions script to send Windows perf counters to Graphite

Policyfile
Berkshelf
Knife
cookbook 'graphite_powershell_functions', '~> 2.0.0', :supermarket
cookbook 'graphite_powershell_functions', '~> 2.0.0'
knife supermarket install graphite_powershell_functions
knife supermarket download graphite_powershell_functions
README
Dependencies
Changelog
Quality 50%

graphite_powershell_functions Cookbook

Build Status Cookbook Version

A cookbook to install the Graphite PowerShell Function (https://github.com/MattHodge/Graphite-PowerShell-Functions) script using Chef. Sets up the script as a Windows service using the Non-Sucky Service Manager (http://nssm.cc/) as outlined in Matt Hodge's documentation for Graphite PowerShell Functions.

Requirements

Chef

  • Chef 12.1+

Platforms

  • Windows

Cookbooks

  • Windows

Attributes

  • default['graphite_powershell_functions']['CarbonServer'] FQDN of the carbon host. Required
  • default['graphite_powershell_functions']['CarbonServerPort'] port of the carbon host (default: 2003).
  • default['graphite_powershell_functions']['MetricPath'] Path to prefix on the collected metrics (default: powershell.).
  • default['graphite_powershell_functions']['MetricSendIntervalSeconds'] Interval to grab metrics (default: 30).
  • default['graphite_powershell_functions']['TimeZoneOfGraphiteServer'] Timezone of the Graphite server (default UTC).
  • default['graphite_powershell_functions']['PerformanceCounters'] Array of performance counters to collect
  • default['graphite_powershell_functions']['MetricFilter'] Array of Metrics to filter
  • default['graphite_powershell_functions']['nssm_archive'] URL of the Non-Sucky Service Manager zip archive
  • default['graphite_powershell_functions']['nssm_archive_checksum'] shasum for the zip archive
  • default['graphite_powershell_functions']['install_dir'] directory to install to
  • default['graphite_powershell_functions']['service_name'] name of the service
  • `default['graphite_powershell_functions']['service_description'] description of the service

License & Authors

Copyright:: 2014-2016, Limelight Networks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

windows >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef-graphite_powershell_functions Cookbook CHANGELOG

This file is used to list changes made in each version of the graphite_powershell_functions cookbook.

v2.0.0

  • Require Chef 12.1 or later as Chef 11 is now EOL
  • Add a new attribute node['graphite_powershell_functions']['install_dir'] to control the install directory
  • Update NSSM to 2.24
  • Add new attributes node['graphite_powershell_functions']['main_script'] and node['graphite_powershell_functions']['main_method'] to control the execution of the script
  • Add new attributes node['graphite_powershell_functions']['service_name'] and node['graphite_powershell_functions']['service_description'] to control the service
  • Updated the license to be a SPDX compliant string in metadata.rb

v1.2.1

  • Update Travis tests to run in ChefDK
  • Replace rubocop with cookstyle for preset rules
  • Resolve cookstyle warnings
  • Update the readme to include required chef release and cookbook depedencies and to include travis and cookbook version badges
  • Add chef_version, issues_url and source_url to the metadata

v1.2.0

  • Add travis.yml for testing
  • Add chefignore to limit files uploaded to the chef server
  • Use standard chef .gitignore file
  • Remove use of hash rockets in rubocop.yml
  • Use supermarket URL in berksfile
  • Add a changelog
  • Add a contributing doc
  • Breakout deps into groups in the Gemfile and update to the latest versions
  • Dont use collectd attributes directly in the attributes since this break anyone not using collectd
  • Change MetricSendIntervalSeconds to 30 seconds from 15 seconds
  • Update the Graphite Powershell script
  • Restart the service when the config is updated
  • Add more chefspec tests

v1.1.0

  • Update to the latest upstream release of the Powershell script
  • Add the bulk Graphite metric update code currently awaiting merging into the upstream Powershell script
  • Reorder sanitization method in the Powershell so the hostname is not sanitized. The hostname attribute being used must be properly sanitized before being set in the config file. The default attribute implements this with a gsub of . to _
  • Switch the default update time period from every 15 seconds to every 30 seconds
  • Add additional tests and update the test harness
  • Fix an incorrect license in the default recipe file
  • Restart the service when the config file or Powershell script is updated

v1.0.0

  • Initial release

Collaborator Number Metric
            

2.0.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

2.0.0 passed this metric

Foodcritic Metric
            

2.0.0 passed this metric

No Binaries Metric
            

2.0.0 passed this metric

Testing File Metric
            

2.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

2.0.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number