Skip to content

Instantly share code, notes, and snippets.

@arioch
Forked from KrisBuytaert/gist:3216399
Created July 31, 2012 11:50
Show Gist options
  • Save arioch/3216414 to your computer and use it in GitHub Desktop.
Save arioch/3216414 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'],
}
file { '/etc/httpd/conf.d/pnp4nagios.conf':
ensure => 'link',
mode => '0777',
owner => '0',
target => '/etc/icinga/apache2-pnp4nagios.conf',
}
file { '/etc/httpd/conf.d/icinga.conf':
ensure => 'link',
target => '/etc/icinga/apache2.conf',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment