diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html index 3fa8ada..2c62855 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html @@ -300,188 +300,188 @@ class confdroid_nagios::main::dirs ( require confdroid_nagios::main::user # main directory - file { $ng_main_dir: - ensure => directory, - path => $ng_main_dir, - owner => 'root', - group => 'root', - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - } +# file { $ng_main_dir: +# ensure => directory, +# path => $ng_main_dir, +# owner => 'root', +# group => 'root', +# mode => '0755', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_etc_t, +# seluser => system_u, +# } # /usr/lib64/nagios dir required for plugins - file { $ng_lib_dir: - ensure => directory, - path => $ng_lib_dir, - owner => 'root', - group => 'root', - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => lib_t, - seluser => system_u, - } +# file { $ng_lib_dir: +# ensure => directory, +# path => $ng_lib_dir, +# owner => 'root', +# group => 'root', +# mode => '0755', +# selrange => s0, +# selrole => object_r, +# seltype => lib_t, +# seluser => system_u, +# } # /var/spool/nagios - file { $ng_spool_dir: - ensure => directory, - path => $ng_spool_dir, - owner => $ng_user, - group => $ng_user, - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => nagios_spool_t, - seluser => system_u, - } +# file { $ng_spool_dir: +# ensure => directory, +# path => $ng_spool_dir, +# owner => $ng_user, +# group => $ng_user, +# mode => '0755', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_spool_t, +# seluser => system_u, +# } - if $fqdn == $ng_nagios_server { +# if $fqdn == $ng_nagios_server { # /etc/nagios/conf.d - file { $ng_conf_d_dir: - ensure => directory, - path => $ng_conf_d_dir, - owner => 'root', - group => $ng_user, - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - } +# file { $ng_conf_d_dir: +# ensure => directory, +# path => $ng_conf_d_dir, +# owner => 'root', +# group => $ng_user, +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_etc_t, +# seluser => system_u, +# } # /etc/nagios/objects - file { $ng_objects_dir: - ensure => directory, - path => $ng_objects_dir, - owner => 'root', - group => $ng_user, - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - } +# file { $ng_objects_dir: +# ensure => directory, +# path => $ng_objects_dir, +# owner => 'root', +# group => $ng_user, +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_etc_t, +# seluser => system_u, +# } # /etc/nagios/private - file { $ng_private_dir: - ensure => directory, - path => $ng_private_dir, - owner => 'root', - group => $ng_user, - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_etc_t, - seluser => system_u, - } +# file { $ng_private_dir: +# ensure => directory, +# path => $ng_private_dir, +# owner => 'root', +# group => $ng_user, +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_etc_t, +# seluser => system_u, +# } # include dir - file { $ng_usr_incl: - ensure => directory, - path => $ng_usr_incl, - owner => 'root', - group => 'root', - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => usr_t, - seluser => system_u, - } +# file { $ng_usr_incl: +# ensure => directory, +# path => $ng_usr_incl, +# owner => 'root', +# group => 'root', +# mode => '0755', +# selrange => s0, +# selrole => object_r, +# seltype => usr_t, +# seluser => system_u, +# } # log dir - file { $ng_log_dir: - ensure => directory, - path => $ng_log_dir, - owner => $ng_user, - group => $ng_user, - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_log_t, - seluser => system_u, - } +# file { $ng_log_dir: +# ensure => directory, +# path => $ng_log_dir, +# owner => $ng_user, +# group => $ng_user, +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_log_t, +# seluser => system_u, +# } # log archives - file { $ng_log_archives: - ensure => directory, - path => $ng_log_archives, - owner => $ng_user, - group => $ng_user, - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_log_t, - seluser => system_u, - } +# file { $ng_log_archives: +# ensure => directory, +# path => $ng_log_archives, +# owner => $ng_user, +# group => $ng_user, +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_log_t, +# seluser => system_u, +# } # /usr/share/nagios - file { $ng_usr_share: - ensure => directory, - path => $ng_usr_share, - owner => 'root', - group => 'root', - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => usr_t, - seluser => system_u, - } +# file { $ng_usr_share: +# ensure => directory, +# path => $ng_usr_share, +# owner => 'root', +# group => 'root', +# mode => '0755', +# selrange => s0#, +# selrole => object_r, +# seltype => usr_t, +# seluser => system_u, +# } # /usr/share/nagios/html - file { $ng_share_html: - ensure => directory, - path => $ng_share_html, - owner => 'root', - group => 'root', - mode => '0755', - selrange => s0, - selrole => object_r, - seltype => usr_t, - seluser => system_u, - } +# file { $ng_share_html: +# ensure => directory, +# path => $ng_share_html, +# owner => 'root', +# group => 'root', +# mode => '0755', +# selrange => s0, +# selrole => object_r, +# seltype => usr_t, +# seluser => system_u, +# } # run dir for pid file - file { $ng_run_dir: - ensure => directory, - path => $ng_run_dir, - owner => 'nagios', - group => 'nagios', - mode => '0750', - selrange => s0, - selrole => object_r, - seltype => nagios_var_run_t, - seluser => system_u, - } +# file { $ng_run_dir: +# ensure => directory, +# path => $ng_run_dir, +# owner => 'nagios', +# group => 'nagios', +# mode => '0750', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_var_run_t, +# seluser => system_u, +# } # cmd dir - file { $ng_cmd_dir: - ensure => directory, - path => $ng_cmd_dir, - owner => 'nagios', - group => 'nagios', - mode => '0775', - selrange => s0, - selrole => object_r, - seltype => nagios_spool_t, - seluser => system_u, - } +# file { $ng_cmd_dir: +# ensure => directory, +# path => $ng_cmd_dir, +# owner => 'nagios', +# group => 'nagios', +# mode => '0775', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_spool_t, +# seluser => system_u, +# } # checkresults dir - file { $ng_checkresults_dir: - ensure => directory, - path => $ng_checkresults_dir, - owner => 'nagios', - group => 'nagios', - mode => '0770', - selrange => s0, - selrole => object_r, - seltype => nagios_spool_t, - seluser => system_u, - } - } +# file { $ng_checkresults_dir: +# ensure => directory, +# path => $ng_checkresults_dir, +# owner => 'nagios', +# group => 'nagios', +# mode => '0770', +# selrange => s0, +# selrole => object_r, +# seltype => nagios_spool_t, +# seluser => system_u, +# } +# } } diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html index 6aaa847..f9257e9 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html @@ -94,10 +94,16 @@ +

Summary

+ Class holds all parameters for the confdroid_nagios module and is +inherited by all classes except defines. +

Overview

+

confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)

