recommit for updates in build 134
This commit is contained in:
@@ -139,7 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:45 2017 by
|
||||
Generated on Fri Jul 28 13:21:52 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -230,7 +230,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -261,13 +261,13 @@ class cd_nagios::client::target (
|
||||
target => $ng_target_host,
|
||||
hostgroups => 'linux-servers',
|
||||
contacts => 'ops',
|
||||
max_check_attempts => $max_check_attempts,
|
||||
ng_max_check_attempts => $ng_max_check_attempts,
|
||||
notification_period => '24x7',
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
check_command => "check_ping!${ng_ping_warn}!${ng_ping_crit}",
|
||||
notify => Service['nagios'],
|
||||
notify => Service[$ng_user],
|
||||
}
|
||||
|
||||
@@nagios_service { "root_partition_${::hostname}":
|
||||
@@ -280,9 +280,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_root_partition",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Swap_Usage_${::hostname}":
|
||||
@@ -295,9 +295,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_swap_usage",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Local_Users_${::hostname}":
|
||||
@@ -310,9 +310,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_local_users",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Total Processes_${::hostname}":
|
||||
@@ -325,9 +325,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_total_processes",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Zombie Processes_${::hostname}":
|
||||
@@ -340,9 +340,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_zombie_processes",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Current_Load_${::hostname}":
|
||||
@@ -355,9 +355,9 @@ class cd_nagios::client::target (
|
||||
service_description => "${::hostname}_current_load",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0664',
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
@@ -368,7 +368,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -468,7 +468,7 @@ class cd_nagios::main::dirs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -200,7 +200,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -210,7 +210,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -215,7 +215,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -214,7 +214,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -224,7 +224,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -178,20 +178,7 @@ ng_timep_friday => '00:00-00:00',
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77</pre>
|
||||
64</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_timeperiod_rules.pp', line 35</span>
|
||||
@@ -224,19 +211,6 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
content => template($ng_tgt_timep_head_erb),
|
||||
order => '000',
|
||||
}
|
||||
|
||||
# example rule
|
||||
cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
|
||||
ng_timep_name => 'example_timeperiod',
|
||||
ng_timep_alias => 'Example timeperiod',
|
||||
ng_timep_monday => '00:00-00:00',
|
||||
ng_timep_tuesday => '00:00-00:00',
|
||||
ng_timep_wednesday => '00:00-00:00',
|
||||
ng_timep_thursday => '00:00-00:00',
|
||||
ng_timep_friday => '00:00-00:00',
|
||||
ng_timep_saturday => '00:00-00:00',
|
||||
ng_timep_sunday => '00:00-00:00',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
@@ -246,7 +220,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -597,7 +597,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -182,7 +182,7 @@ class cd_nagios::nagios::objects::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -237,7 +237,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -280,7 +280,7 @@ class cd_nagios::nagios::objects::contacts (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -551,7 +551,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@ class cd_nagios::nagios::objects::servicegroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -305,7 +305,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:51 2017 by
|
||||
Generated on Fri Jul 28 13:21:58 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -285,7 +285,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -5611,7 +5611,7 @@ $ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/us
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -249,7 +249,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:49 2017 by
|
||||
Generated on Fri Jul 28 13:21:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -240,12 +240,12 @@ class cd_nagios::server::service (
|
||||
target => $ng_target_localhost,
|
||||
hostgroups => 'linux-servers',
|
||||
contacts => 'ops',
|
||||
max_check_attempts => $max_check_attempts,
|
||||
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}",
|
||||
check_command => "${check_ping}!${ng_ping_warn}!${ng_ping_crit}",
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Thu Jul 27 17:34:50 2017 by
|
||||
Generated on Fri Jul 28 13:21:57 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user