cookbook 'intel_hadoop_metrics', '~> 1.1.0'
intel_hadoop_metrics (2) Versions 1.1.0 Follow0
Installs/Configures intel_hadoop_metrics
cookbook 'intel_hadoop_metrics', '~> 1.1.0', :supermarket
knife supermarket install intel_hadoop_metrics
knife supermarket download intel_hadoop_metrics
intel_hadoop_metrics
DESCRIPTION:
This cookbook sets up the necessary scripts and configures a logstash forwarder instance to collect metrics to be used by intel.
NOTE: this cookbook must be ran twice to ensure the logstash agent is stopped
Requirements
Chef 11+
Platform
- Redhat 6.x
Usage
Apply recipe[intel_hadoop_metrics::default]
to run_list
Attributes
Key | Type | Description | Default |
---|---|---|---|
default['intel_hadoop_metrics']['metrics_dir'] |
String | Directory to put metrics into | /var/log/intel-hadoop-metrics/ |
default['intel_hadoop_metrics']['compress'] |
Boolean | if metrics should be compressed in gzip format when writing to disk | true |
default['intel_hadoop_metrics']['scripts'] |
Array | What metric scripts to run. The defaults are landed by this cookbook | %w(cpustat iostat jvms memstat mpstat netstat perf vmstat) |
Testing
Install chefdk, vagrant and virtualbox
bundle install
bundlle exec rspec
kitchen test
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
Dependent cookbooks
logstash ~> 0.12 |
java >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC065: Ensure source_url is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC066: Ensure chef_version is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: intel_hadoop_metrics/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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
1.1.0 failed this metric
1.1.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
1.1.0 failed this metric
FC064: Ensure issues_url is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC065: Ensure source_url is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC066: Ensure chef_version is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: intel_hadoop_metrics/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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
1.1.0 failed this metric
FC065: Ensure source_url is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC066: Ensure chef_version is set in metadata: intel_hadoop_metrics/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: intel_hadoop_metrics/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.1.0 passed this metric
Testing File Metric
1.1.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
1.1.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
1.1.0 failed this metric
1.1.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