cookbook 'newrelic-sysmond', '~> 2.0.0', :supermarket
newrelic-sysmond (9) Versions 2.0.0 Follow7
Setup New Relic sysmond for server monitoring
cookbook 'newrelic-sysmond', '~> 2.0.0'
knife supermarket install newrelic-sysmond
knife supermarket download newrelic-sysmond
chef-newrelic-sysmond
Description
Installs newrelic-sysmond, New Relic for Server Monitoring.
Requirements
Chef
This cookbook requires Chef >= 11.13 due to the use of the sensitive
attribute for some resources.
Cookbooks
The following cookbooks are direct dependencies:
Supported Platforms
The following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error:
- Debian
- Ubuntu
- Red Hat Enterprise Linux 6
- CentOS 6
Recipes
-
newrelic-sysmond
- The default recipe.
Usage
This cookbook installs the newrelic-sysmond components if not present, and pulls updates if they are installed on the system.
Attributes
default["newrelic-sysmond"]["package_action"] = "install" # or `upgrade`
default["newrelic-sysmond"]["apt_uri"] = "http://apt.newrelic.com/debian/"
default["newrelic-sysmond"]["apt_key"] = "548C16BF"
default["newrelic-sysmond"]["keyserver"] = "hkp://keyserver.ubuntu.com:80"
default["newrelic-sysmond"]["yum_baseurl"] = "https://yum.newrelic.com/pub/newrelic/el5/#{node["kernel"]["machine"]}"
default["newrelic-sysmond"]["license_key"] = ""
default["newrelic-sysmond"]["loglevel"] = "info"
default["newrelic-sysmond"]["logfile"] = "/var/log/newrelic/nrsysmond.log"
default["newrelic-sysmond"]["proxy"] = ""
default["newrelic-sysmond"]["ssl"] = "true"
default["newrelic-sysmond"]["ssl_ca_bundle"] = ""
default["newrelic-sysmond"]["ssl_ca_path"] = ""
default["newrelic-sysmond"]["pidfile"] = "/var/run/newrelic/nrsysmond.pid"
default["newrelic-sysmond"]["collector_host"] = "collector.newrelic.com"
default["newrelic-sysmond"]["timeout"] = 30
default["newrelic-sysmond"]["hostname"] = ""
default["newrelic-sysmond"]["labels"] = ""
Basic Settings
You must set the value for node["newrelic-sysmond"]["license_key"]
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Contributors
Many thanks go to the following contributors who have helped to make this cookbook even better:
-
@dwradcliffe
- add support for redhat/centos
-
@fredjean
- fix default keyserver host name
-
@joe1chen
- add apt dependency to metadata
-
@CloCkWeRX
- initial implementation of
hostname
attribute
- initial implementation of
-
@apai4
- add 64bit yum repo support
-
@jhsu
- add
apt_uri
andapt_key
attributes
- add
-
@jolexa
- add
yum_baseurl
attribute
- add
License
chef-newrelic-sysmond
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2011-2014 Phil Cohen (github@phlippers.net)
- http://phlippers.net/
Dependent cookbooks
apt >= 1.9.2 |
yum >= 3.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
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 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 CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: newrelic-sysmond/metadata.rb:1
FC065: Ensure source_url is set in metadata: newrelic-sysmond/metadata.rb:1
FC066: Ensure chef_version is set in metadata: newrelic-sysmond/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 passed this metric
2.0.0 failed this 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 CONTRIBUTING.md file
Foodcritic Metric
2.0.0 failed this metric
FC064: Ensure issues_url is set in metadata: newrelic-sysmond/metadata.rb:1
FC065: Ensure source_url is set in metadata: newrelic-sysmond/metadata.rb:1
FC066: Ensure chef_version is set in metadata: newrelic-sysmond/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 passed this metric
2.0.0 failed this metric
FC065: Ensure source_url is set in metadata: newrelic-sysmond/metadata.rb:1
FC066: Ensure chef_version is set in metadata: newrelic-sysmond/metadata.rb:1
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
2.0.0 passed this metric
2.0.0 passed this 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 passed this metric
2.0.0 failed this metric
2.0.0 passed this metric