OP#436 add more settings
This commit is contained in:
@@ -69,6 +69,32 @@
|
|||||||
# is '/var/spool/nagios/nagios.tmp'.
|
# is '/var/spool/nagios/nagios.tmp'.
|
||||||
# @param [String] ng_temp_path The path to the Nagios temporary directory. Default
|
# @param [String] ng_temp_path The path to the Nagios temporary directory. Default
|
||||||
# is '/tmp'.
|
# is '/tmp'.
|
||||||
|
# @param [String] ng_event_broker_options The options for the Nagios event
|
||||||
|
# broker. Default is '-1', which means no specific options will be configured.
|
||||||
|
# You can specify options like '--log-level=debug' to set the log level for
|
||||||
|
# the event broker, for example.
|
||||||
|
# @param [String] ng_log_rotation_method The method for log rotation in the
|
||||||
|
# Nagios configuration. Default is 'h', which means hourly log rotation. You can
|
||||||
|
# set this to 'd' for daily log rotation, 'w' for weekly log rotation, or 'm'
|
||||||
|
# for monthly log rotation if needed.
|
||||||
|
# @param [String] ng_log_archive_path The path to the Nagios log archive
|
||||||
|
# directory. Default is '/var/log/nagios/archives'.
|
||||||
|
# @param [String] ng_use_syslog Whether to use syslog for logging in the
|
||||||
|
# Nagios configuration. Default is '1', which means syslog will be used for
|
||||||
|
# logging. You can set this to '0' to disable syslog logging if needed.
|
||||||
|
# @param [String] ng_log_notifications Whether to log notifications in the
|
||||||
|
# Nagios configuration. Default is '1', which means notifications will be logged.
|
||||||
|
# You can set this to '0' to disable logging of notifications if needed.
|
||||||
|
# @param [String] ng_log_service_retries Whether to log service retries in the
|
||||||
|
# Nagios configuration. Default is '1', which means service retries will be logged.
|
||||||
|
# You can set this to '0' to disable logging of service retries if needed.
|
||||||
|
# @param [String] ng_log_host_retries Whether to log host retries in the
|
||||||
|
# Nagios configuration. Default is '1', which means host retries will be logged.
|
||||||
|
# You can set this to '0' to disable logging of host retries if needed.
|
||||||
|
# @param [String] ng_log_event_handlers Whether to log event handlers in the
|
||||||
|
# Nagios configuration. Default is '1', which means event handlers will be logged.
|
||||||
|
# You can set this to '0' to disable logging of event handlers if needed.
|
||||||
|
# @param [String] ng_log_initial_states Whether to log initial states in the
|
||||||
###############################################################################
|
###############################################################################
|
||||||
class confdroid_nagios::params (
|
class confdroid_nagios::params (
|
||||||
|
|
||||||
@@ -88,10 +114,6 @@ class confdroid_nagios::params (
|
|||||||
Integer $ng_u_uid = 1004,
|
Integer $ng_u_uid = 1004,
|
||||||
|
|
||||||
# nagios_cfg settings
|
# nagios_cfg settings
|
||||||
String $ng_event_broker_module = '',
|
|
||||||
String $ng_glob_host_evt_handler = '',
|
|
||||||
String $ng_glob_svc_evt_handler = '',
|
|
||||||
String $ng_check_workers = '',
|
|
||||||
String $ng_log_file = '/var/log/nagios/nagios.log',
|
String $ng_log_file = '/var/log/nagios/nagios.log',
|
||||||
String $ng_object_cache_file = '/var/spool/nagios/objects.cache',
|
String $ng_object_cache_file = '/var/spool/nagios/objects.cache',
|
||||||
String $ng_precached_obj_file = '/var/spool/nagios/objects.precache',
|
String $ng_precached_obj_file = '/var/spool/nagios/objects.precache',
|
||||||
@@ -103,6 +125,22 @@ class confdroid_nagios::params (
|
|||||||
String $ng_lock_file = '/var/run/nagios/nagios.pid',
|
String $ng_lock_file = '/var/run/nagios/nagios.pid',
|
||||||
String $ng_temp_file = '/var/spool/nagios/nagios.tmp',
|
String $ng_temp_file = '/var/spool/nagios/nagios.tmp',
|
||||||
String $ng_temp_path = '/tmp',
|
String $ng_temp_path = '/tmp',
|
||||||
|
String $ng_event_broker_options = '-1',
|
||||||
|
String $ng_event_broker_module = '',
|
||||||
|
String $ng_glob_host_evt_handler = '',
|
||||||
|
String $ng_glob_svc_evt_handler = '',
|
||||||
|
String $ng_check_workers = '',
|
||||||
|
String $ng_log_rotation_method = 'h',
|
||||||
|
String $ng_log_archive_path = '/var/log/nagios/archives',
|
||||||
|
String $ng_use_syslog = '1',
|
||||||
|
String $ng_log_notifications = '1',
|
||||||
|
String $ng_log_service_retries = '1',
|
||||||
|
String $ng_log_host_retries = '1',
|
||||||
|
String $ng_log_event_handlers = '1',
|
||||||
|
String $ng_log_initial_states = '0',
|
||||||
|
String $ng_log_current_states = '1',
|
||||||
|
String $ng_log_external_commands = '1',
|
||||||
|
String $ng_log_passive_checks = '1',
|
||||||
|
|
||||||
# httpd
|
# httpd
|
||||||
Boolean $ng_use_https = false,
|
Boolean $ng_use_https = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user