recommit for updates in build 93
This commit is contained in:
@@ -139,7 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -230,7 +230,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -368,7 +368,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -468,7 +468,7 @@ class cd_nagios::main::dirs (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -200,7 +200,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -595,7 +595,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -115,8 +115,7 @@ for more details.</p>
|
||||
<p>You should have received a copy of the GNU General Public License
|
||||
along
|
||||
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>/.</p>
|
||||
|
||||
</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>cd_nagios::objects::templates { $name:</p>
|
||||
<p>cd_nagios::nagios::objects::templates { 'generic contact':</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>
|
||||
|
||||
@@ -142,7 +143,6 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
@@ -170,10 +170,38 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
||||
51
|
||||
52
|
||||
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>
|
||||
<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 (
|
||||
|
||||
@@ -197,11 +225,38 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
# example rule
|
||||
cd_nagios::objects::templates { 'generic contact':
|
||||
# basic templates
|
||||
cd_nagios::nagios::objects::templates { 'generic contact':
|
||||
ng_template_object => '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>
|
||||
</td>
|
||||
@@ -211,7 +266,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -5557,7 +5557,7 @@ $ng_target_command = "${ng_conf_d_dir}/nagios_command.cfg"
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -249,7 +249,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
@@ -270,7 +270,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<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>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user