Skip to content

Instantly share code, notes, and snippets.

@KrisBuytaert
Created July 31, 2012 11:47
Show Gist options
  • Save KrisBuytaert/3216399 to your computer and use it in GitHub Desktop.
Save KrisBuytaert/3216399 to your computer and use it in GitHub Desktop.
class{'icinga':
nrpe_allowed_hosts => '10.0.2.15',
server => true,
client => true,
use_auth => false,
plugins => ['pnp4nagios'],
icinga_vhost => '/etc/httpd/conf.d/icinga.conf',
}
file { '/etc/httpd/conf.d/pnp4nagios.conf':
ensure => 'link',
mode => '0777',
owner => '0',
target => '/etc/icinga/apache2-pnp4nagios.conf',
}
file { '/etc/httpd/conf.d/nagios.conf':
ensure => 'absent',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment