adds resources
This commit is contained in:
@@ -649,6 +649,8 @@
|
||||
# Puppet module and have enabled the check declaration from there, so the
|
||||
# Nagios check is properly aligned to the Puppet module controlling the
|
||||
# particular item.
|
||||
# @param [string] ng_user_arg1 the user argument for $user1$
|
||||
# @param [string] ng_user_arg2 the user argument for $user2$
|
||||
###############################################################################
|
||||
class cd_nagios::params (
|
||||
|
||||
@@ -904,6 +906,9 @@ $ng_loadctl_options = 'jobs_max=100;backoff_limit=10;rampup_change=5',
|
||||
# single nagios checks
|
||||
$ng_enable_swap_check = true,
|
||||
|
||||
# resource.cfg
|
||||
$ng_user_arg1 = '/usr/lib64/nagios/plugins',
|
||||
$ng_user_arg2 = '/usr/lib64/nagios/plugins/eventhandlers',
|
||||
|
||||
) {
|
||||
|
||||
@@ -964,6 +969,7 @@ $ng_ssl_vhost_file = '/etc/httpd/conf.d/nagios_ssl.conf'
|
||||
$ng_ssl_vhost_erb = 'cd_nagios/httpd/nagios_ssl_vhost.erb'
|
||||
$ng_nagios_cfg_file = "${ng_main_dir}/nagios.cfg"
|
||||
$ng_nagios_cfg_erb = 'cd_nagios/nagios/nagios_cfg.erb'
|
||||
$ng_resource_erb = 'cd_nagios/nagios/resource_cfg.erb'
|
||||
|
||||
# certbot
|
||||
$ng_certbot_main_dir = '/etc/letsencrypt'
|
||||
|
||||
Reference in New Issue
Block a user