Forge Home

nrpe

Nagios NRPE management module

8,986 downloads

8,435 latest version

4.3 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

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Jul 11th 2015
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'node13h-nrpe', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install node13h-nrpe --version 0.1.2

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

node13h/nrpe — version 0.1.2 Jul 11th 2015

puppet-nrpe - Nagios NRPE management module for Puppet

Examples

# Use defaults
# On Debian systems installs and enables service, enables
# check_disk command for root partition and check_apt command
#
include '::nrpe'
# Monitor / and /var/lib/wordpress mounts, check apt updates
# and allow access from localhost and 10.0.0.6
#
class { '::nrpe':
  allowed_hosts => [ '127.0.0.1', '10.0.0.6' ],
  commands      => {
    check_disk_root      => {
      command => 'check_disk',
      args    => '-w 20% -c 10% -p /',
    },
    check_disk_wordpress => {
      command => 'check_disk',
      args    => '-w 20% -c 10% -p /var/lib/wordpress/',
    },
    check_apt            => {
      command => 'check_apt',
    },
  },
}