OP#436 remove templates from main config
This commit is contained in:
11
README.md
11
README.md
@@ -17,8 +17,9 @@
|
||||
- [Adding contact groups](#adding-contact-groups)
|
||||
- [Adding host groups](#adding-host-groups)
|
||||
- [Adding service groups](#adding-service-groups)
|
||||
- [adding time periods](#adding-time-periods)
|
||||
- [adding custom commands](#adding-custom-commands)
|
||||
- [Adding time periods](#adding-time-periods)
|
||||
- [Adding custom commands](#adding-custom-commands)
|
||||
- [Adding templates](#adding-templates)
|
||||
- [PuppetDB](#puppetdb)
|
||||
- [SELINUX](#selinux)
|
||||
- [Support](#support)
|
||||
@@ -154,14 +155,16 @@ Hosts will be populated through the target.pp dynamically.
|
||||
|
||||
ToDo
|
||||
|
||||
### adding time periods
|
||||
### Adding time periods
|
||||
|
||||
ToDo
|
||||
|
||||
### adding custom commands
|
||||
### Adding custom commands
|
||||
|
||||
ToDo
|
||||
|
||||
### Adding templates
|
||||
|
||||
## PuppetDB
|
||||
|
||||
A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however [cd_puppetdb](https://gitlab.confdroid.com/puppet/cd_puppetdb) is available to automate this task for you as well within a few minutes.
|
||||
|
||||
@@ -107,7 +107,7 @@ define confdroid_nagios::nagios::objects::templates (
|
||||
String $ng_parallelize_check = '1',
|
||||
String $ng_obsess_over_service = '1',
|
||||
String $ng_check_freshness = '0',
|
||||
String $ng_is_volatile = '0',
|
||||
String $ng_is_volatile = '0',
|
||||
|
||||
) {
|
||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||
|
||||
@@ -14,11 +14,6 @@ log_file=<%= @ng_log_file %>
|
||||
# Original files are available at https://3for.me/hn6ca (membership area)
|
||||
# or at nagios.org
|
||||
|
||||
#cfg_file=/etc/nagios/objects/timeperiods.cfg
|
||||
cfg_file=/etc/nagios/objects/templates.cfg
|
||||
|
||||
# Definitions for monitoring the local (Linux) host
|
||||
#cfg_file=/etc/nagios/objects/localhost.cfg
|
||||
|
||||
# Definitions for monitoring a Windows machine
|
||||
#cfg_file=/etc/nagios/objects/windows.cfg
|
||||
|
||||
Reference in New Issue
Block a user