Created
March 29, 2015 11:13
-
-
Save abraverm/cb5307cc80e9d2dc492a to your computer and use it in GitHub Desktop.
init.pp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Installs NRPE and asks puppet managed Nagios to create required | |
| # configurations using exported resources feature. | |
| # The exported resourcs relays on PuppetDB, make sure Puppet Master using it. | |
| # | |
| # === Parameters | |
| # | |
| # [*nagios_servers*] | |
| # FQDN of Nagios server. | |
| # The parameter used as a list of allows servers in nrpe.cfg | |
| # Also it will be used as tag in nagios_host resource. Nagios puppet module | |
| # will import all resources with that tag. | |
| # | |
| # === Authors | |
| # | |
| # Alexander Braverman <abraverm@redhat.com> | |
| # | |
| class nrpe ( | |
| $nagios_servers = 'nagios.example.com' | |
| ) { | |
| include nrpe::param | |
| include nrpe::install | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment