OP#672 add nagios monitoring
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
# @param [String] ac_email_to where to send the email to
|
||||
# @param [String] ac_email_host which host to use to send the email
|
||||
# @param [Variant[String,Array[String]]] ac_excludepkgs packages to exclude from updates
|
||||
# @param [Boolean] ac_manage_nagios whether to manage nagios monitoring
|
||||
# @param [String] ac_target_service where to write the nagios service config
|
||||
# @param [String] ac_target_contacts which nagios contacts to use
|
||||
# @param [String] ac_procs_allowed how many processes are allowed to run
|
||||
##############################################################################
|
||||
class confdroid_automatic::params (
|
||||
|
||||
@@ -33,6 +37,12 @@ class confdroid_automatic::params (
|
||||
String $ac_email_to = 'root@example.net',
|
||||
String $ac_email_host = 'localhost',
|
||||
|
||||
# monitoring
|
||||
Boolean $ac_manage_nagios = false,
|
||||
String $ac_target_service = '/etc/nagios/conf.d/automatic_service.cfg',
|
||||
String $ac_target_contacts = 'nagiosadmin',
|
||||
String $ac_procs_allowed = '1:',
|
||||
|
||||
) {
|
||||
# Facts
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user