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


graphite_powershell_functions (5) Versions 2.0.0

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

cookbook 'graphite_powershell_functions', '~> 2.0.0'
cookbook 'graphite_powershell_functions', '~> 2.0.0', :supermarket
knife cookbook site install graphite_powershell_functions
knife cookbook site download graphite_powershell_functions

graphite_powershell_functions Cookbook

Build Status Cookbook Version

A cookbook to install the Graphite PowerShell Function ( script using Chef. Sets up the script as a Windows service using the Non-Sucky Service Manager ( as outlined in Matt Hodge's documentation for Graphite PowerShell Functions.



  • Chef 12.1+


  • Windows


  • Windows


  • 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

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
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.


  • 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


  • 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


  • 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


  • 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


  • 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

License Metric

2.0.0 passed this metric

No Binaries Metric

2.0.0 passed this metric

Publish Metric

2.0.0 passed this metric

Supported Platforms 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, and your repo must contain a file

Version Tag Metric

2.0.0 passed this metric