Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

blp-nrpe (5) Versions 2.1.0

Installs and configures nrpe.

Policyfile
Berkshelf
Knife
cookbook 'blp-nrpe', '= 2.1.0', :supermarket
cookbook 'blp-nrpe', '= 2.1.0'
knife supermarket install blp-nrpe
knife supermarket download blp-nrpe
README
Dependencies
Changelog
Quality 71%

blp-nrpe cookbook

Build Status
Cookbook Version
License

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.

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.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.1.0 passed this metric

Contributing File Metric
            

2.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
            

2.1.0 passed this metric

License Metric
            

2.1.0 passed this metric

No Binaries Metric
            

2.1.0 passed this metric

Testing File Metric
            

2.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
            

2.1.0 passed this metric