cookbook 'intel_hadoop_metrics', '= 1.0.0'
intel_hadoop_metrics (2) Versions 1.0.0 Follow0
Installs/Configures intel_hadoop_metrics
cookbook 'intel_hadoop_metrics', '= 1.0.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.