cookbook 'apache-newrelic-plugin', '~> 0.1.5'
apache-newrelic-plugin (5) Versions 0.1.5 Follow0
Installs/Configures apache-newrelic-plugin
cookbook 'apache-newrelic-plugin', '~> 0.1.5', :supermarket
knife supermarket install apache-newrelic-plugin
knife supermarket download apache-newrelic-plugin
apache-newrelic-plugin
This plugin allows you to monitor 1 or more Apache instances (2.2 or 2.4, as long as they support mod-status).
Requires Java and a valid New Relic license
Atributes
node['newrelic']['license']
- Your New Relic license (defaults to node['newrelic']['license']
)
node['apache_newrelic_plugin']['agents']
- A list of Apache instances you want to monitor. Format below
Agent node format
[ { :name => 'my-hostname', :protocol => 'http', :host => 'localhost', :port => 8080, :mod_status_url => '/server-status?auto', :connection_timeout => 15000, :read_timeout => 15000 }, :name => 'my-hostname-2', :protocol => 'https', :host => 'localhost', :port => 8080, :mod_status_url => '/server-status?auto', :connection_timeout => 15000, :read_timeout => 15000 } ]
Default values for Agents:
protocol: http
port: 80
mod_status_url: /server-status?auto
connection_timeout: 15000 (15 seconds)
read_timeout: 15000 (15 seconds)
The only requirement is to set a hostname for a valid agent:
ruby
[
{
:host => 'localhost',
}
]
Dependent cookbooks
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.5 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
0.1.5 failed this metric
FC009: Resource attribute not recognised: apache-newrelic-plugin/recipes/default.rb:12
FC064: Ensure issues_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: apache-newrelic-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apache-newrelic-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.5 failed this metric
Failure: Cookbook should not contain binaries. Found:
apache-newrelic-plugin/files/default/apachemonitor-plugin-1.0.2.jar
Testing File Metric
0.1.5 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
0.1.5 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
0.1.5 failed this metric
0.1.5 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
0.1.5 failed this metric
FC009: Resource attribute not recognised: apache-newrelic-plugin/recipes/default.rb:12
FC064: Ensure issues_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: apache-newrelic-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apache-newrelic-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.5 failed this metric
Failure: Cookbook should not contain binaries. Found:
apache-newrelic-plugin/files/default/apachemonitor-plugin-1.0.2.jar
Testing File Metric
0.1.5 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
0.1.5 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
0.1.5 failed this metric
FC064: Ensure issues_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache-newrelic-plugin/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: apache-newrelic-plugin/metadata.rb:1
FC069: Ensure standardized license defined in metadata: apache-newrelic-plugin/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.5 failed this metric
Failure: Cookbook should not contain binaries. Found:
apache-newrelic-plugin/files/default/apachemonitor-plugin-1.0.2.jar
Testing File Metric
0.1.5 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
0.1.5 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
0.1.5 failed this metric
0.1.5 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