+
@@ -118,6 +124,11 @@ (defaults to: 'nagios.example.net') + — +
+

The hostname or IP address of the Nagios server. This will determine the installation selection and the of the clients to connect to the Nagios server.

+
+
  • @@ -131,6 +142,11 @@ (defaults to: ['nagios','nagios-devel']) + — +
    +

    An array of packages to be installed on the Nagios server.

    +
    +
  • @@ -144,6 +160,11 @@ (defaults to: ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common']) + — +
    +

    An array of packages to be installed on the Nagios clients.

    +
    +
  • @@ -157,18 +178,10 @@ (defaults to: 'present') -
  • - -
  • - - ng_include_nrpe - - - (Boolean) - - - (defaults to: true) - + — +
    +

    The ensure value for all packages. Default is ‘present’.

    +
  • @@ -183,6 +196,11 @@ (defaults to: 'nagios') + — +
    +

    The name of the Nagios user to be created on the Nagios server. Default is ‘nagios’.

    +
    +
  • @@ -196,6 +214,11 @@ (defaults to: 'Nagios User') + — +
    +

    The comment field for the Nagios user. Default is ‘Nagios User’.

    +
    +
  • @@ -209,6 +232,11 @@ (defaults to: 'nagios') + — +
    +

    The group(s) to which the Nagios user should be added. Default is ‘nagios’.

    +
    +
  • @@ -222,6 +250,11 @@ (defaults to: '/sbin/nologin') + — +
    +

    The login shell for the Nagios user. Default is ‘/sbin/nologin’.

    +
    +
  • @@ -235,6 +268,11 @@ (defaults to: '/home/nagios') + — +
    +

    The home directory for the Nagios user. Default is ‘/home/nagios’.

    +
    +
  • @@ -248,1721 +286,28 @@ (defaults to: 1004) -
  • - -
  • - - ng_log_file - - - (String) - - - (defaults to: '/var/log/nagios/nagios.log') - + — +
    +

    The user ID for the Nagios user. Default is 1004.

    +
  • - ng_max_check_attempts - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_object_cache_file - - - (String) - - - (defaults to: '/var/spool/nagios/objects.cache') - - -
  • - -
  • - - ng_precached_obj_file - - - (String) - - - (defaults to: '/var/spool/nagios/objects.precache') - - -
  • - -
  • - - ng_resource_file - - - (String) - - - (defaults to: '/etc/nagios/private/resource.cfg') - - -
  • - -
  • - - ng_status_file - - - (String) - - - (defaults to: '/var/log/nagios/status.dat') - - -
  • - -
  • - - ng_status_upd_interval - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_check_ext_commands - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_command_file - - - (String) - - - (defaults to: '/var/spool/nagios/cmd/nagios.cmd') - - -
  • - -
  • - - ng_enable_query_handler + ng_include_nrpe (Boolean) - (defaults to: false) + (defaults to: true) -
  • - -
  • - - ng_query_socket - - - (String) - - - (defaults to: '/var/spool/nagios/cmd/nagios.qh') - - -
  • - -
  • - - ng_lock_file - - - (String) - - - (defaults to: '/var/run/nagios/nagios.pid') - - -
  • - -
  • - - ng_temp_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.tmp') - - -
  • - -
  • - - ng_temp_path - - - (String) - - - (defaults to: '/tmp') - - -
  • - -
  • - - ng_event_broker_options - - - (String) - - - (defaults to: '-1') - - -
  • - -
  • - - ng_event_broker_module - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_log_rotation_method - - - (String) - - - (defaults to: 'h') - - -
  • - -
  • - - ng_log_archive_path - - - (String) - - - (defaults to: '/var/log/nagios/archives') - - -
  • - -
  • - - ng_use_syslog - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_notifications - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_service_retries - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_host_retries - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_event_handlers - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_initial_states - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_log_current_states - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_external_commands - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_log_passive_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_glob_host_evt_handler - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_glob_svc_evt_handler - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_svc_int_check_delay - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_max_svc_check_spread - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_svc_interleave_factor - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_host_int_check_delay - - - (String) - - - (defaults to: 's') - - -
  • - -
  • - - ng_max_host_check_spread - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_max_concurrent_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_res_reaper_freq - - - (String) - - - (defaults to: '10') - - -
  • - -
  • - - ng_max_check_res_reap_time - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_check_result_path - - - (String) - - - (defaults to: '/var/spool/nagios/checkresults') - - -
  • - -
  • - - ng_max_check_res_file_age - - - (String) - - - (defaults to: '3600') - - -
  • - -
  • - - ng_cached_h_check_horizon - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_cached_s_check_horizon - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_pred_host_dep_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_pred_svc_dep_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_soft_state_dependencies - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_time_change_threshold - - - (String) - - - (defaults to: '900') - - -
  • - -
  • - - ng_auto_reschedule_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_auto_reschedule_intval - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_auto_reschedule_window - - - (String) - - - (defaults to: '180') - - -
  • - -
  • - - ng_service_check_timeout - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_host_check_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_event_handler_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_notification_timeout - - - (String) - - - (defaults to: '30') - - -
  • - -
  • - - ng_ocsp_timeout - - - (String) - - - (defaults to: '5') - - -
  • - -
  • - - ng_perfdata_timeout - - - (String) - - - (defaults to: '5') - - -
  • - -
  • - - ng_retain_state_inf - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_state_retention_file - - - (String) - - - (defaults to: '/var/spool/nagios/retention.dat') - - -
  • - -
  • - - ng_retention_update_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_use_ret_program_state - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_use_ret_scheduling_info - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_ret_host_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_service_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_proc_host_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_proc_svc_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_contact_h_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ret_contact_s_attr_mask - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_interval_length - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_check_for_updates - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_bare_update_check - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_use_aggr_host_checking - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_execute_service_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_accept_pass_svc_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_execute_host_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_accept_pass_host_checks - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_enable_notifications - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_enable_event_handlers - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_process_perf_data - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_perfdata_command - - - (String) - - - (defaults to: 'process-host-perfdata') - - -
  • - -
  • - - ng_svc_perfdata_command - - - (String) - - - (defaults to: 'process-service-perfdata') - - -
  • - -
  • - - ng_host_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/host-perfdata') - - -
  • - -
  • - - ng_service_perfdata_file - - - (String) - - - (defaults to: '/var/spool/nagios/service-perfdata') - - -
  • - -
  • - - ng_host_perfdata_template - - - (String) - - - (defaults to: '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$') - - -
  • - -
  • - - ng_svc_perfdata_template - - - (String) - - - (defaults to: '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$') - - -
  • - -
  • - - ng_host_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - -
  • - -
  • - - ng_svc_perfdata_file_mode - - - (String) - - - (defaults to: 'a') - - -
  • - -
  • - - ng_h_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_s_perfdata_proc_intval - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_h_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-host-perfdata-file') - - -
  • - -
  • - - ng_s_perfdata_proc_cmd - - - (String) - - - (defaults to: 'process-service-perfdata-file') - - -
  • - -
  • - - ng_h_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_s_perfdata_proc_e_res - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_obsess_over_services - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ocsp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_obsess_over_hosts - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_ochp_command - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_translate_pass_h_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_pass_h_checks_are_soft - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_orphaned_svc - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_orphaned_hosts - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_check_service_freshness - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_svc_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_svc_check_timeout_state - - - (String) - - - (defaults to: 'c') - - -
  • - -
  • - - ng_check_host_freshness - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_host_fresh_check_intval - - - (String) - - - (defaults to: '60') - - -
  • - -
  • - - ng_add_freshness_latency - - - (String) - - - (defaults to: '15') - - -
  • - -
  • - - ng_enable_flap_detection - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_low_svc_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_svc_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_low_h_flap_threshold - - - (String) - - - (defaults to: '5.0') - - -
  • - -
  • - - ng_high_h_flap_threshold - - - (String) - - - (defaults to: '20.0') - - -
  • - -
  • - - ng_date_format - - - (String) - - - (defaults to: 'us') - - -
  • - -
  • - - ng_use_timezone_offset - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_use_timezone - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_illegal_obj_name_chars - - - (String) - - - (defaults to: '`~!$%^&*|\'"<>?,()=') - - -
  • - -
  • - - ng_ill_macro_output_chars - - - (String) - - - (defaults to: '`~$&|\'"<>') - - -
  • - -
  • - - ng_use_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_true_regexp_matching - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_daemon_dumps_core - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_use_large_inst_tweaks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_env_macros - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_free_child_process_mem - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_child_proc_fork_twice - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_level - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_debug_verbosity - - - (String) - - - (defaults to: '1') - - -
  • - -
  • - - ng_debug_file - - - (String) - - - (defaults to: '/var/spool/nagios/nagios.debug') - - -
  • - -
  • - - ng_max_debug_file_size - - - (String) - - - (defaults to: '1000000') - - -
  • - -
  • - - ng_allow_empty_hostgroups - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_check_workers - - - (String) - - - (defaults to: '') - - -
  • - -
  • - - ng_host_down_svc_checks - - - (String) - - - (defaults to: '0') - - -
  • - -
  • - - ng_enable_load_ctl_options - - - (Boolean) - - - (defaults to: false) - - -
  • - -
  • - - ng_loadctl_options - - - (String) - - - (defaults to: 'jobs_max=100;backoff_limit=10;rampup_change=5') - - -
  • - -
  • - - ng_mail_user - - - (String) - - - (defaults to: 'admin@example.net') - - -
  • - -
  • - - ng_page_user - - - (String) - - - (defaults to: 'pageadmin@example.net') - + — +
    +

    Whether to include the NRPE client on the Nagios clients. Default is true.

    +
  • @@ -1977,6 +322,11 @@ (defaults to: false) + — +
    +

    Whether to configure the Nagios web interface to use HTTPS. Default is false. We recommend using a reverse proxy with SSL termination in front of the Nagios web interface, so this is disabled by default.

    +
    + @@ -1990,257 +340,123 @@
     
     
    -428
    -429
    -430
    -431
    -432
    -433
    -434
    -435
    -436
    -437
    -438
    -439
    -440
    -441
    -442
    -443
    -444
    -445
    -446
    -447
    -448
    -449
    -450
    -451
    -452
    -453
    -454
    -455
    -456
    -457
    -458
    -459
    -460
    -461
    -462
    -463
    -464
    -465
    -466
    -467
    -468
    -469
    -470
    -471
    -472
    -473
    -474
    -475
    -476
    -477
    -478
    -479
    -480
    -481
    -482
    -483
    -484
    -485
    -486
    -487
    -488
    -489
    -490
    -491
    -492
    -493
    -494
    -495
    -496
    -497
    -498
    -499
    -500
    -501
    -502
    -503
    -504
    -505
    -506
    -507
    -508
    -509
    -510
    -511
    -512
    -513
    -514
    -515
    -516
    -517
    -518
    -519
    -520
    -521
    -522
    -523
    -524
    -525
    -526
    -527
    -528
    -529
    -530
    -531
    -532
    -533
    -534
    -535
    -536
    -537
    -538
    -539
    -540
    -541
    -542
    -543
    -544
    -545
    -546
    -547
    -548
    -549
    -550
    -551
    -552
    -553
    -554
    -555
    -556
    -557
    -558
    -559
    -560
    -561
    -562
    -563
    -564
    -565
    -566
    -567
    -568
    -569
    -570
    -571
    -572
    -573
    -574
    -575
    -576
    -577
    -578
    -579
    -580
    -581
    -582
    -583
    -584
    -585
    -586
    -587
    -588
    -589
    -590
    -591
    -592
    -593
    -594
    -595
    -596
    -597
    -598
    -599
    -600
    -601
    -602
    -603
    -604
    -605
    -606
    -607
    -608
    -609
    -610
    -611
    -612
    -613
    -614
    -615
    -616
    -617
    -618
    -619
    -620
    -621
    -622
    -623
    -624
    -625
    -626
    -627
    -628
    -629
    -630
    -631
    -632
    -633
    -634
    -635
    -636
    -637
    -638
    -639
    -640
    -641
    -642
    -643
    -644
    -645
    -646
    -647
    -648
    -649
    -650
    -651
    -652
    -653
    -654
    -655
    -656
    -657
    -658
    -659
    -660
    -661
    -662
    -663
    -664
    -665
    -666
    -667
    -668
    -669
    -670
    -671
    -672
    -673
    -674
    -675
    +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73 +74 +75 +76 +77 +78 +79 +80 +81 +82 +83 +84 +85 +86 +87 +88 +89 +90 +91 +92 +93 +94 +95 +96 +97 +98 +99 +100 +101 +102 +103 +104 +105 +106 +107 +108 +109 +110 +111 +112 +113 +114 +115 +116 +117 +118 +119 +120 +121 +122 +123 +124 +125 +126 +127 +128 +129 +130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145 +146 +147 -
    # File 'manifests/params.pp', line 428
    +        
    # File 'manifests/params.pp', line 34
     
     class confdroid_nagios::params (
     
    @@ -2259,140 +475,6 @@ class confdroid_nagios::params (
       String $ng_u_home                 = '/home/nagios',
       Integer $ng_u_uid                 = 1004,
     
    -# nagios_cfg settings
    -  String $ng_log_file                = '/var/log/nagios/nagios.log',
    -  String $ng_max_check_attempts      = '10',
    -  String $ng_object_cache_file       = '/var/spool/nagios/objects.cache',
    -  String $ng_precached_obj_file      = '/var/spool/nagios/objects.precache',
    -  String $ng_resource_file           = '/etc/nagios/private/resource.cfg',
    -  String $ng_status_file             = '/var/log/nagios/status.dat',
    -  String $ng_status_upd_interval     = '10',
    -  String $ng_check_ext_commands      = '1',
    -  String $ng_command_file            = '/var/spool/nagios/cmd/nagios.cmd',
    -  Boolean $ng_enable_query_handler   = false,
    -  String $ng_query_socket            = '/var/spool/nagios/cmd/nagios.qh',
    -  String $ng_lock_file               = '/var/run/nagios/nagios.pid',
    -  String $ng_temp_file               = '/var/spool/nagios/nagios.tmp',
    -  String $ng_temp_path               = '/tmp',
    -  String $ng_event_broker_options    = '-1',
    -  String $ng_event_broker_module     = '',
    -  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',
    -  String $ng_glob_host_evt_handler   = '',
    -  String $ng_glob_svc_evt_handler    = '',
    -  String $ng_svc_int_check_delay     = 's',
    -  String $ng_max_svc_check_spread    = '30',
    -  String $ng_svc_interleave_factor   = 's',
    -  String $ng_host_int_check_delay    = 's',
    -  String $ng_max_host_check_spread   = '30',
    -  String $ng_max_concurrent_checks   = '0',
    -  String $ng_check_res_reaper_freq   = '10',
    -  String $ng_max_check_res_reap_time = '30',
    -  String $ng_check_result_path       = '/var/spool/nagios/checkresults',
    -  String $ng_max_check_res_file_age  = '3600',
    -  String $ng_cached_h_check_horizon  = '15',
    -  String $ng_cached_s_check_horizon  = '15',
    -  String $ng_pred_host_dep_checks    = '1',
    -  String $ng_pred_svc_dep_checks     = '1',
    -  String $ng_soft_state_dependencies = '0',
    -  String $ng_time_change_threshold   = '900',
    -  String $ng_auto_reschedule_checks  = '0',
    -  String $ng_auto_reschedule_intval  = '30',
    -  String $ng_auto_reschedule_window  = '180',
    -  String $ng_service_check_timeout   = '60',
    -  String $ng_host_check_timeout      = '30',
    -  String $ng_event_handler_timeout   = '30',
    -  String $ng_notification_timeout    = '30',
    -  String $ng_ocsp_timeout            = '5',
    -  String $ng_perfdata_timeout        = '5',
    -  String $ng_retain_state_inf        = '1',
    -  String $ng_state_retention_file    = '/var/spool/nagios/retention.dat',
    -  String $ng_retention_update_intval = '60',
    -  String $ng_use_ret_program_state   = '1',
    -  String $ng_use_ret_scheduling_info = '1',
    -  String $ng_ret_host_attr_mask      = '0',
    -  String $ng_ret_service_attr_mask   = '0',
    -  String $ng_ret_proc_host_attr_mask = '0',
    -  String $ng_ret_proc_svc_attr_mask  = '0',
    -  String $ng_ret_contact_h_attr_mask = '0',
    -  String $ng_ret_contact_s_attr_mask = '0',
    -  String $ng_interval_length         = '60',
    -  String $ng_check_for_updates       = '1',
    -  String $ng_bare_update_check       = '0',
    -  String $ng_use_aggr_host_checking  = '0',
    -  String $ng_execute_service_checks  = '1',
    -  String $ng_accept_pass_svc_checks  = '1',
    -  String $ng_execute_host_checks     = '1',
    -  String $ng_accept_pass_host_checks = '1',
    -  String $ng_enable_notifications    = '1',
    -  String $ng_enable_event_handlers   = '1',
    -  String $ng_process_perf_data       = '0',
    -  String $ng_host_perfdata_command   = 'process-host-perfdata',
    -  String $ng_svc_perfdata_command    = 'process-service-perfdata',
    -  String $ng_host_perfdata_file      = '/var/spool/nagios/host-perfdata',
    -  String $ng_service_perfdata_file   = '/var/spool/nagios/service-perfdata',
    -  String $ng_host_perfdata_template  = '[HOSTPERFDATA]\t$TIMET$\t$HOSTNAME$\t$HOSTEXECUTIONTIME$\t$HOSTOUTPUT$\t$HOSTPERFDATA$',
    -  String $ng_svc_perfdata_template   = '[SERVICEPERFDATA]\t$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$',
    -  String $ng_host_perfdata_file_mode = 'a',
    -  String $ng_svc_perfdata_file_mode  = 'a',
    -  String $ng_h_perfdata_proc_intval  = '0',
    -  String $ng_s_perfdata_proc_intval  = '0',
    -  String $ng_h_perfdata_proc_cmd     = 'process-host-perfdata-file',
    -  String $ng_s_perfdata_proc_cmd     = 'process-service-perfdata-file',
    -  String $ng_h_perfdata_proc_e_res   = '1',
    -  String $ng_s_perfdata_proc_e_res   = '1',
    -  String $ng_obsess_over_services    = '0',
    -  String $ng_ocsp_command            = '',
    -  String $ng_obsess_over_hosts       = '0',
    -  String $ng_ochp_command            = '',
    -  String $ng_translate_pass_h_checks = '0',
    -  String $ng_pass_h_checks_are_soft  = '0',
    -  String $ng_check_orphaned_svc      = '1',
    -  String $ng_check_orphaned_hosts    = '1',
    -  String $ng_check_service_freshness = '1',
    -  String $ng_svc_fresh_check_intval  = '60',
    -  String $ng_svc_check_timeout_state = 'c',
    -  String $ng_check_host_freshness    = '0',
    -  String $ng_host_fresh_check_intval = '60',
    -  String $ng_add_freshness_latency   = '15',
    -  String $ng_enable_flap_detection   = '1',
    -  String $ng_low_svc_flap_threshold  = '5.0',
    -  String $ng_high_svc_flap_threshold = '20.0',
    -  String $ng_low_h_flap_threshold    = '5.0',
    -  String $ng_high_h_flap_threshold   = '20.0',
    -  String $ng_date_format             = 'us',
    -  Boolean $ng_use_timezone_offset    = false,
    -  String $ng_use_timezone            = '',
    -  String $ng_illegal_obj_name_chars  = '`~!$%^&*|\'"<>?,()=',
    -  String $ng_ill_macro_output_chars  = '`~$&|\'"<>',
    -  String $ng_use_regexp_matching     = '0',
    -  String $ng_true_regexp_matching    = '0',
    -  String $ng_daemon_dumps_core       = '0',
    -  String $ng_use_large_inst_tweaks   = '0',
    -  String $ng_enable_env_macros       = '0',
    -  String $ng_free_child_process_mem  = '1',
    -  String $ng_child_proc_fork_twice   = '1',
    -  String $ng_debug_level             = '0',
    -  String $ng_debug_verbosity         = '1',
    -  String $ng_debug_file              = '/var/spool/nagios/nagios.debug',
    -  String $ng_max_debug_file_size     = '1000000',
    -  String $ng_allow_empty_hostgroups  = '0',
    -  String $ng_check_workers           = '',
    -  String $ng_host_down_svc_checks    = '0',
    -  Boolean $ng_enable_load_ctl_options = false,
    -  String $ng_loadctl_options         = 'jobs_max=100;backoff_limit=10;rampup_change=5',
    -  String $ng_mail_user               = 'admin@example.net',
    -  String $ng_page_user               = 'pageadmin@example.net',
    -
     # httpd
       Boolean $ng_use_https       = false,
     
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    index f25fecb..330fea9 100644
    --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
    @@ -124,16 +124,16 @@ class confdroid_nagios::server::files (
     
     ) inherits confdroid_nagios::params {
       require confdroid_nagios::main::dirs
    -  if $ng_nagios_server == $fqdn {
    -    file { $ng_nagios_cfg_file:
    -      ensure  => file,
    -      owner   => $ng_user,
    -      group   => $ng_user,
    -      mode    => '0644',
    -      content => template($ng_nagios_cfg_erb),
    -      notify  => Service[$ng_nagios_service],
    -    }
    -  }
    +#  if $ng_nagios_server == $fqdn {
    +#    file { $ng_nagios_cfg_file:
    +#      ensure  => file,
    +#      owner   => $ng_user,
    +#      group   => $ng_user,
    +#      mode    => '0644',
    +#      content => template($ng_nagios_cfg_erb),
    +#      notify  => Service[$ng_nagios_service],
    +#    }
    +#  }
     }
    diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html index 71478f6..fa5c65c 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html @@ -123,15 +123,15 @@ class confdroid_nagios::server::service ( ) inherits confdroid_nagios::params { require confdroid_nagios::server::files - if $ng_nagios_server == $fqdn { - service { $ng_nagios_service: - ensure => running, - name => $ng_nagios_service, - enable => true, - hasrestart => true, - hasstatus => true, - } - } +# if $ng_nagios_server == $fqdn { +# service { $ng_nagios_service: +# ensure => running, +# name => $ng_nagios_service, +# enable => true, +# hasrestart => true, +# hasstatus => true, +# } +# } }