cookbook 'metricbeat', '~> 0.2.0'
metricbeat (1) Versions 0.2.0 Follow3
Installs/Configures Elastic metricbeat
cookbook 'metricbeat', '~> 0.2.0', :supermarket
knife supermarket install metricbeat
knife supermarket download metricbeat
metricbeat Cookbook
This is a Chef cookbook to manage metricbeat.
For Production environment, always prefer the most recent release.
Most Recent Release
cookbook 'metricbeat', '~> 0.2.0'
From Git
cookbook 'metricbeat', github: 'vkhatri/chef-metricbeat'
Repository
https://github.com/vkhatri/chef-metricbeat
Supported OS
This cookbook was tested on Amazon & Ubuntu Linux and expected to work on other RHEL platforms and Windows.
Recipes
metricbeat::default
- default recipe (use it for run_list)metricbeat::install
- install metricbeat for rhel, debian, ubuntu based OSmetricbeat::config
- configure metricbeatmetricbeat::install_windows
- configure metricbeat for windows based OS
Core Attributes
default['metricbeat']['version']
(default:5.1.1
): metricbeat versiondefault['metricbeat']['release']
(default:1
): metricbeat release for yum packagedefault['metricbeat']['packages']
(default:[]
): package dependenciesdefault['metricbeat']['conf_dir']
(default:/etc/metricbeat
orC:/opt/metricbeat/metricbeat-1.3.1-windows/
): metricbeat yaml configuration file directorydefault['metricbeat']['conf_file']
(default:/etc/metricbeat/metricbeat.yml
orC:/opt/metricbeat/metricbeat-1.3.1-windows/metricbeat.yml
): metricbeat configuration filedefault['metricbeat']['notify_restart']
(default:true
): whether to restart metricbeat service on configuration file changedefault['metricbeat']['disable_service']
(default:false
): whether to stop and disable metricbeat service, useful for maintenance mode
Configuration File metricbeat.yml Attributes
default['metricbeat']['config']['input']['period']
(default:10
): metricbeat statistics collection intervaldefault['metricbeat']['config']['input']['period']
(default:10
): metricbeat procs to collect statisticsdefault['metricbeat']['config']['output']
(default:{}
): metricbeat output configuration, e.g. elasticsearch, logstash, file etc.
For more attribute info, visit below link:
https://github.com/elastic/metricbeat/blob/master/etc/metricbeat.yml
metricbeat YUM/APT Repository Attributes
default['metricbeat']['yum']['description']
(default: ``): beats yum reporitory attributedefault['metricbeat']['yum']['gpgcheck']
(default:true
): beats yum reporitory attributedefault['metricbeat']['yum']['enabled']
(default:true
): beats yum reporitory attributedefault['metricbeat']['yum']['baseurl']
(default:https://packages.elastic.co/beats/yum/el/$basearch
): beatsyum reporitory attributedefault['metricbeat']['yum']['gpgkey']
(default:https://packages.elasticsearch.org/GPG-KEY-elasticsearch
): beats yum reporitory attributedefault['metricbeat']['yum']['action']
(default::create
): beats yum reporitory attributedefault['metricbeat']['apt']['description']
(default:calculated
): beats apt reporitory attributedefault['metricbeat']['apt']['components']
(default:['stable', 'main']
): beats apt reporitory attributedefault['metricbeat']['apt']['uri']
(default:https://packages.elastic.co/beats/apt
): beats apt reporitory attributedefault['metricbeat']['apt']['key']
(default:http://packages.elasticsearch.org/GPG-KEY-elasticsearch
): beats apt reporitory attributedefault['metricbeat']['apt']['action']
(default::add
): filebeat apt reporitory attribute
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests (
rake & rake knife
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</pre>
Dependent cookbooks
yum >= 0.0.0 |
apt >= 0.0.0 |
windows >= 0.0.0 |
yum-plugin-versionlock >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
topbeat CHANGELOG
This file is used to list changes made in each version of the topbeat cookbook.
0.2.0
- Virender Khatri - updates to topbeat cookbook
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.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
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: metricbeat/metadata.rb:1
FC069: Ensure standardized license defined in metadata: metricbeat/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.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
0.2.0 failed this metric
0.2.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
0.2.0 failed this metric
FC066: Ensure chef_version is set in metadata: metricbeat/metadata.rb:1
FC069: Ensure standardized license defined in metadata: metricbeat/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.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
0.2.0 failed this metric
FC069: Ensure standardized license defined in metadata: metricbeat/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.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
0.2.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
0.2.0 failed this metric
0.2.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