nrpe

Nagios NRPE management module

Sergej Alikov

node13h

8,006 downloads

7,579 latest version

4.3 quality score

Version information

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

Start using this module

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',
    },
  },
}