recommit for updates in build 93
This commit is contained in:
10
CHANGELOG.md
10
CHANGELOG.md
@@ -8,6 +8,16 @@ Changelog of Git Changelog.
|
|||||||
<h2> No issue </h2>
|
<h2> No issue </h2>
|
||||||
|
|
||||||
|
|
||||||
|
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/445db500b3ab876">445db500b3ab876</a> Jenkins Server <i>2017-07-25 16:15:39</i>
|
||||||
|
<p>
|
||||||
|
<h3>recommit for updates in build 92</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/b4e4ceb9b07cde4">b4e4ceb9b07cde4</a> Arne Teuke <i>2017-07-25 16:15:21</i>
|
||||||
|
<p>
|
||||||
|
<h3>added parameter documentation</h3>
|
||||||
|
|
||||||
|
</p>
|
||||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/a3517b81e663a07">a3517b81e663a07</a> Jenkins Server <i>2017-07-25 16:13:43</i>
|
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/a3517b81e663a07">a3517b81e663a07</a> Jenkins Server <i>2017-07-25 16:13:43</i>
|
||||||
<p>
|
<p>
|
||||||
<h3>recommit for updates in build 91</h3>
|
<h3>recommit for updates in build 91</h3>
|
||||||
|
|||||||
@@ -201,7 +201,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:29 2017 by
|
Generated on Tue Jul 25 19:56:29 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ environments.</p>
|
|||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:31 2017 by
|
Generated on Tue Jul 25 19:56:31 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -338,7 +338,7 @@ environments.</p>
|
|||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:30 2017 by
|
Generated on Tue Jul 25 19:56:30 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ class cd_nagios {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:31 2017 by
|
Generated on Tue Jul 25 19:56:31 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class cd_nagios::certbot::certs (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -368,7 +368,7 @@ class cd_nagios::client::target (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ class cd_nagios::main::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -468,7 +468,7 @@ class cd_nagios::main::dirs (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:34 2017 by
|
Generated on Tue Jul 25 19:56:34 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ class cd_nagios::main::install (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ class cd_nagios::main::user (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:34 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -595,7 +595,7 @@ class cd_nagios::nagios::objects::commands (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -115,8 +115,7 @@ for more details.</p>
|
|||||||
<p>You should have received a copy of the GNU General Public License
|
<p>You should have received a copy of the GNU General Public License
|
||||||
along
|
along
|
||||||
with this program. If not, see <a
|
with this program. If not, see <a
|
||||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||||
}</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -127,10 +126,12 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
|||||||
|
|
||||||
|
|
||||||
<p class="example_title"><div class='inline'>
|
<p class="example_title"><div class='inline'>
|
||||||
<p>cd_nagios::objects::templates { $name:</p>
|
<p>cd_nagios::nagios::objects::templates { 'generic contact':</p>
|
||||||
</div></p>
|
</div></p>
|
||||||
|
|
||||||
<pre class="example code"><code>ng_template_object => 'service',</code></pre>
|
<pre class="example code"><code>ng_template_object => 'contact',
|
||||||
|
ng_template_object_name => 'generic-contact',
|
||||||
|
}</code></pre>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -142,7 +143,6 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
26
|
|
||||||
27
|
27
|
||||||
28
|
28
|
||||||
29
|
29
|
||||||
@@ -170,10 +170,38 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
|||||||
51
|
51
|
||||||
52
|
52
|
||||||
53
|
53
|
||||||
54</pre>
|
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</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/template_rules.pp', line 26</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/template_rules.pp', line 27</span>
|
||||||
|
|
||||||
class cd_nagios::nagios::objects::template_rules (
|
class cd_nagios::nagios::objects::template_rules (
|
||||||
|
|
||||||
@@ -197,11 +225,38 @@ class cd_nagios::nagios::objects::template_rules (
|
|||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
# example rule
|
# basic templates
|
||||||
cd_nagios::objects::templates { 'generic contact':
|
cd_nagios::nagios::objects::templates { 'generic contact':
|
||||||
ng_template_object => 'contact',
|
ng_template_object => 'contact',
|
||||||
ng_template_object_name => 'generic-contact',
|
ng_template_object_name => 'generic-contact',
|
||||||
}
|
}
|
||||||
|
cd_nagios::nagios::objects::templates { 'generic-host':
|
||||||
|
ng_template_object => 'host',
|
||||||
|
ng_template_object_name => 'generic-host',
|
||||||
|
}
|
||||||
|
cd_nagios::nagios::objects::templates { 'linux-server':
|
||||||
|
ng_template_object => 'host',
|
||||||
|
ng_template_object_name => 'linux-server',
|
||||||
|
ng_template_object_use => 'generic-host',
|
||||||
|
ng_notification_options => 'd,u,r',
|
||||||
|
}
|
||||||
|
cd_nagios::nagios::objects::templates { 'windows-server':
|
||||||
|
ng_template_object => 'host',
|
||||||
|
ng_template_object_name => 'windows-server',
|
||||||
|
ng_template_object_use => 'generic-host',
|
||||||
|
ng_notification_options => 'd,u,r',
|
||||||
|
}
|
||||||
|
cd_nagios::nagios::objects::templates { 'generic-service':
|
||||||
|
ng_template_object => 'service',
|
||||||
|
ng_template_object_name => 'generic-service',
|
||||||
|
ng_max_check_attempts => '3',
|
||||||
|
ng_notification_options => 'w,u,c,r',
|
||||||
|
}
|
||||||
|
cd_nagios::nagios::objects::templates { 'local-service':
|
||||||
|
ng_template_object => 'service',
|
||||||
|
ng_template_object_name => 'generic-service',
|
||||||
|
ng_max_check_attempts => '4',
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
@@ -211,7 +266,7 @@ class cd_nagios::nagios::objects::template_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:36 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5557,7 +5557,7 @@ $ng_target_command = "${ng_conf_d_dir}/nagios_command.cfg"
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:34 2017 by
|
Generated on Tue Jul 25 19:56:34 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -249,7 +249,7 @@ class cd_nagios::selinux::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -334,7 +334,7 @@ class cd_nagios::server::files (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -270,7 +270,7 @@ class cd_nagios::server::service (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:35 2017 by
|
Generated on Tue Jul 25 19:56:35 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -108,7 +108,9 @@ for more details.</p>
|
|||||||
<p>You should have received a copy of the GNU General Public License
|
<p>You should have received a copy of the GNU General Public License
|
||||||
along
|
along
|
||||||
with this program. If not, see <a
|
with this program. If not, see <a
|
||||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
||||||
|
notifications.
|
||||||
|
for the defined service or host.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -130,7 +132,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>the object type for the templates.
|
<p>the object type for the templates.
|
||||||
valid options are <code>contact</code>,
|
Valid options are <code>contact</code>,
|
||||||
<code>host</code> and <code>service</code>.</p>
|
<code>host</code> and <code>service</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -247,7 +249,7 @@ r = notify on host
|
|||||||
recoveries (UP states),
|
recoveries (UP states),
|
||||||
f = notify when the host starts and stops
|
f = notify when the host starts and stops
|
||||||
flapping,
|
flapping,
|
||||||
s = snotify when host or service scheduled downtime starts and
|
s = notify when host or service scheduled downtime starts and
|
||||||
ends.
|
ends.
|
||||||
n = none (the contact will not receive any type of host
|
n = none (the contact will not receive any type of host
|
||||||
notifications).</p>
|
notifications).</p>
|
||||||
@@ -315,6 +317,478 @@ definition, we do not want to register those.</p>
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_template_object_use</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Which template to use for a given
|
||||||
|
host or service definition, i.e.
|
||||||
|
<code>generic-host</code>, <code>generic-service</code> etc.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_notifications_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether notifications are enabled.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_event_handler_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether event handlers are enabled.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_flap_detection_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether flap detection is enabled.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_failure_prediction_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether failure prediction is
|
||||||
|
enabled. Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_process_perf_data</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to process performance data.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_retain_status_information</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to retain status
|
||||||
|
information. Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_retain_nonstatus_information</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to retain non-status
|
||||||
|
information. Valid options are <code>0</code>
|
||||||
|
and <code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_notification_period</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'24x7'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Which period in to send out</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_notification_interval</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whoe often (in minutes) we should
|
||||||
|
resend notifications for the current
|
||||||
|
status.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_check_period</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'24x7'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Which period in to run checks for the defined
|
||||||
|
object.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_check_interval</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'5'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>How often in minutes to check the defined
|
||||||
|
object.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_retry_interval</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>at what interval in minutes to schedule
|
||||||
|
retries for the defined object.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_max_check_attempts</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>how often to check the defined object
|
||||||
|
maximal.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_notification_options</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>see <code>ng_service_notification_options</code>
|
||||||
|
and
|
||||||
|
<code>ng_host_notification_options</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_contact_groups</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'admins'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>contact groups for the defined oject.
|
||||||
|
Specified contact group must exit in
|
||||||
|
contact_groups</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_active_checks_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to enable active checks.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_passive_checks_enabled</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to enable passive checks.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_parallelize_check</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to parallelize checks
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_obsess_over_service</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to obsess over the service.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_check_freshness</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to check freshness.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_is_volatile</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether the service is volatile.
|
||||||
|
Valid options are <code>0</code> and
|
||||||
|
<code>1</code>.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_normal_check_interval</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>How often to check the service
|
||||||
|
under normal conditions.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_retry_check_interval</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>string</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'2'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Re-check the service every x minutes
|
||||||
|
until a hard state can be determined.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
|
|
||||||
<span class='name'>ng_host_notification_period</span>
|
<span class='name'>ng_host_notification_period</span>
|
||||||
@@ -328,6 +802,19 @@ definition, we do not want to register those.</p>
|
|||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_check_command</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>Any</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'check-host-alive'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -338,33 +825,59 @@ definition, we do not want to register those.</p>
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
53
|
101
|
||||||
54
|
102
|
||||||
55
|
103
|
||||||
56
|
104
|
||||||
57
|
105
|
||||||
58
|
106
|
||||||
59
|
107
|
||||||
60
|
108
|
||||||
61
|
109
|
||||||
62
|
110
|
||||||
63
|
111
|
||||||
64
|
112
|
||||||
65
|
113
|
||||||
66
|
114
|
||||||
67
|
115
|
||||||
68
|
116
|
||||||
69
|
117
|
||||||
70
|
118
|
||||||
71
|
119
|
||||||
72
|
120
|
||||||
73
|
121
|
||||||
74
|
122
|
||||||
75
|
123
|
||||||
76</pre>
|
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</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/templates.pp', line 53</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/templates.pp', line 101</span>
|
||||||
|
|
||||||
define cd_nagios::nagios::objects::templates (
|
define cd_nagios::nagios::objects::templates (
|
||||||
$ng_template_object = undef,
|
$ng_template_object = undef,
|
||||||
@@ -376,6 +889,32 @@ $ng_host_notification_options = 'd,u,r,f,s',
|
|||||||
$ng_service_notification_commands = 'notify-service-by-email',
|
$ng_service_notification_commands = 'notify-service-by-email',
|
||||||
$ng_host_notification_commands = 'notify-host-by-email',
|
$ng_host_notification_commands = 'notify-host-by-email',
|
||||||
$ng_object_register = '0',
|
$ng_object_register = '0',
|
||||||
|
$ng_template_object_use = undef,
|
||||||
|
$ng_notifications_enabled = '1',
|
||||||
|
$ng_event_handler_enabled = '1',
|
||||||
|
$ng_flap_detection_enabled = '1',
|
||||||
|
$ng_failure_prediction_enabled = '1',
|
||||||
|
$ng_process_perf_data = '1',
|
||||||
|
$ng_retain_status_information = '1',
|
||||||
|
$ng_retain_nonstatus_information = '1',
|
||||||
|
$ng_notification_period = '24x7',
|
||||||
|
$ng_notification_interval = '30',
|
||||||
|
$ng_check_period = '24x7',
|
||||||
|
$ng_check_interval = '5',
|
||||||
|
$ng_retry_interval = '1',
|
||||||
|
$ng_max_check_attempts = '10',
|
||||||
|
$ng_check_command = 'check-host-alive',
|
||||||
|
$ng_notification_options = undef,
|
||||||
|
$ng_contact_groups = 'admins',
|
||||||
|
$ng_active_checks_enabled = '1',
|
||||||
|
$ng_passive_checks_enabled = '1',
|
||||||
|
$ng_parallelize_check = '1',
|
||||||
|
$ng_obsess_over_service = '1',
|
||||||
|
$ng_check_freshness = '0',
|
||||||
|
$ng_is_volatile = '0',
|
||||||
|
$ng_normal_check_interval = '10',
|
||||||
|
$ng_retry_check_interval = '2',
|
||||||
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$ng_nagios_server = $::cd_nagios::params::ng_nagios_server
|
$ng_nagios_server = $::cd_nagios::params::ng_nagios_server
|
||||||
@@ -397,7 +936,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:36 2017 by
|
Generated on Tue Jul 25 19:56:36 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:36 2017 by
|
Generated on Tue Jul 25 19:56:36 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -90,7 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Tue Jul 25 18:15:31 2017 by
|
Generated on Tue Jul 25 19:56:31 2017 by
|
||||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||||
0.9.9 (ruby-2.0.0).
|
0.9.9 (ruby-2.0.0).
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user