cookbook 'blp-nrpe', '= 2.2.0'
blp-nrpe (5) Versions 2.2.0 Follow1
Installs and configures nrpe.
cookbook 'blp-nrpe', '= 2.2.0', :supermarket
knife supermarket install blp-nrpe
knife supermarket download blp-nrpe
blp-nrpe cookbook
The blp-nrpe cookbook is a library cookbook that provides custom
resources for installing, configuring and managing
the nrpe client
Platforms
The following platforms are tested automatically
using Test Kitchen, in Docker, with
the default suite of integration tests:
- Ubuntu 12.04/14.04/16.04
- CentOS (RHEL) 6/7
Additionally, the platforms below are also known to work:
- AIX 7.1
- Solaris 5.11
Attributes
Attribute Name | Type | Default Value | Description |
---|---|---|---|
node['nrpe']['archive']['version'] | String | see attributes/default.rb | Sets the verison of nrpe archive. |
node['nrpe']['archive']['checksum'] | String | see attributes/default.rb | Sets the nrpe archive checksum. |
node['nrpe']['archive']['url'] | String | see attributes/default.rb | Sets the nrpe archive download URL. |
node['nrpe']['config_file'] | String | /etc/nagios/nrpe.cfg | Sets the path for base nrpe configuration. |
node['nrpe']['nrpe_plugins'] | String | see attributes/default.rb | Sets path for nrpe plugins. |
node['nrpe']['package']['packages'] | String, Array | see attributes/default.rb | Sets the path for nrpe plugins. |
node['nrpe']['program'] | String | /usr/sbin/nrpe | Sets the location or nrpe program. |
node['nrpe']['provider'] | String | package | Sets the nrpe installation provider. |
node['nrpe']['service_name'] | String | nrpe | Sets the name of the service. |
node['nrpe']['service_user'] | String | nrpe | Sets the service username. |
node['nrpe']['service_group'] | String | nrpe | Sets the service groupname. |
node['nrpe']['service_home'] | String | /var/run/nrpe | Sets the service directory. |
node['nrpe']['service_resource'] | String | poise_service |
Set the service resource to use to control/reload the NRPE service |
Custom Resources
Resource Name | Description |
---|---|
nrpe_config | Manages the configuration of the nrpe client. |
nrpe_check | Manages an active check for the nrpe client. |
nrpe_installation_archive | Compiles the nrpe client from an archive. |
nrpe_installation_omnibus | Installs the nrpe client from an Omnibus package. |
nrpe_installation_package | Installs the nrpe client from a system package. |
Archive Installation
node.override['nrpe']['config']['debug'] = true node.override['nrpe']['provider'] = 'archive' node.override['nrpe']['archive']['version'] = '2.0.0' include_recipe 'blp-nrpe::default'
Omnibus Installation
include_recipe 'chef-sugar::default' node.override['nrpe']['config']['debug'] = true node.override['nrpe']['provider'] = 'omnibus' node.override['nrpe']['omnibus']['package_source'] = 'https://artifactory.bigco.com/.../inf-nrpe-3.0.1.pkg' if solaris? node.override['nrpe']['omnibus']['package_source'] = 'https://artifactory.bigco.com/.../inf-nrpe-3.0.1.bff' if aix? node.override['nrpe']['omnibus']['package_source'] = 'https://artifactory.bigco.com/.../inf-nrpe-3.0.1.rpm' if rhel? node.override['nrpe']['omnibus']['package_source'] = 'https://artifactory.bigco.com/.../inf-nrpe-3.0.1.deb' if ubuntu? node.override['nrpe']['program'] = '/opt/inf/inf-nrpe/sbin/nrpe' node.override['nrpe']['nrpe_plugins'] = '/opt/inf/inf-nrpe/lib/nagios/plugins' include_recipe 'blp-nrpe::default'
Dependent cookbooks
build-essential >= 0.0.0 |
poise-archive ~> 1.3 |
poise-service ~> 1.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog
and this project adheres to Semantic Versioning.
2.2.0 - 2017-09-28
Changed
- solaris/aix: Add
node['nrpe']['service_resource']
to control notifies calls from within custom resources.
2.1.0 - 2017-09-19
Changed
- Add basic support for configuring via node attributes for Solaris/AIX.
- upstart: Fix issue where reboot fails to start nrpe due to run directory not created.
- Update readme with examples on how to use Archive and Omnibus provider.
2.0.1 - 2017-07-13
Changed
- Update readme documentation to fix errors in hyperlinks.
2.0.0 - 2017-07-13
Changed
- Rename cookbook to blp-nrpe from nrpe-ng and move under bloomberg-cookbooks organization.
- ci: Automated pull-request testing with Test Kitchen and Docker for Linux.
- Minimum requirement of Chef Client 12.5.
- Custom resources modified to use the "Chef Client" native syntax.
Removed
- Support for CentOS (RHEL) 5.x series.
Collaborator Number Metric
2.2.0 passed this metric
Contributing File Metric
2.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
2.2.0 failed this metric
FC122: Use the build_essential resource instead of the recipe: blp-nrpe/resources/installation_archive.rb:27
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.2.0 passed this metric
Testing File Metric
2.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
2.2.0 passed this metric
2.2.0 passed this metric
2.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
2.2.0 failed this metric
FC122: Use the build_essential resource instead of the recipe: blp-nrpe/resources/installation_archive.rb:27
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
2.2.0 passed this metric
Testing File Metric
2.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
2.2.0 passed this metric
2.2.0 failed this metric
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
2.2.0 passed this metric
Testing File Metric
2.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
2.2.0 passed this metric
2.2.0 failed this metric
2.2.0 passed this metric