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


blp-nrpe (5) Versions 2.2.0

Installs and configures nrpe.

cookbook 'blp-nrpe', '= 2.2.0', :supermarket
cookbook 'blp-nrpe', '= 2.2.0'
knife supermarket install blp-nrpe
knife supermarket download blp-nrpe
Quality 50%

blp-nrpe cookbook

Build Status
Cookbook Version

The blp-nrpe cookbook is a library cookbook that provides custom
resources for installing, configuring and managing
the nrpe client


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


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'] = '' if solaris?
node.override['nrpe']['omnibus']['package_source'] = '' if aix?
node.override['nrpe']['omnibus']['package_source'] = '' if rhel?
node.override['nrpe']['omnibus']['package_source'] = '' 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.


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


  • solaris/aix: Add node['nrpe']['service_resource'] to control notifies calls from within custom resources.

2.1.0 - 2017-09-19


  • 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


  • Update readme documentation to fix errors in hyperlinks.

2.0.0 - 2017-07-13


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


  • 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, and your repo must contain a 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, and your repo must contain a file

Version Tag Metric

2.2.0 passed this metric