Recommit for updates in build 106
This commit is contained in:
@@ -933,6 +933,42 @@ inherited by all classes except defines.
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to enable the check_swap command. Default is true.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_status_upd_interval</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>The interval in seconds for Nagios to update the status file. Default is ‘10’.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_check_ext_commands</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to allow external commands to be submitted to Nagios. Default is ‘1’.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -948,10 +984,6 @@ inherited by all classes except defines.
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
101
|
||||
102
|
||||
103
|
||||
104
|
||||
105
|
||||
106
|
||||
107
|
||||
@@ -1116,10 +1148,16 @@ inherited by all classes except defines.
|
||||
266
|
||||
267
|
||||
268
|
||||
269</pre>
|
||||
269
|
||||
270
|
||||
271
|
||||
272
|
||||
273
|
||||
274
|
||||
275</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 101</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 105</span>
|
||||
|
||||
class confdroid_nagios::params (
|
||||
|
||||
@@ -1132,6 +1170,8 @@ class confdroid_nagios::params (
|
||||
String $ng_main_user = 'nagios',
|
||||
String $ng_main_password = 'nagios',
|
||||
String $ng_max_check_attempts = '10',
|
||||
String $ng_status_upd_interval = '10',
|
||||
String $ng_check_ext_commands = '1',
|
||||
|
||||
# contact groups
|
||||
String $ng_contactgroup_name = 'admins',
|
||||
|
||||
@@ -221,7 +221,8 @@ Puppet rules, and populates /etc/nagios/conf.d/nagios_add_contact.cfg.
|
||||
35
|
||||
36
|
||||
37
|
||||
38</pre>
|
||||
38
|
||||
39</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_contact.pp', line 19</span>
|
||||
@@ -238,6 +239,7 @@ define confdroid_nagios::nagios::objects::add_contact (
|
||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||
$ng_target_add_contact = $confdroid_nagios::params::ng_target_add_contact
|
||||
$ng_contacts_rule_erb = $confdroid_nagios::params::ng_contacts_rule_erb
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
if $ng_nagios_server == $fqdn {
|
||||
concat::fragment { $name:
|
||||
|
||||
@@ -170,7 +170,8 @@ external puppet rules.
|
||||
27
|
||||
28
|
||||
29
|
||||
30</pre>
|
||||
30
|
||||
31</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_contactgroups.pp', line 13</span>
|
||||
@@ -185,6 +186,7 @@ define confdroid_nagios::nagios::objects::add_contactgroups (
|
||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||
$ng_tgt_contactgroup_add = $confdroid_nagios::params::ng_tgt_contactgroup_add
|
||||
$ng_cntctgrps_rule_erb = $confdroid_nagios::params::ng_cntctgrps_rule_erb
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
if $ng_nagios_server == $fqdn {
|
||||
concat::fragment { $name:
|
||||
|
||||
@@ -181,7 +181,8 @@ external Puppet rules.
|
||||
29
|
||||
30
|
||||
31
|
||||
32</pre>
|
||||
32
|
||||
33</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_hostgroups.pp', line 15</span>
|
||||
@@ -196,6 +197,7 @@ define confdroid_nagios::nagios::objects::add_hostgroups (
|
||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||
$ng_tgt_hostgroup_add = $confdroid_nagios::params::ng_tgt_hostgroup_add
|
||||
$ng_tgt_hostgrp_rule_erb = $confdroid_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
if $ng_nagios_server == $fqdn {
|
||||
concat::fragment { $name:
|
||||
|
||||
@@ -183,7 +183,8 @@ external Puppet rules.
|
||||
32
|
||||
33
|
||||
34
|
||||
35</pre>
|
||||
35
|
||||
36</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/add_servicegroups.pp', line 18</span>
|
||||
@@ -198,6 +199,7 @@ define confdroid_nagios::nagios::objects::add_servicegroups (
|
||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||
$ng_tgt_servicegroup_add = $confdroid_nagios::params::ng_tgt_servicegroup_add
|
||||
$ng_tgt_svcgrp_rule_erb = $confdroid_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
if $ng_nagios_server == $fqdn {
|
||||
concat::fragment { $name:
|
||||
|
||||
Reference in New Issue
Block a user