Skip to content

node13h/puppet-nrpe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Nagios NRPE management module for Puppet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published