Merge branch 'master' of gitlab.puppetsoft.com:12ww1160/cd_nagios into HEAD
This commit is contained in:
770
CHANGELOG.md
770
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@@ -281,7 +281,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:44 2017 by
|
||||
Generated on Sat Sep 23 18:01:38 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>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.6 | <a
|
||||
|<code>cd_nagios</code>| 0.0.1.8 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
|
||||
@@ -343,7 +343,7 @@ far this module works through the usage of NRPE, which by default is
|
||||
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
||||
required firewall port on clients (optional,default).</p>
|
||||
|
||||
<h3 id="label-Manage+additional+resources">Manage additional resources</h3>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
|
||||
@@ -404,7 +404,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:46 2017 by
|
||||
Generated on Sat Sep 23 18:01:40 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>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.6 | <a
|
||||
|<code>cd_nagios</code>| 0.0.1.8 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
|
||||
@@ -343,7 +343,7 @@ far this module works through the usage of NRPE, which by default is
|
||||
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
||||
required firewall port on clients (optional,default).</p>
|
||||
|
||||
<h3 id="label-Manage+additional+resources">Manage additional resources</h3>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
|
||||
@@ -404,7 +404,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:45 2017 by
|
||||
Generated on Sat Sep 23 18:01:39 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>
|
||||
|
||||
@@ -139,7 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:46 2017 by
|
||||
Generated on Sat Sep 23 18:01:41 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 Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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>
|
||||
|
||||
@@ -384,7 +384,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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 Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:44 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>
|
||||
|
||||
@@ -213,7 +213,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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>
|
||||
|
||||
@@ -194,7 +194,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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>
|
||||
|
||||
@@ -217,7 +217,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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 Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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 Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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>
|
||||
|
||||
@@ -171,12 +171,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64</pre>
|
||||
59</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_servicegroup_rules.pp', line 29</span>
|
||||
@@ -210,11 +205,6 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
content => template($ng_tgt_svcgrp_head_erb),
|
||||
order => '000',
|
||||
}
|
||||
|
||||
cd_nagios::nagios::objects::add_servicegroups { 'example_servicegroup':
|
||||
ng_servicegroup_name => 'example_servicegroup',
|
||||
ng_servicegroup_alias => 'Example Servicegroup',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
@@ -224,7 +214,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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>
|
||||
|
||||
@@ -222,7 +222,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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>
|
||||
|
||||
@@ -346,18 +346,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
237
|
||||
238
|
||||
239
|
||||
240
|
||||
241
|
||||
242
|
||||
243
|
||||
244
|
||||
245
|
||||
246
|
||||
247
|
||||
248
|
||||
249
|
||||
250
|
||||
251</pre>
|
||||
240</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 24</span>
|
||||
@@ -548,17 +537,6 @@ class cd_nagios::nagios::objects::commands (
|
||||
target => $ng_target_command,
|
||||
}
|
||||
|
||||
@@nagios_command { 'check_jenkins_api':
|
||||
ensure => present,
|
||||
command_name => 'check_jenkins_api',
|
||||
command_line => '$USER1$/check_http -H $HOSTADDRESS$ -u /api/xml?depth=0 -R quietingDown.false $ARG1$ $ARG2$',
|
||||
owner => 'nagios',
|
||||
group => 'nagios',
|
||||
mode => '0640',
|
||||
target => $ng_target_command,
|
||||
}
|
||||
|
||||
|
||||
@@nagios_command { 'process-service-perfdata-file':
|
||||
ensure => present,
|
||||
command_name => 'process-service-perfdata-file',
|
||||
@@ -597,7 +575,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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>
|
||||
|
||||
@@ -4908,7 +4908,7 @@ configuration file.</p>
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to enable the declaration of
|
||||
the swap check. Disabling thi smakes
|
||||
the swap check. Disabling this makes
|
||||
sense when you use the <code>cd_swap</code>
|
||||
Puppet module and have enabled
|
||||
the check declaration from there, so the
|
||||
@@ -5665,7 +5665,7 @@ $ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/us
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:44 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>
|
||||
|
||||
@@ -324,7 +324,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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 Mon Jul 31 18:26:51 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:45 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>
|
||||
|
||||
@@ -213,7 +213,118 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
104
|
||||
105
|
||||
106
|
||||
107</pre>
|
||||
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
|
||||
148
|
||||
149
|
||||
150
|
||||
151
|
||||
152
|
||||
153
|
||||
154
|
||||
155
|
||||
156
|
||||
157
|
||||
158
|
||||
159
|
||||
160
|
||||
161
|
||||
162
|
||||
163
|
||||
164
|
||||
165
|
||||
166
|
||||
167
|
||||
168
|
||||
169
|
||||
170
|
||||
171
|
||||
172
|
||||
173
|
||||
174
|
||||
175
|
||||
176
|
||||
177
|
||||
178
|
||||
179
|
||||
180
|
||||
181
|
||||
182
|
||||
183
|
||||
184
|
||||
185
|
||||
186
|
||||
187
|
||||
188
|
||||
189
|
||||
190
|
||||
191
|
||||
192
|
||||
193
|
||||
194
|
||||
195
|
||||
196
|
||||
197
|
||||
198
|
||||
199
|
||||
200
|
||||
201
|
||||
202
|
||||
203
|
||||
204
|
||||
205
|
||||
206
|
||||
207
|
||||
208
|
||||
209
|
||||
210
|
||||
211
|
||||
212
|
||||
213
|
||||
214
|
||||
215
|
||||
216
|
||||
217
|
||||
218</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
|
||||
@@ -268,6 +379,117 @@ class cd_nagios::server::service (
|
||||
contacts => 'ops',
|
||||
}
|
||||
|
||||
@@nagios_host { $::fqdn:
|
||||
ensure => $ng_ping_ensure,
|
||||
alias => $::hostname,
|
||||
address => $::fqdn,
|
||||
use => 'linux-server',
|
||||
target => $ng_target_host,
|
||||
hostgroups => 'linux-servers',
|
||||
contacts => 'ops',
|
||||
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_user],
|
||||
}
|
||||
|
||||
@@nagios_service { "root_partition_${::hostname}":
|
||||
ensure => $ng_disk_ensure,
|
||||
check_command => "check_nrpe!check_disk!${ng_disk_warn}!${ng_disk_crit}!/",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_root_partition",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
if $ng_enable_swap_check == true {
|
||||
|
||||
@@nagios_service { "Swap_Usage_${::hostname}":
|
||||
ensure => $ng_swap_ensure,
|
||||
check_command => "check_nrpe!check_swap!${ng_swap_warn}!${ng_swap_crit}",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_swap_usage",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@nagios_service { "Local_Users_${::hostname}":
|
||||
ensure => $ng_users_ensure,
|
||||
check_command => "check_nrpe!check_users!${ng_users_warn}!${ng_users_crit}",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_local_users",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Total Processes_${::hostname}":
|
||||
ensure => $ng_procs_tot_ens,
|
||||
check_command => "check_nrpe!check_procs!${ng_procs_tot_warn}!${ng_procs_tot_crit}!${ng_procs_tot_param}",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_total_processes",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Zombie Processes_${::hostname}":
|
||||
ensure => $ng_procs_z_ensure,
|
||||
check_command => "check_nrpe!check_procs!${ng_procs_z_warn}!${ng_procs_z_crit}!${ng_procs_z_param}",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_zombie_processes",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
@@nagios_service { "Current_Load_${::hostname}":
|
||||
ensure => $ng_load_ensure,
|
||||
check_command => "check_nrpe!check_load!${ng_load_warn}!${ng_load_crit}",
|
||||
use => 'generic-service',
|
||||
host_name => $::fqdn,
|
||||
contacts => 'ops',
|
||||
notification_period => '24x7',
|
||||
service_description => "${::hostname}_current_load",
|
||||
servicegroups => 'linux-services',
|
||||
target => $ng_target_service,
|
||||
owner => $ng_user,
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
}
|
||||
|
||||
resources { [ 'nagios_host',
|
||||
'nagios_hostgroup',
|
||||
'nagios_hostdependency',
|
||||
@@ -310,7 +532,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:50 2017 by
|
||||
Generated on Sat Sep 23 18:01:46 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 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:48 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 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:49 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>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:48 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>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:49 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>
|
||||
|
||||
@@ -370,7 +370,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:48 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>
|
||||
|
||||
@@ -906,7 +906,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:53 2017 by
|
||||
Generated on Sat Sep 23 18:01:48 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>
|
||||
|
||||
@@ -220,7 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:52 2017 by
|
||||
Generated on Sat Sep 23 18:01:47 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>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Mon Jul 31 18:26:46 2017 by
|
||||
Generated on Sat Sep 23 18:01:40 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