Forge Home

nrpe

Puppet module for NRPE

46,934,750 downloads

45,684,255 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 2.1.1 (latest)
  • 2.1.0
  • 2.0.0
  • 1.0.0
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Jun 9th 2016
This version is compatible with:
  • Puppet Enterprise >= 3.2.0
  • Puppet >= 3.2.0
  • , , , , , , Gentoo, FreeBSD, Solaris, Archlinux

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'pdxcat-nrpe', '2.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add pdxcat-nrpe
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install pdxcat-nrpe --version 2.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

pdxcat/nrpe — version 2.1.1 Jun 9th 2016

NRPE Module for Puppet

Puppet Forge Build Status

This module installs and configures nrpe.

Dependencies

Redhat

  • This module requires the EPEL repositories to be enabled
  • This module currently does not manage the firewall rules

Solaris

  • This module depends on OpenCSW packages

Usage

nrpe

This class installs the packages and configures the daemon.

class { 'nrpe':
    allowed_hosts => ['127.0.0.1', 'nagios.example.org']
}

nrpe::command

This define can be used to add nrpe commands to the include directory for nrpe

nrpe::command {
    'check_users':
      ensure  => present,
      command => 'check_users -w 5 -c 10';
}

To purge unmanaged nrpe commands:

class { 'nrpe':
  allowed_hosts => ['127.0.0.1'],
  purge         => true,
  recurse       => true,
}

nrpe::plugin

This define can be used to install nrpe plugins

nrpe::plugin {
    'check_mem':
      ensure => present,
      source => 'puppet:///files/check_mem',
}