Skip to content

Puppet Module to manage installing and configuring NRPE

Notifications You must be signed in to change notification settings

ghoneycutt/puppet-nrpe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Puppet class to manage NRPE.

Examples:
node foobar.shift-e.info {
    # install and configure NRPE
    class { 'nrpe': }

    # accept connections from localhost and 10.13.37.1
    nrpe::config { 'nrpe.cfg':
        allowed_hosts => '127.0.0.1,10.13.37.1,
    }

    # add our base checks
    case $architecture {
        'x86_64': { $libdir='/usr/lib64/nagios/plugins' }
        default:  { $libdir='/usr/lib/nagios/plugins' }
    }

    nrpe::command {
        'check_users': cmd => "${libdir}/check_users -w 5 -c 10";
        'check_load':  cmd => "${libdir}/check_load -w 15,10,5 -c 30,25,20";
        'check_disks': cmd => "${libdir}/check_disk -w 20% -c 10%";
        'check_zombie_procs': cmd => "${libdir}/check_procs -w 5 -c 10 -s Z";
        'check_total_procs':  cmd => "${libdir}/check_procs -w 150 -c 250";
    }
}

About

Puppet Module to manage installing and configuring NRPE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Puppet 100.0%