make contact changeable
This commit is contained in:
@@ -17,7 +17,7 @@ class confdroid_apache::monitoring::target (
|
|||||||
owner => 'nagios',
|
owner => 'nagios',
|
||||||
group => 'nagios',
|
group => 'nagios',
|
||||||
mode => '0640',
|
mode => '0640',
|
||||||
contacts => 'ops',
|
contacts => $ae_target_contacts,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
# @param [String] ae_http_port the port to use for the http protocol
|
# @param [String] ae_http_port the port to use for the http protocol
|
||||||
# @param [String] ae_https_port the port to use for the https protocol
|
# @param [String] ae_https_port the port to use for the https protocol
|
||||||
# @param [String] ae_target_service which service to monitor with nagios
|
# @param [String] ae_target_service which service to monitor with nagios
|
||||||
|
# @param [String] ae_target_contacts which contacts to notify for nagios alerts
|
||||||
# @param [Boolean] ae_manage_fw whether to manage firewall settings
|
# @param [Boolean] ae_manage_fw whether to manage firewall settings
|
||||||
# @param [Array] reqpackages List of packages to install.
|
# @param [Array] reqpackages List of packages to install.
|
||||||
###########################################################################
|
###########################################################################
|
||||||
@@ -57,6 +58,7 @@ class confdroid_apache::params (
|
|||||||
# nagios
|
# nagios
|
||||||
Boolean $ae_incl_target = false,
|
Boolean $ae_incl_target = false,
|
||||||
String $ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
|
String $ae_target_service = '/etc/nagios/conf.d/httpd_service.cfg',
|
||||||
|
String $ae_target_contacts = 'nagiosadmin',
|
||||||
|
|
||||||
# firewall
|
# firewall
|
||||||
Boolean $ae_manage_fw = true,
|
Boolean $ae_manage_fw = true,
|
||||||
|
|||||||
Reference in New Issue
Block a user