OP#672 add nagios monitoring target
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
# @param [String] ay_prom_max_shards the maximum number of shards to use for prometheus metrics
|
||||
# @param [String] ay_prom_max_samples_per_send the maximum number of samples to send
|
||||
# @param [String] ay_prom_batch_send_deadline the maximum time to wait before sending
|
||||
# @param [Boolean] ay_manage_nagios whether to manage nagios service exports
|
||||
# @param [String] ay_target_service the target file for nagios service exports
|
||||
# @param [Array] ay_target_contacts the contacts for nagios service exports
|
||||
# @summary Class contains all parameters for the confdroid_alloy module.
|
||||
##############################################################################
|
||||
class confdroid_alloy::params (
|
||||
@@ -40,6 +43,13 @@ class confdroid_alloy::params (
|
||||
String $ay_prom_max_samples_per_send = '2000',
|
||||
String $ay_prom_batch_send_deadline = '5s',
|
||||
|
||||
# nagios
|
||||
Boolean $ay_manage_nagios = false,
|
||||
String $ay_target_service = '/etc/nagios/conf.d/alloy_service.cfg',
|
||||
Array $ay_target_contacts = ['nagiosadmin'],
|
||||
|
||||
|
||||
|
||||
) {
|
||||
# service
|
||||
$ay_service = 'alloy'
|
||||
|
||||
Reference in New Issue
Block a user