Git Product home page Git Product logo

nrpe's Introduction

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

nrpe's People

Contributors

jjustice6 avatar johnbellone avatar kpfleming avatar lozzd avatar rmcleod8 avatar sparciii avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.