cookbook 'atop', '= 1.0.2'
atop (4) Versions 1.0.2 Follow0
Installs/Configures atop
cookbook 'atop', '= 1.0.2', :supermarket
knife supermarket install atop
knife supermarket download atop
atop Cookbook
This cookbook installs atop
, starts it as a service to log data every configured interval, and configures logrotate on its log output.
Requirements
Platforms
- CentOS
- Debian
Chef
- Chef 12.0 or later
Cookbooks
-
yum-epel
- platform specific requirement for RHEL
Attributes
-
node['atop']['action']
- Action to take forpackage
resource. Defaults to:install
. -
node['atop']['version']
- Version ofatop
to install. Defaults tonil
, which installs the latest version at runtime. -
node['atop']['logpath']
- Directory path for atop output logs. Defaults to/var/log/atop/
. -
node['atop']['interval']
- Interval between metric collection in seconds. Defaults to 600 seconds.
Usage
Just include atop
in your node's run_list
:
{ "name": "my_node", "run_list": [ "recipe[atop]" ] }
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, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
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.
Dependent cookbooks
yum-epel >= 0.0.0 |
logrotate >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
atop CHANGELOG
This file is used to list changes made in each version of the atop cookbook.
1.0.2
- [keyan] - Replace service
subscribes
to anotifies
in the template resource
1.0.1
- [keyan] - Update source code url in metadata
1.0.0
- [keyan] - Initial release of atop
Collaborator Number Metric
1.0.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.2 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.0.2 failed this metric
FC066: Ensure chef_version is set in metadata: atop/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: atop/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 failed this metric
atop does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.0.2 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.0.2 failed this metric
1.0.2 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.0.2 failed this metric
FC066: Ensure chef_version is set in metadata: atop/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: atop/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.2 failed this metric
atop does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.0.2 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.0.2 failed this metric
FC067: Ensure at least one platform supported in metadata: atop/metadata.rb:1
Run with Foodcritic Version 11.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.2 failed this metric
atop does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.
No Binaries Metric
1.0.2 passed this metric
Testing File Metric
1.0.2 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.0.2 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.0.2 passed this metric
1.0.2 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.0.2 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.0.2 failed this metric