Merge branch 'master' of gitlab.confdroid.com:12ww1160/cd_nagios into HEAD
This commit is contained in:
621
CHANGELOG.md
621
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@@ -30,6 +30,7 @@
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aservicegroups.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atimeperiods.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
|
||||
| | |-- cd_nagios_3A_3Aparams.html
|
||||
| | |-- cd_nagios_3A_3Aselinux_3A_3Aconfig.html
|
||||
| | |-- cd_nagios_3A_3Aserver_3A_3Aaccess_rules.html
|
||||
@@ -43,6 +44,7 @@
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroups.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_timeperiods.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplates.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
|
||||
| | `-- cd_nagios_3A_3Aserver_3A_3Aaccess.html
|
||||
| |-- file.README.html
|
||||
| |-- frames.html
|
||||
@@ -64,26 +66,29 @@
|
||||
| | |-- install.pp
|
||||
| | `-- user.pp
|
||||
| |-- nagios
|
||||
| | `-- objects
|
||||
| | |-- add_contactgroups.pp
|
||||
| | |-- add_contactgroups_rules.pp
|
||||
| | |-- add_contact.pp
|
||||
| | |-- add_contact_rules.pp
|
||||
| | |-- add_hostgroup_rules.pp
|
||||
| | |-- add_hostgroups.pp
|
||||
| | |-- add_servicegroup_rules.pp
|
||||
| | |-- add_servicegroups.pp
|
||||
| | |-- add_timeperiod_rules.pp
|
||||
| | |-- add_timeperiods.pp
|
||||
| | |-- commands.pp
|
||||
| | |-- config.pp
|
||||
| | |-- contactgroups.pp
|
||||
| | |-- contacts.pp
|
||||
| | |-- hostgroups.pp
|
||||
| | |-- servicegroups.pp
|
||||
| | |-- template_rules.pp
|
||||
| | |-- templates.pp
|
||||
| | `-- timeperiods.pp
|
||||
| | |-- objects
|
||||
| | | |-- add_contactgroups.pp
|
||||
| | | |-- add_contactgroups_rules.pp
|
||||
| | | |-- add_contact.pp
|
||||
| | | |-- add_contact_rules.pp
|
||||
| | | |-- add_hostgroup_rules.pp
|
||||
| | | |-- add_hostgroups.pp
|
||||
| | | |-- add_servicegroup_rules.pp
|
||||
| | | |-- add_servicegroups.pp
|
||||
| | | |-- add_timeperiod_rules.pp
|
||||
| | | |-- add_timeperiods.pp
|
||||
| | | |-- commands.pp
|
||||
| | | |-- config.pp
|
||||
| | | |-- contactgroups.pp
|
||||
| | | |-- contacts.pp
|
||||
| | | |-- hostgroups.pp
|
||||
| | | |-- servicegroups.pp
|
||||
| | | |-- template_rules.pp
|
||||
| | | |-- templates.pp
|
||||
| | | `-- timeperiods.pp
|
||||
| | `-- resources
|
||||
| | |-- resource_df.pp
|
||||
| | `-- resource.pp
|
||||
| |-- selinux
|
||||
| | `-- config.pp
|
||||
| |-- server
|
||||
@@ -113,6 +118,8 @@
|
||||
| | |-- hostgroups_cfg_rule.erb
|
||||
| | |-- htpasswd_rule.erb
|
||||
| | |-- nagios_cfg.erb
|
||||
| | |-- resource_cfg.erb
|
||||
| | |-- resource_cfg_rule.erb
|
||||
| | |-- svcgroups_cfg_head.erb
|
||||
| | |-- svcgroups_cfg_rule.erb
|
||||
| | |-- templates_cfg_head.erb
|
||||
@@ -122,6 +129,7 @@
|
||||
| `-- selinux
|
||||
| |-- checknagios.erb
|
||||
| |-- checknrpe.erb
|
||||
| |-- grep.erb
|
||||
| |-- statuscgi.erb
|
||||
| |-- statusdat.erb
|
||||
| `-- taccgi.erb
|
||||
@@ -135,4 +143,4 @@
|
||||
|-- README.md
|
||||
`-- REPOSTRUCTURE.md
|
||||
|
||||
20 directories, 115 files
|
||||
21 directories, 122 files
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Documentation by YARD 0.9.9
|
||||
Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.12</h1>
|
||||
<div id="listing">
|
||||
<h1 class="alphaindex">Alphabetic Index</h1>
|
||||
|
||||
@@ -173,6 +173,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html" title="puppet_classes::cd_nagios::nagios::resources::resource (puppet_class)">cd_nagios::nagios::resources::resource</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aparams.html" title="puppet_classes::cd_nagios::params (puppet_class)">cd_nagios::params</a></span>
|
||||
|
||||
@@ -248,6 +253,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html" title="puppet_defined_types::cd_nagios::nagios::resources::resource_df (puppet_defined_type)">cd_nagios::nagios::resources::resource_df</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Aserver_3A_3Aaccess.html" title="puppet_defined_types::cd_nagios::server::access (puppet_defined_type)">cd_nagios::server::access</a></span>
|
||||
|
||||
@@ -281,9 +291,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:54 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -484,6 +484,13 @@ pre.code .rubyid_backref,
|
||||
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
||||
pre.code .regexp, .dregexp { color: #036A07; }
|
||||
pre.code a { border-bottom: 1px dotted #bbf; }
|
||||
/* inline code */
|
||||
p > code {
|
||||
padding: 1px 3px 1px 3px;
|
||||
border: 1px solid #E1E1E8;
|
||||
background: #F7F7F9;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Color fix for links */
|
||||
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
href="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
@@ -89,7 +89,7 @@ production!!! __**</code></p>
|
||||
<p><a href="#features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
@@ -125,7 +125,7 @@ Structure</a></p>
|
||||
<p><a href="#tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
@@ -184,7 +184,9 @@ define, to avoid having to alter the module code.
|
||||
* configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional)
|
||||
*
|
||||
manage TLS certificates through certbot (optional)</p>
|
||||
manage TLS certificates through certbot (optional)
|
||||
* manage
|
||||
<code>$user$</code> arguments in resource file via define</p>
|
||||
|
||||
<p>Service
|
||||
* manage Nagios service on server</p>
|
||||
@@ -212,31 +214,30 @@ clients:
|
||||
<p>All dependencies must be included in the catalogue.</p>
|
||||
<ul><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||
for Yum repos.</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
||||
for installing httpd</p>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_apache">cd_apache</a> for
|
||||
installing httpd</p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
for selinux policy adjustments</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
to auto-manage TLS certificates (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
manage NRPE (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||
stdlib</a> to facilitate concat</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||
concat</a> to concatenate configuration files from different sources.</p>
|
||||
</li></ul>
|
||||
@@ -248,7 +249,7 @@ concat</a> to concatenate configuration files from different sources.</p>
|
||||
<p>via site.pp or nodes.pp</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||
include cd_puppetdb
|
||||
include cd_nagios
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
@@ -288,7 +289,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
||||
Requires <a
|
||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> or <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||
fully functioning with all our features.</p>
|
||||
</li></ul>
|
||||
@@ -301,8 +302,8 @@ list of all available parameters</a>.</p>
|
||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||
for this to work. Installation and configuration of PuppetDB is out of
|
||||
scope for this module, however <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||
is available to automate this task for you as well within a few minutes.</p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a> is
|
||||
available to automate this task for you as well within a few minutes.</p>
|
||||
|
||||
<h3 id="label-SELINUX">SELINUX</h3>
|
||||
|
||||
@@ -346,6 +347,10 @@ required firewall port on clients (optional,default).</p>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
<ul><li>
|
||||
<p>Collected resources import ordering problem: The module might try to import
|
||||
collected facts before nagios is even installed. => ToDo</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Support">Support</h3>
|
||||
<ul><li>
|
||||
@@ -404,9 +409,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40: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).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Documentation by YARD 0.9.9</title>
|
||||
<title>Documentation by YARD 0.9.12</title>
|
||||
</head>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
href="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
@@ -89,7 +89,7 @@ production!!! __**</code></p>
|
||||
<p><a href="#features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
@@ -125,7 +125,7 @@ Structure</a></p>
|
||||
<p><a href="#tests">Tests</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
@@ -184,7 +184,9 @@ define, to avoid having to alter the module code.
|
||||
* configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional)
|
||||
*
|
||||
manage TLS certificates through certbot (optional)</p>
|
||||
manage TLS certificates through certbot (optional)
|
||||
* manage
|
||||
<code>$user$</code> arguments in resource file via define</p>
|
||||
|
||||
<p>Service
|
||||
* manage Nagios service on server</p>
|
||||
@@ -212,31 +214,30 @@ clients:
|
||||
<p>All dependencies must be included in the catalogue.</p>
|
||||
<ul><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||
for Yum repos.</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
||||
for installing httpd</p>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_apache">cd_apache</a> for
|
||||
installing httpd</p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
for selinux policy adjustments</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
to auto-manage TLS certificates (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
manage NRPE (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||
stdlib</a> to facilitate concat</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||
concat</a> to concatenate configuration files from different sources.</p>
|
||||
</li></ul>
|
||||
@@ -248,7 +249,7 @@ concat</a> to concatenate configuration files from different sources.</p>
|
||||
<p>via site.pp or nodes.pp</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||
include cd_puppetdb
|
||||
include cd_nagios
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
@@ -288,7 +289,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
||||
Requires <a
|
||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> or <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||
fully functioning with all our features.</p>
|
||||
</li></ul>
|
||||
@@ -301,8 +302,8 @@ list of all available parameters</a>.</p>
|
||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||
for this to work. Installation and configuration of PuppetDB is out of
|
||||
scope for this module, however <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||
is available to automate this task for you as well within a few minutes.</p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a> is
|
||||
available to automate this task for you as well within a few minutes.</p>
|
||||
|
||||
<h3 id="label-SELINUX">SELINUX</h3>
|
||||
|
||||
@@ -346,6 +347,10 @@ required firewall port on clients (optional,default).</p>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
<ul><li>
|
||||
<p>Collected resources import ordering problem: The module might try to import
|
||||
collected facts before nagios is even installed. => ToDo</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Support">Support</h3>
|
||||
<ul><li>
|
||||
@@ -404,9 +409,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:55 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -187,35 +187,42 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::params" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::nagios::resources::resource" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html" title="puppet_classes::cd_nagios::nagios::resources::resource (puppet_class)">cd_nagios::nagios::resources::resource</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::params" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aparams.html" title="puppet_classes::cd_nagios::params (puppet_class)">cd_nagios::params</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::selinux::config" class="odd">
|
||||
<li id="object_puppet_classes::cd_nagios::selinux::config" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aselinux_3A_3Aconfig.html" title="puppet_classes::cd_nagios::selinux::config (puppet_class)">cd_nagios::selinux::config</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::access_rules" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::server::access_rules" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::cd_nagios::server::access_rules (puppet_class)">cd_nagios::server::access_rules</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::files" class="odd">
|
||||
<li id="object_puppet_classes::cd_nagios::server::files" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Afiles.html" title="puppet_classes::cd_nagios::server::files (puppet_class)">cd_nagios::server::files</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::service" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::server::service" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::cd_nagios::server::service (puppet_class)">cd_nagios::server::service</a></span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -139,9 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40: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).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::certbot::certs
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -230,9 +230,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::client::target
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -384,9 +384,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::firewall::iptables
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -207,9 +207,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -195,9 +195,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::dirs
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -468,9 +468,7 @@ class cd_nagios::main::dirs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::install
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -213,9 +213,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::user
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -194,9 +194,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_contact_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -217,9 +217,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_contactgroups_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -215,9 +215,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_hostgroup_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -214,9 +214,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_servicegroup_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -214,9 +214,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_timeperiod_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -222,9 +222,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::commands
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -575,9 +575,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -182,9 +182,7 @@ class cd_nagios::nagios::objects::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::contactgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -237,9 +237,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::contacts
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -280,9 +280,7 @@ class cd_nagios::nagios::objects::contacts (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::hostgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -551,9 +551,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::servicegroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -235,9 +235,7 @@ class cd_nagios::nagios::objects::servicegroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::template_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -305,9 +305,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::timeperiods
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -285,9 +285,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,243 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::resources::resource
|
||||
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
pathId = "puppet_classes::cd_nagios::nagios::resources::resource";
|
||||
relpath = '../';
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="nav_wrap">
|
||||
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
|
||||
<div id="resizer"></div>
|
||||
</div>
|
||||
|
||||
<div id="main" tabindex="-1">
|
||||
<div id="header">
|
||||
<div id="menu">
|
||||
|
||||
<a href="../_index.html">Index (c)</a> »
|
||||
<span class='title'><span class='object_link'>Puppet Classes</span></span>
|
||||
»
|
||||
<span class="title">cd_nagios::nagios::resources::resource</span>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<a class="full_list_link" id="puppet_class_list_link"
|
||||
href="../puppet_class_list.html">
|
||||
|
||||
<svg width="24" height="24">
|
||||
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1>Puppet Class: cd_nagios::nagios::resources::resource</h1>
|
||||
<div class="box_info">
|
||||
|
||||
<dl>
|
||||
<dt>Inherits:</dt>
|
||||
<dd><span class='object_link'><a href="cd_nagios_3A_3Aparams.html" title="puppet_classes::cd_nagios::params (puppet_class)">cd_nagios::params</a></span></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>Defined in:</dt>
|
||||
<dd>
|
||||
manifests/nagios/resources/resource.pp
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<h2>Summary</h2>
|
||||
Class manages the resource config file header.
|
||||
|
||||
<h2>Overview</h2>
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::resources::resource.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||
|
||||
<h1 id="label-License%3A">License:</h1>
|
||||
|
||||
<p>This file is part of cd_nagios.</p>
|
||||
|
||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||
|
||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
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>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="tags">
|
||||
|
||||
<div class="examples">
|
||||
<p class="tag_title">Examples:</p>
|
||||
|
||||
|
||||
<p class="example_title"><div class='inline'>
|
||||
<p>concat::fragment { “user_rule_plugins”:</p>
|
||||
</div></p>
|
||||
|
||||
<pre class="example code"><code>ng_user_arg_name => "$user1$",
|
||||
ng_user_arg_value => '/usr/lib64/nagios/plugins',
|
||||
ng_user_arg_comment => "Sets $USER1$ to be the path to the plugins",</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div><div class="method_details_list">
|
||||
<table class="source_code">
|
||||
<tr>
|
||||
<td>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/resources/resource.pp', line 28</span>
|
||||
|
||||
class cd_nagios::nagios::resources::resource (
|
||||
|
||||
) inherits cd_nagios::params {
|
||||
|
||||
if $fqdn == $ng_nagios_server {
|
||||
|
||||
concat { $ng_resource_file:
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => $ng_user,
|
||||
mode => '0640',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => nagios_etc_t,
|
||||
seluser => system_u,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
concat::fragment { 'header':
|
||||
target => $ng_resource_file,
|
||||
content => template($ng_resource_erb),
|
||||
order => '000',
|
||||
}
|
||||
|
||||
# plugins rule
|
||||
|
||||
cd_nagios::nagios::resources::resource_df { 'user_rule_plugins':
|
||||
ng_user_arg_name => 'user1',
|
||||
ng_user_arg_value => '/usr/lib64/nagios/plugins',
|
||||
ng_user_arg_comment => 'Sets user1 to be the path to the plugins',
|
||||
}
|
||||
|
||||
# eventhandlers rule
|
||||
cd_nagios::nagios::resources::resource_df { 'user_rule_eventhandlers':
|
||||
ng_user_arg_name => 'user2',
|
||||
ng_user_arg_value => '/usr/lib64/nagios/plugins/eventhandlers',
|
||||
ng_user_arg_comment => 'Sets user2 to be the path to the eventhandlers',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::params
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -97,6 +97,8 @@
|
||||
|
||||
<span class='object_link'><a href="cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Ahostgroups.html" title="puppet_classes::cd_nagios::nagios::objects::hostgroups (puppet_class)">cd_nagios::nagios::objects::hostgroups</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html" title="puppet_classes::cd_nagios::nagios::resources::resource (puppet_class)">cd_nagios::nagios::resources::resource</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atimeperiods.html" title="puppet_classes::cd_nagios::nagios::objects::timeperiods (puppet_class)">cd_nagios::nagios::objects::timeperiods</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acontactgroups.html" title="puppet_classes::cd_nagios::nagios::objects::contactgroups (puppet_class)">cd_nagios::nagios::objects::contactgroups</a></span><br/>
|
||||
@@ -4915,6 +4917,38 @@ the check declaration from there, so the
|
||||
Nagios check is properly aligned
|
||||
to the Puppet module controlling the
|
||||
particular item.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_user_arg1</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the user argument for $user1$</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_user_arg2</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the user argument for $user2$</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -4936,8 +4970,6 @@ particular item.</p>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
653
|
||||
654
|
||||
655
|
||||
656
|
||||
657
|
||||
@@ -5295,10 +5327,14 @@ particular item.</p>
|
||||
1009
|
||||
1010
|
||||
1011
|
||||
1012</pre>
|
||||
1012
|
||||
1013
|
||||
1014
|
||||
1015
|
||||
1016</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 653</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 655</span>
|
||||
|
||||
class cd_nagios::params (
|
||||
|
||||
@@ -5614,6 +5650,8 @@ $ng_ssl_vhost_file = '/etc/httpd/conf.d/nagios_ssl.conf'
|
||||
$ng_ssl_vhost_erb = 'cd_nagios/httpd/nagios_ssl_vhost.erb'
|
||||
$ng_nagios_cfg_file = "${ng_main_dir}/nagios.cfg"
|
||||
$ng_nagios_cfg_erb = 'cd_nagios/nagios/nagios_cfg.erb'
|
||||
$ng_resource_erb = 'cd_nagios/nagios/resource_cfg.erb'
|
||||
$ng_grep_erb = 'cd_nagios/selinux/grep.erb'
|
||||
|
||||
# certbot
|
||||
$ng_certbot_main_dir = '/etc/letsencrypt'
|
||||
@@ -5667,9 +5705,7 @@ $ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/us
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::selinux::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -239,7 +239,26 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
130
|
||||
131
|
||||
132
|
||||
133</pre>
|
||||
133
|
||||
134
|
||||
135
|
||||
136
|
||||
137
|
||||
138
|
||||
139
|
||||
140
|
||||
141
|
||||
142
|
||||
143
|
||||
144
|
||||
145
|
||||
146
|
||||
147
|
||||
148
|
||||
149
|
||||
150
|
||||
151
|
||||
152</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 23</span>
|
||||
@@ -271,7 +290,7 @@ class cd_nagios::selinux::config (
|
||||
}
|
||||
|
||||
exec { 'semodule_taccgi':
|
||||
command => 'semodule -i my-taccgi.pp',
|
||||
command => "semodule -i ${ng_user_home}/my-taccgi.pp",
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_taccgi'],
|
||||
@@ -280,60 +299,60 @@ class cd_nagios::selinux::config (
|
||||
|
||||
# sealert status.cgi
|
||||
|
||||
exec { 'create_policy_statuscgi':
|
||||
command => template($ng_statcgi_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-statuscgi.pp",
|
||||
notify => Exec['semodule_statuscgi'],
|
||||
}
|
||||
# exec { 'create_policy_statuscgi':
|
||||
# command => template($ng_statcgi_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-statuscgi.pp",
|
||||
# notify => Exec['semodule_statuscgi'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_statuscgi':
|
||||
command => 'semodule -i my-statuscgi.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_statuscgi'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_statuscgi':
|
||||
# command => 'semodule -i my-statuscgi.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_statuscgi'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# sealert check_nrpe
|
||||
|
||||
exec { 'create_policy_checknrpe':
|
||||
command => template($ng_checknrpe_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-checknrpe.pp",
|
||||
notify => Exec['semodule_checknrpe'],
|
||||
}
|
||||
# exec { 'create_policy_checknrpe':
|
||||
# command => template($ng_checknrpe_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-checknrpe.pp",
|
||||
# notify => Exec['semodule_checknrpe'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_checknrpe':
|
||||
command => 'semodule -i my-checknrpe.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_checknrpe'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_checknrpe':
|
||||
# command => 'semodule -i my-checknrpe.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_checknrpe'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# selart check_nagios
|
||||
|
||||
exec { 'create_policy_checknagios':
|
||||
command => template($ng_checknagios_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-checknagios.pp",
|
||||
notify => Exec['semodule_checknagios'],
|
||||
}
|
||||
# exec { 'create_policy_checknagios':
|
||||
# command => template($ng_checknagios_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-checknagios.pp",
|
||||
# notify => Exec['semodule_checknagios'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_checknagios':
|
||||
command => 'semodule -i my-checknagios.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_checknagios'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_checknagios':
|
||||
# command => 'semodule -i my-checknagios.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_checknagios'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# sealert status.dat
|
||||
|
||||
@@ -346,13 +365,32 @@ class cd_nagios::selinux::config (
|
||||
}
|
||||
|
||||
exec { 'semodule_statusdat':
|
||||
command => 'semodule -i my-httpd.pp',
|
||||
command => "semodule -i ${ng_user_home}/my-httpd.pp",
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_statusdat'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
# sealert grep
|
||||
|
||||
exec { 'create_policy_grep':
|
||||
command => template($ng_grep_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-grep.pp",
|
||||
notify => Exec['semodule_statusdat'],
|
||||
}
|
||||
|
||||
exec { 'semodule_grep':
|
||||
command => "semodule -i ${ng_user_home}/my-grep.pp",
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_grep'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
@@ -362,9 +400,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::access_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -195,9 +195,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::files
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -225,7 +225,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
116
|
||||
117
|
||||
118
|
||||
119</pre>
|
||||
119
|
||||
120</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/files.pp', line 23</span>
|
||||
@@ -277,6 +278,7 @@ class cd_nagios::server::files (
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
## Apache files
|
||||
# since we use vhost files, we do not want the regular file to appear
|
||||
# after upgrades to avoid conflicts
|
||||
|
||||
@@ -334,9 +336,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::service
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -324,7 +324,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
215
|
||||
216
|
||||
217
|
||||
218</pre>
|
||||
218
|
||||
219</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
|
||||
@@ -341,6 +342,7 @@ class cd_nagios::server::service (
|
||||
require cd_nagios::server::files
|
||||
require cd_nagios::server::access_rules
|
||||
require cd_nagios::nagios::objects::config
|
||||
require cd_nagios::nagios::resources::resource
|
||||
|
||||
service { $ng_service:
|
||||
ensure => running,
|
||||
@@ -349,7 +351,7 @@ class cd_nagios::server::service (
|
||||
enable => true,
|
||||
}
|
||||
|
||||
@@nagios_host { 'localhost':
|
||||
@@nagios_host { "localhost_${::hostname}":
|
||||
ensure => $ng_ping_ensure,
|
||||
alias => 'localhost',
|
||||
address => '127.0.0.1',
|
||||
@@ -532,9 +534,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,14 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_defined_types::cd_nagios::server::access" class="odd">
|
||||
<li id="object_puppet_defined_types::cd_nagios::nagios::resources::resource_df" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html" title="puppet_defined_types::cd_nagios::nagios::resources::resource_df (puppet_defined_type)">cd_nagios::nagios::resources::resource_df</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_defined_types::cd_nagios::server::access" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Aserver_3A_3Aaccess.html" title="puppet_defined_types::cd_nagios::server::access (puppet_defined_type)">cd_nagios::server::access</a></span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_contact
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -285,9 +285,7 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_contactgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -237,9 +237,7 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_hostgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -245,9 +245,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_servicegroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -245,9 +245,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_timeperiods
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -370,9 +370,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::templates
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -906,9 +906,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,246 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::resources::resource_df
|
||||
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
||||
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
pathId = "puppet_defined_types::cd_nagios::nagios::resources::resource_df";
|
||||
relpath = '../';
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
||||
|
||||
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="nav_wrap">
|
||||
<iframe id="nav" src="../puppet_defined_type_list.html?1"></iframe>
|
||||
<div id="resizer"></div>
|
||||
</div>
|
||||
|
||||
<div id="main" tabindex="-1">
|
||||
<div id="header">
|
||||
<div id="menu">
|
||||
|
||||
<a href="../_index.html">Index (c)</a> »
|
||||
<span class='title'><span class='object_link'>Defined Types</span></span>
|
||||
»
|
||||
<span class="title">cd_nagios::nagios::resources::resource_df</span>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<a class="full_list_link" id="puppet_class_list_link"
|
||||
href="../puppet_class_list.html">
|
||||
|
||||
<svg width="24" height="24">
|
||||
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
||||
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
||||
</svg>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1>Defined Type: cd_nagios::nagios::resources::resource_df</h1>
|
||||
<div class="box_info">
|
||||
<dl>
|
||||
<dt>Defined in:</dt>
|
||||
<dd>
|
||||
manifests/nagios/resources/resource_df.pp
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<h2>Summary</h2>
|
||||
define manages the resources in/etc/nagios/private/resources.cfg
|
||||
|
||||
<h2>Overview</h2>
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::resources::resource_df.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||
|
||||
<h1 id="label-License%3A">License:</h1>
|
||||
|
||||
<p>This file is part of cd_nagios.</p>
|
||||
|
||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||
|
||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
||||
This program is
|
||||
free software: you can redistribute it and/or modify
|
||||
it under the terms of
|
||||
the GNU General Public License as published by
|
||||
the Free Software
|
||||
Foundation, either version 3 of the License, or
|
||||
(at your option) any later
|
||||
version.</p>
|
||||
|
||||
<p>This program is distributed in the hope that it will be useful,
|
||||
but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License
|
||||
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>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="tags">
|
||||
<p class="tag_title">Parameters:</p>
|
||||
<ul class="param">
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_user_arg_name</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the name of the user argument i.e. $user1$</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_user_arg_value</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_user_arg_comment</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_resource_rule_erb</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'cd_nagios/nagios/resource_cfg_rule.erb'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div><div class="method_details_list">
|
||||
<table class="source_code">
|
||||
<tr>
|
||||
<td>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/nagios/resources/resource_df.pp', line 24</span>
|
||||
|
||||
define cd_nagios::nagios::resources::resource_df (
|
||||
|
||||
$ng_user_arg_name = undef,
|
||||
$ng_user_arg_value = undef,
|
||||
$ng_user_arg_comment = undef,
|
||||
$ng_resource_rule_erb = 'cd_nagios/nagios/resource_cfg_rule.erb',
|
||||
|
||||
) {
|
||||
|
||||
$ng_nagios_server = $::cd_nagios::params::ng_nagios_server
|
||||
$ng_resource_file = $::cd_nagios::params::ng_resource_file
|
||||
|
||||
|
||||
if $fqdn == $ng_nagios_server {
|
||||
|
||||
concat::fragment { "rule_${name}":
|
||||
target => $ng_resource_file,
|
||||
content => template($ng_resource_rule_erb),
|
||||
order => '000',
|
||||
}
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::server::access
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -220,9 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Top Level Namespace
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.12
|
||||
|
||||
</title>
|
||||
|
||||
@@ -90,9 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40: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).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
./.yardoc/proxy_types: Applesoft BASIC program data
|
||||
./.yardoc/complete: empty
|
||||
./.yardoc/objects/root.dat: data
|
||||
./templates/httpd/index_html.erb: empty
|
||||
./doc/css/style.css: HTML document, UTF-8 Unicode text, with very long lines
|
||||
./doc/js/jquery.js: HTML document, UTF-8 Unicode text, with very long lines
|
||||
./doc/puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html: C++ source, UTF-8 Unicode text
|
||||
./doc/puppet_classes/cd_nagios_3A_3Aparams.html: HTML document, UTF-8 Unicode text
|
||||
./templates/httpd/index_html.erb: empty
|
||||
|
||||
Reference in New Issue
Block a user