diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html index be63231..22a3825 100644 --- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html +++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html @@ -276,22 +276,22 @@ class confdroid_nagios::server::nagios ( ) inherits confdroid_nagios::params { if $ng_nagios_server == $fqdn { -# @@nagios_host { 'localhost': -# ensure => $ng_ping_ensure, -# alias => 'localhost', -# address => '127.0.0.1', -# use => 'linux-server', -# target => $ng_target_localhost, -# hostgroups => 'linux-servers', -# contacts => $ng_contact_name, -# max_check_attempts => $ng_max_check_attempts, -# notification_period => '24x7', -# owner => $ng_user, -# group => $ng_user, -# mode => '0640', -# check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}", -# notify => Service[$ng_service], -# } + @@nagios_host { 'localhost': + ensure => $ng_ping_ensure, + alias => 'localhost', + address => '127.0.0.1', + use => 'linux-server', + target => $ng_target_localhost, + hostgroups => 'linux-servers', + contacts => $ng_contact_name, + max_check_attempts => $ng_max_check_attempts, + notification_period => '24x7', + owner => $ng_user, + group => $ng_user, + mode => '0640', + check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}", + notify => Service[$ng_service], + } @@nagios_service { 'check_nagios_localhost': check_command => "check_nagios!${ng_spool_dir}/status.dat!5!/usr/sbin/nagios",