Merge branch 'master' of sourcecode.confdroid.com:12ww1160/cd_nagios into HEAD
This commit is contained in:
@@ -30,6 +30,7 @@
|
|||||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aservicegroups.html
|
| | |-- 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_3Atemplate_rules.html
|
||||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atimeperiods.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_3Aparams.html
|
||||||
| | |-- cd_nagios_3A_3Aselinux_3A_3Aconfig.html
|
| | |-- cd_nagios_3A_3Aselinux_3A_3Aconfig.html
|
||||||
| | |-- cd_nagios_3A_3Aserver_3A_3Aaccess_rules.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_servicegroups.html
|
||||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_timeperiods.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_3Aobjects_3A_3Atemplates.html
|
||||||
|
| | |-- cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
|
||||||
| | `-- cd_nagios_3A_3Aserver_3A_3Aaccess.html
|
| | `-- cd_nagios_3A_3Aserver_3A_3Aaccess.html
|
||||||
| |-- file.README.html
|
| |-- file.README.html
|
||||||
| |-- frames.html
|
| |-- frames.html
|
||||||
@@ -64,26 +66,29 @@
|
|||||||
| | |-- install.pp
|
| | |-- install.pp
|
||||||
| | `-- user.pp
|
| | `-- user.pp
|
||||||
| |-- nagios
|
| |-- nagios
|
||||||
| | `-- objects
|
| | |-- objects
|
||||||
| | |-- add_contactgroups.pp
|
| | | |-- add_contactgroups.pp
|
||||||
| | |-- add_contactgroups_rules.pp
|
| | | |-- add_contactgroups_rules.pp
|
||||||
| | |-- add_contact.pp
|
| | | |-- add_contact.pp
|
||||||
| | |-- add_contact_rules.pp
|
| | | |-- add_contact_rules.pp
|
||||||
| | |-- add_hostgroup_rules.pp
|
| | | |-- add_hostgroup_rules.pp
|
||||||
| | |-- add_hostgroups.pp
|
| | | |-- add_hostgroups.pp
|
||||||
| | |-- add_servicegroup_rules.pp
|
| | | |-- add_servicegroup_rules.pp
|
||||||
| | |-- add_servicegroups.pp
|
| | | |-- add_servicegroups.pp
|
||||||
| | |-- add_timeperiod_rules.pp
|
| | | |-- add_timeperiod_rules.pp
|
||||||
| | |-- add_timeperiods.pp
|
| | | |-- add_timeperiods.pp
|
||||||
| | |-- commands.pp
|
| | | |-- commands.pp
|
||||||
| | |-- config.pp
|
| | | |-- config.pp
|
||||||
| | |-- contactgroups.pp
|
| | | |-- contactgroups.pp
|
||||||
| | |-- contacts.pp
|
| | | |-- contacts.pp
|
||||||
| | |-- hostgroups.pp
|
| | | |-- hostgroups.pp
|
||||||
| | |-- servicegroups.pp
|
| | | |-- servicegroups.pp
|
||||||
| | |-- template_rules.pp
|
| | | |-- template_rules.pp
|
||||||
| | |-- templates.pp
|
| | | |-- templates.pp
|
||||||
| | `-- timeperiods.pp
|
| | | `-- timeperiods.pp
|
||||||
|
| | `-- resources
|
||||||
|
| | |-- resource_df.pp
|
||||||
|
| | `-- resource.pp
|
||||||
| |-- selinux
|
| |-- selinux
|
||||||
| | `-- config.pp
|
| | `-- config.pp
|
||||||
| |-- server
|
| |-- server
|
||||||
@@ -113,6 +118,8 @@
|
|||||||
| | |-- hostgroups_cfg_rule.erb
|
| | |-- hostgroups_cfg_rule.erb
|
||||||
| | |-- htpasswd_rule.erb
|
| | |-- htpasswd_rule.erb
|
||||||
| | |-- nagios_cfg.erb
|
| | |-- nagios_cfg.erb
|
||||||
|
| | |-- resource_cfg.erb
|
||||||
|
| | |-- resource_cfg_rule.erb
|
||||||
| | |-- svcgroups_cfg_head.erb
|
| | |-- svcgroups_cfg_head.erb
|
||||||
| | |-- svcgroups_cfg_rule.erb
|
| | |-- svcgroups_cfg_rule.erb
|
||||||
| | |-- templates_cfg_head.erb
|
| | |-- templates_cfg_head.erb
|
||||||
@@ -122,17 +129,16 @@
|
|||||||
| `-- selinux
|
| `-- selinux
|
||||||
| |-- checknagios.erb
|
| |-- checknagios.erb
|
||||||
| |-- checknrpe.erb
|
| |-- checknrpe.erb
|
||||||
|
| |-- grep.erb
|
||||||
| |-- statuscgi.erb
|
| |-- statuscgi.erb
|
||||||
| |-- statusdat.erb
|
| |-- statusdat.erb
|
||||||
| `-- taccgi.erb
|
| `-- taccgi.erb
|
||||||
|-- tests
|
|-- tests
|
||||||
| `-- UTF_Files
|
| `-- UTF_Files
|
||||||
|-- CHANGELOG.md
|
|
||||||
|-- Gemfile
|
|-- Gemfile
|
||||||
|-- Gemfile.lock
|
|-- Gemfile.lock
|
||||||
|-- Jenkinsfile
|
|-- Jenkinsfile
|
||||||
|-- LICENSE
|
|-- LICENSE
|
||||||
|-- README.md
|
`-- README.md
|
||||||
`-- REPOSTRUCTURE.md
|
|
||||||
|
|
||||||
20 directories, 115 files
|
21 directories, 120 files
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>
|
<title>
|
||||||
Documentation by YARD 0.9.9
|
Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</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.16</h1>
|
||||||
<div id="listing">
|
<div id="listing">
|
||||||
<h1 class="alphaindex">Alphabetic Index</h1>
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
||||||
|
|
||||||
@@ -173,6 +173,11 @@
|
|||||||
|
|
||||||
</li>
|
</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>
|
<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>
|
<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>
|
||||||
|
|
||||||
|
<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>
|
<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>
|
<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>
|
||||||
|
|
||||||
@@ -264,6 +274,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>File Listing</h2>
|
<h2>File Listing</h2>
|
||||||
<ul id="files" class="index_inline_list">
|
<ul id="files" class="index_inline_list">
|
||||||
|
|
||||||
@@ -281,9 +293,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:40:54 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -245,6 +245,7 @@ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
|||||||
|
|
||||||
dl.constants { margin-left: 10px; }
|
dl.constants { margin-left: 10px; }
|
||||||
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
|
||||||
|
dl.constants.compact dt { display: inline-block; font-weight: normal }
|
||||||
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
|
||||||
dl.constants .docstring .note:first-child { margin-top: 5px; }
|
dl.constants .docstring .note:first-child { margin-top: 5px; }
|
||||||
|
|
||||||
@@ -326,13 +327,9 @@ ul.summary a, ul.summary a:visited {
|
|||||||
text-decoration: none; font-size: 1.1em;
|
text-decoration: none; font-size: 1.1em;
|
||||||
}
|
}
|
||||||
ul.summary li { margin-bottom: 5px; }
|
ul.summary li { margin-bottom: 5px; }
|
||||||
.summary .summary_signature {
|
.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
|
||||||
padding: 4px 8px;
|
|
||||||
background: #f8f8f8;
|
|
||||||
border: 1px solid #f0f0f0;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
.summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
|
||||||
|
.summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
|
||||||
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
|
||||||
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
||||||
#content .summary_signature:hover a,
|
#content .summary_signature:hover a,
|
||||||
@@ -484,6 +481,13 @@ pre.code .rubyid_backref,
|
|||||||
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
||||||
pre.code .regexp, .dregexp { color: #036A07; }
|
pre.code .regexp, .dregexp { color: #036A07; }
|
||||||
pre.code a { border-bottom: 1px dotted #bbf; }
|
pre.code a { border-bottom: 1px dotted #bbf; }
|
||||||
|
/* inline code */
|
||||||
|
*:not(pre) > code {
|
||||||
|
padding: 1px 3px 1px 3px;
|
||||||
|
border: 1px solid #E1E1E8;
|
||||||
|
background: #F7F7F9;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Color fix for links */
|
/* Color fix for links */
|
||||||
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
File: README
|
File: README
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -58,12 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content"><div id='filecontents'>
|
<div id="content"><div id='filecontents'>
|
||||||
<p>|Repo Name| version | Build
|
<p><a href="https://pipelines.confdroid.com/job/cd_nagios/"><img
|
||||||
Status|
|
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios"></a></p>
|
||||||
|---|---|---|---|
|
|
||||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
|
||||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
|
||||||
Status</a>/]|</p>
|
|
||||||
|
|
||||||
<h3 id="label-Synopsis">Synopsis</h3>
|
<h3 id="label-Synopsis">Synopsis</h3>
|
||||||
|
|
||||||
@@ -86,58 +82,52 @@ production!!! __**</code></p>
|
|||||||
|
|
||||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a href="#features">Features</a></p>
|
<p><a href="#label-Features">Features</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
href="https://sourcecode.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||||
Structure</a></p>
|
Structure</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#dependencies">Dependencies</a></p>
|
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#deployment">Deployment</a></p>
|
<p><a href="#label-Deployment">Deployment</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#native-puppet-deployment">native Puppet deployment</a></p>
|
<p><a href="#label-Native+puppet+deployment">native Puppet deployment</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#through-foreman">through Foreman</a></p>
|
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#parameters">Parameters</a></p>
|
<p><a href="#label-Parameters">Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
<p><a href="#label-Puppetdb">PuppetDB</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#selinux">SELINUX</a></p>
|
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#certbot">Certbot</a></p>
|
<p><a href="#label-Certbot">Certbot</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#httpd-vhost-files">Httpd vHost Files</a></p>
|
<p><a href="#label-Httpd+vhost+files">Httpd vHost Files</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#client-connections">Client Connections</a></p>
|
<p><a href="#label-Client+connections">Client Connections</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#manage-additional-resources">Manage additional resources</a></p>
|
<p><a href="#label-Manage+additional+resources">Manage additional resources</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#known-problems">Known Problems</a></p>
|
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#support">Support</a></p>
|
<p><a href="#label-Support">Support</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#tests">Tests</a></p>
|
<p><a href="#label-Tests">Tests</a></p>
|
||||||
</li><li>
|
|
||||||
<p><a
|
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Features">Features</h3>
|
<h3 id="label-Features">Features</h3>
|
||||||
|
|
||||||
<p>Installation:
|
<p>Installation: * Nagios Server instance: * install httpd via cd_apache *
|
||||||
* Nagios Server instance:
|
|
||||||
* install httpd via cd_apache
|
|
||||||
*
|
|
||||||
install Nagios server binaries on Nagios server</p>
|
install Nagios server binaries on Nagios server</p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p>Nagios clients:</p>
|
<p>Nagios clients:</p>
|
||||||
@@ -147,61 +137,34 @@ install Nagios server binaries on Nagios server</p>
|
|||||||
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>Configuration
|
<p>Configuration * configure all aspects of Nagios on server * manage nagios
|
||||||
* configure all aspects of Nagios on server
|
service user * manage directories (filesystem permissions, selinux ) *
|
||||||
* manage nagios
|
manage cgi.cfg through parameters * manage nagios.cfg through parameters *
|
||||||
service user
|
manage Nagios users through external Puppet rules via define * manage
|
||||||
* manage directories (filesystem permissions, selinux )
|
Nagios commands through Puppet exports * manage Nagios template definitions
|
||||||
*
|
through external Puppet rules via define * manage Nagios main contacts
|
||||||
manage cgi.cfg through parameters
|
|
||||||
* manage nagios.cfg through parameters
|
|
||||||
*
|
|
||||||
manage Nagios users through external Puppet rules via define
|
|
||||||
* manage
|
|
||||||
Nagios commands through Puppet exports
|
|
||||||
* manage Nagios template definitions
|
|
||||||
through external Puppet rules via define
|
|
||||||
* manage Nagios main contacts
|
|
||||||
through Puppet exports. Additional contacts can be created through external
|
through Puppet exports. Additional contacts can be created through external
|
||||||
Puppet rules via define, to avoid having to alter the module code.
|
Puppet rules via define, to avoid having to alter the module code. * manage
|
||||||
* manage
|
|
||||||
Nagios main contactgroups through Puppet exports. Additional contact groups
|
Nagios main contactgroups through Puppet exports. Additional contact groups
|
||||||
can be created through external Puppet rules via define, to avoid having to
|
can be created through external Puppet rules via define, to avoid having to
|
||||||
alter the module code.
|
alter the module code. * manage Nagios main hostgroups through Puppet
|
||||||
* manage Nagios main hostgroups through Puppet
|
|
||||||
exports. Additional host groups can be created through external Puppet
|
exports. Additional host groups can be created through external Puppet
|
||||||
rules via define, to avoid having to alter the module code.
|
rules via define, to avoid having to alter the module code. * manage Nagios
|
||||||
* manage Nagios
|
|
||||||
main servicegroups through Puppet exports. Additional service groups can be
|
main servicegroups through Puppet exports. Additional service groups can be
|
||||||
created through external Puppet rules via define, to avoid having to alter
|
created through external Puppet rules via define, to avoid having to alter
|
||||||
the module code.
|
the module code. * manage Nagios main timeperiods through Puppet exports.
|
||||||
* manage Nagios main timeperiods through Puppet exports.
|
|
||||||
Additional timeperiods can be created through external Puppet rules via
|
Additional timeperiods can be created through external Puppet rules via
|
||||||
define, to avoid having to alter the module code.
|
define, to avoid having to alter the module code. * configure firewall
|
||||||
* configure firewall
|
(optional) * configure selinux policies (optional) * configure forwarding
|
||||||
(optional)
|
http to https including accesing the /nagios url directly (optional) *
|
||||||
* configure selinux policies (optional)
|
manage TLS certificates through certbot (optional) * manage
|
||||||
* configure forwarding
|
<code>$user$</code> arguments in resource file via define</p>
|
||||||
http to https including accesing the /nagios url directly (optional)
|
|
||||||
*
|
|
||||||
manage TLS certificates through certbot (optional)</p>
|
|
||||||
|
|
||||||
<p>Service
|
<p>Service * manage Nagios service on server</p>
|
||||||
* manage Nagios service on server</p>
|
|
||||||
|
|
||||||
<p>Monitoring
|
<p>Monitoring * monitor Nagios host * monitor Nagios service * monitor
|
||||||
* monitor Nagios host
|
clients: * ping * root partition * swap usage * logged-in local users
|
||||||
* monitor Nagios service
|
* amount of total processes * amount of zombie processes * current Load</p>
|
||||||
* monitor
|
|
||||||
clients:
|
|
||||||
* ping
|
|
||||||
* root partition
|
|
||||||
* swap usage
|
|
||||||
* logged-in local users
|
|
||||||
|
|
||||||
* amount of total processes
|
|
||||||
* amount of zombie processes
|
|
||||||
* current Load</p>
|
|
||||||
|
|
||||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||||
|
|
||||||
@@ -212,32 +175,34 @@ clients:
|
|||||||
<p>All dependencies must be included in the catalogue.</p>
|
<p>All dependencies must be included in the catalogue.</p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||||
for Yum repos.</p>
|
for Yum repos.</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_apache">cd_apache</a>
|
||||||
for installing httpd</p>
|
for installing httpd</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||||
firewall</a> (optional)</p>
|
firewall</a> (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
<p><a
|
||||||
|
href="https://sourcecode.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||||
for selinux policy adjustments</p>
|
for selinux policy adjustments</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
<p><a
|
||||||
|
href="https://sourcecode.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||||
to auto-manage TLS certificates (optional)</p>
|
to auto-manage TLS certificates (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||||
manage NRPE (optional)</p>
|
manage NRPE (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a>
|
||||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||||
stdlib</a> to facilitate concat</p>
|
stdlib</a> to facilitate concat</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_stdlib">cd-concat</a>
|
||||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||||
concat</a> to concatenate configuration files from different sources.</p>
|
concat</a> to concatenate configuration files from different sources.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
@@ -248,10 +213,10 @@ concat</a> to concatenate configuration files from different sources.</p>
|
|||||||
<p>via site.pp or nodes.pp</p>
|
<p>via site.pp or nodes.pp</p>
|
||||||
|
|
||||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||||
include cd_puppetdb
|
include cd_nagios
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
|
|
||||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman,
|
<p>In order to apply parameters through Foreman,
|
||||||
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
||||||
@@ -288,7 +253,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
|||||||
Requires <a
|
Requires <a
|
||||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||||
firewall</a> or <a
|
firewall</a> or <a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
href="https://sourcecode.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||||
fully functioning with all our features.</p>
|
fully functioning with all our features.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
@@ -301,7 +266,7 @@ list of all available parameters</a>.</p>
|
|||||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||||
for this to work. Installation and configuration of PuppetDB is out of
|
for this to work. Installation and configuration of PuppetDB is out of
|
||||||
scope for this module, however <a
|
scope for this module, however <a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||||
is available to automate this task for you as well within a few minutes.</p>
|
is available to automate this task for you as well within a few minutes.</p>
|
||||||
|
|
||||||
<h3 id="label-SELINUX">SELINUX</h3>
|
<h3 id="label-SELINUX">SELINUX</h3>
|
||||||
@@ -337,8 +302,7 @@ directly, hence the module creates a vhost for the ssl host.</p>
|
|||||||
<h3 id="label-Client+Connections">Client Connections</h3>
|
<h3 id="label-Client+Connections">Client Connections</h3>
|
||||||
|
|
||||||
<p>In order to monitor clients, NAGIOS must be able to connect to them. There
|
<p>In order to monitor clients, NAGIOS must be able to connect to them. There
|
||||||
are multiple ways of doing so, the most common ones being NRPE and SSH.
|
are multiple ways of doing so, the most common ones being NRPE and SSH. So
|
||||||
So
|
|
||||||
far this module works through the usage of NRPE, which by default is
|
far this module works through the usage of NRPE, which by default is
|
||||||
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
||||||
required firewall port on clients (optional,default).</p>
|
required firewall port on clients (optional,default).</p>
|
||||||
@@ -346,12 +310,19 @@ required firewall port on clients (optional,default).</p>
|
|||||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||||
|
|
||||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
<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.</p>
|
||||||
|
</li><li>
|
||||||
|
<p>SELINUX modules: it appears that sealerts are different accross systems. it
|
||||||
|
might be typically easier to work through sealerts manually.</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Support">Support</h3>
|
<h3 id="label-Support">Support</h3>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: CentOS 6, 7</p>
|
<p>OS: CentOS 7</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 3.x</p>
|
<p>Puppet 5.x</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Tests">Tests</h3>
|
<h3 id="label-Tests">Tests</h3>
|
||||||
@@ -396,17 +367,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
|||||||
|
|
||||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||||
configuration modules, written for specific purposes and specific
|
configuration modules, written for specific purposes and specific
|
||||||
environments.
|
environments. The modules are tested and supported only as documented, and
|
||||||
The modules are tested and supported only as documented, and
|
|
||||||
require testing in designated environments (i.e. lab or development
|
require testing in designated environments (i.e. lab or development
|
||||||
environments) for parameter tuning etc. before deploying into production
|
environments) for parameter tuning etc. before deploying into production
|
||||||
environments.</p>
|
environments.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:40:56 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Documentation by YARD 0.9.9</title>
|
<title>Documentation by YARD 0.9.16</title>
|
||||||
</head>
|
</head>
|
||||||
<script type="text/javascript" charset="utf-8">
|
<script type="text/javascript" charset="utf-8">
|
||||||
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
||||||
|
|||||||
172
doc/index.html
172
doc/index.html
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
File: README
|
File: README
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -58,12 +58,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="content"><div id='filecontents'>
|
<div id="content"><div id='filecontents'>
|
||||||
<p>|Repo Name| version | Build
|
<p><a href="https://pipelines.confdroid.com/job/cd_nagios/"><img
|
||||||
Status|
|
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios"></a></p>
|
||||||
|---|---|---|---|
|
|
||||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
|
||||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
|
||||||
Status</a>/]|</p>
|
|
||||||
|
|
||||||
<h3 id="label-Synopsis">Synopsis</h3>
|
<h3 id="label-Synopsis">Synopsis</h3>
|
||||||
|
|
||||||
@@ -86,58 +82,52 @@ production!!! __**</code></p>
|
|||||||
|
|
||||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a href="#features">Features</a></p>
|
<p><a href="#label-Features">Features</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
href="https://sourcecode.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||||
Structure</a></p>
|
Structure</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#dependencies">Dependencies</a></p>
|
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#deployment">Deployment</a></p>
|
<p><a href="#label-Deployment">Deployment</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#native-puppet-deployment">native Puppet deployment</a></p>
|
<p><a href="#label-Native+puppet+deployment">native Puppet deployment</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#through-foreman">through Foreman</a></p>
|
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#parameters">Parameters</a></p>
|
<p><a href="#label-Parameters">Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
<p><a href="#label-Puppetdb">PuppetDB</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#selinux">SELINUX</a></p>
|
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#certbot">Certbot</a></p>
|
<p><a href="#label-Certbot">Certbot</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#httpd-vhost-files">Httpd vHost Files</a></p>
|
<p><a href="#label-Httpd+vhost+files">Httpd vHost Files</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#client-connections">Client Connections</a></p>
|
<p><a href="#label-Client+connections">Client Connections</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#manage-additional-resources">Manage additional resources</a></p>
|
<p><a href="#label-Manage+additional+resources">Manage additional resources</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#known-problems">Known Problems</a></p>
|
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#support">Support</a></p>
|
<p><a href="#label-Support">Support</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#tests">Tests</a></p>
|
<p><a href="#label-Tests">Tests</a></p>
|
||||||
</li><li>
|
|
||||||
<p><a
|
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Features">Features</h3>
|
<h3 id="label-Features">Features</h3>
|
||||||
|
|
||||||
<p>Installation:
|
<p>Installation: * Nagios Server instance: * install httpd via cd_apache *
|
||||||
* Nagios Server instance:
|
|
||||||
* install httpd via cd_apache
|
|
||||||
*
|
|
||||||
install Nagios server binaries on Nagios server</p>
|
install Nagios server binaries on Nagios server</p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p>Nagios clients:</p>
|
<p>Nagios clients:</p>
|
||||||
@@ -147,61 +137,34 @@ install Nagios server binaries on Nagios server</p>
|
|||||||
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>Configuration
|
<p>Configuration * configure all aspects of Nagios on server * manage nagios
|
||||||
* configure all aspects of Nagios on server
|
service user * manage directories (filesystem permissions, selinux ) *
|
||||||
* manage nagios
|
manage cgi.cfg through parameters * manage nagios.cfg through parameters *
|
||||||
service user
|
manage Nagios users through external Puppet rules via define * manage
|
||||||
* manage directories (filesystem permissions, selinux )
|
Nagios commands through Puppet exports * manage Nagios template definitions
|
||||||
*
|
through external Puppet rules via define * manage Nagios main contacts
|
||||||
manage cgi.cfg through parameters
|
|
||||||
* manage nagios.cfg through parameters
|
|
||||||
*
|
|
||||||
manage Nagios users through external Puppet rules via define
|
|
||||||
* manage
|
|
||||||
Nagios commands through Puppet exports
|
|
||||||
* manage Nagios template definitions
|
|
||||||
through external Puppet rules via define
|
|
||||||
* manage Nagios main contacts
|
|
||||||
through Puppet exports. Additional contacts can be created through external
|
through Puppet exports. Additional contacts can be created through external
|
||||||
Puppet rules via define, to avoid having to alter the module code.
|
Puppet rules via define, to avoid having to alter the module code. * manage
|
||||||
* manage
|
|
||||||
Nagios main contactgroups through Puppet exports. Additional contact groups
|
Nagios main contactgroups through Puppet exports. Additional contact groups
|
||||||
can be created through external Puppet rules via define, to avoid having to
|
can be created through external Puppet rules via define, to avoid having to
|
||||||
alter the module code.
|
alter the module code. * manage Nagios main hostgroups through Puppet
|
||||||
* manage Nagios main hostgroups through Puppet
|
|
||||||
exports. Additional host groups can be created through external Puppet
|
exports. Additional host groups can be created through external Puppet
|
||||||
rules via define, to avoid having to alter the module code.
|
rules via define, to avoid having to alter the module code. * manage Nagios
|
||||||
* manage Nagios
|
|
||||||
main servicegroups through Puppet exports. Additional service groups can be
|
main servicegroups through Puppet exports. Additional service groups can be
|
||||||
created through external Puppet rules via define, to avoid having to alter
|
created through external Puppet rules via define, to avoid having to alter
|
||||||
the module code.
|
the module code. * manage Nagios main timeperiods through Puppet exports.
|
||||||
* manage Nagios main timeperiods through Puppet exports.
|
|
||||||
Additional timeperiods can be created through external Puppet rules via
|
Additional timeperiods can be created through external Puppet rules via
|
||||||
define, to avoid having to alter the module code.
|
define, to avoid having to alter the module code. * configure firewall
|
||||||
* configure firewall
|
(optional) * configure selinux policies (optional) * configure forwarding
|
||||||
(optional)
|
http to https including accesing the /nagios url directly (optional) *
|
||||||
* configure selinux policies (optional)
|
manage TLS certificates through certbot (optional) * manage
|
||||||
* configure forwarding
|
<code>$user$</code> arguments in resource file via define</p>
|
||||||
http to https including accesing the /nagios url directly (optional)
|
|
||||||
*
|
|
||||||
manage TLS certificates through certbot (optional)</p>
|
|
||||||
|
|
||||||
<p>Service
|
<p>Service * manage Nagios service on server</p>
|
||||||
* manage Nagios service on server</p>
|
|
||||||
|
|
||||||
<p>Monitoring
|
<p>Monitoring * monitor Nagios host * monitor Nagios service * monitor
|
||||||
* monitor Nagios host
|
clients: * ping * root partition * swap usage * logged-in local users
|
||||||
* monitor Nagios service
|
* amount of total processes * amount of zombie processes * current Load</p>
|
||||||
* monitor
|
|
||||||
clients:
|
|
||||||
* ping
|
|
||||||
* root partition
|
|
||||||
* swap usage
|
|
||||||
* logged-in local users
|
|
||||||
|
|
||||||
* amount of total processes
|
|
||||||
* amount of zombie processes
|
|
||||||
* current Load</p>
|
|
||||||
|
|
||||||
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
<h3 id="label-Repo+Structure">Repo Structure</h3>
|
||||||
|
|
||||||
@@ -212,32 +175,34 @@ clients:
|
|||||||
<p>All dependencies must be included in the catalogue.</p>
|
<p>All dependencies must be included in the catalogue.</p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||||
for Yum repos.</p>
|
for Yum repos.</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_apache">cd_apache</a>
|
||||||
for installing httpd</p>
|
for installing httpd</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a
|
<p><a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||||
firewall</a> (optional)</p>
|
firewall</a> (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
<p><a
|
||||||
|
href="https://sourcecode.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||||
for selinux policy adjustments</p>
|
for selinux policy adjustments</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
<p><a
|
||||||
|
href="https://sourcecode.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||||
to auto-manage TLS certificates (optional)</p>
|
to auto-manage TLS certificates (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||||
manage NRPE (optional)</p>
|
manage NRPE (optional)</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a>
|
||||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||||
stdlib</a> to facilitate concat</p>
|
stdlib</a> to facilitate concat</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
<p><a href="https://sourcecode.confdroid.com/12WW1160/cd_stdlib">cd-concat</a>
|
||||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
or <a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||||
concat</a> to concatenate configuration files from different sources.</p>
|
concat</a> to concatenate configuration files from different sources.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
@@ -248,10 +213,10 @@ concat</a> to concatenate configuration files from different sources.</p>
|
|||||||
<p>via site.pp or nodes.pp</p>
|
<p>via site.pp or nodes.pp</p>
|
||||||
|
|
||||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||||
include cd_puppetdb
|
include cd_nagios
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
|
|
||||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||||
|
|
||||||
<p>In order to apply parameters through Foreman,
|
<p>In order to apply parameters through Foreman,
|
||||||
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
||||||
@@ -288,7 +253,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
|||||||
Requires <a
|
Requires <a
|
||||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||||
firewall</a> or <a
|
firewall</a> or <a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
href="https://sourcecode.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||||
fully functioning with all our features.</p>
|
fully functioning with all our features.</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
@@ -301,7 +266,7 @@ list of all available parameters</a>.</p>
|
|||||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||||
for this to work. Installation and configuration of PuppetDB is out of
|
for this to work. Installation and configuration of PuppetDB is out of
|
||||||
scope for this module, however <a
|
scope for this module, however <a
|
||||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
href="https://sourcecode.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||||
is available to automate this task for you as well within a few minutes.</p>
|
is available to automate this task for you as well within a few minutes.</p>
|
||||||
|
|
||||||
<h3 id="label-SELINUX">SELINUX</h3>
|
<h3 id="label-SELINUX">SELINUX</h3>
|
||||||
@@ -337,8 +302,7 @@ directly, hence the module creates a vhost for the ssl host.</p>
|
|||||||
<h3 id="label-Client+Connections">Client Connections</h3>
|
<h3 id="label-Client+Connections">Client Connections</h3>
|
||||||
|
|
||||||
<p>In order to monitor clients, NAGIOS must be able to connect to them. There
|
<p>In order to monitor clients, NAGIOS must be able to connect to them. There
|
||||||
are multiple ways of doing so, the most common ones being NRPE and SSH.
|
are multiple ways of doing so, the most common ones being NRPE and SSH. So
|
||||||
So
|
|
||||||
far this module works through the usage of NRPE, which by default is
|
far this module works through the usage of NRPE, which by default is
|
||||||
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the
|
||||||
required firewall port on clients (optional,default).</p>
|
required firewall port on clients (optional,default).</p>
|
||||||
@@ -346,12 +310,19 @@ required firewall port on clients (optional,default).</p>
|
|||||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||||
|
|
||||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
<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.</p>
|
||||||
|
</li><li>
|
||||||
|
<p>SELINUX modules: it appears that sealerts are different accross systems. it
|
||||||
|
might be typically easier to work through sealerts manually.</p>
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Support">Support</h3>
|
<h3 id="label-Support">Support</h3>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: CentOS 6, 7</p>
|
<p>OS: CentOS 7</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 3.x</p>
|
<p>Puppet 5.x</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h3 id="label-Tests">Tests</h3>
|
<h3 id="label-Tests">Tests</h3>
|
||||||
@@ -396,17 +367,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
|||||||
|
|
||||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||||
configuration modules, written for specific purposes and specific
|
configuration modules, written for specific purposes and specific
|
||||||
environments.
|
environments. The modules are tested and supported only as documented, and
|
||||||
The modules are tested and supported only as documented, and
|
|
||||||
require testing in designated environments (i.e. lab or development
|
require testing in designated environments (i.e. lab or development
|
||||||
environments) for parameter tuning etc. before deploying into production
|
environments) for parameter tuning etc. before deploying into production
|
||||||
environments.</p>
|
environments.</p>
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:40:55 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -120,6 +120,49 @@ function summaryToggle() {
|
|||||||
} else { localStorage.summaryCollapsed = "expand"; }
|
} else { localStorage.summaryCollapsed = "expand"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function constantSummaryToggle() {
|
||||||
|
$('.constants_summary_toggle').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
localStorage.summaryCollapsed = $(this).text();
|
||||||
|
$('.constants_summary_toggle').each(function() {
|
||||||
|
$(this).text($(this).text() == "collapse" ? "expand" : "collapse");
|
||||||
|
var next = $(this).parent().parent().nextAll('dl.constants').first();
|
||||||
|
if (next.hasClass('compact')) {
|
||||||
|
next.toggle();
|
||||||
|
next.nextAll('dl.constants').first().toggle();
|
||||||
|
}
|
||||||
|
else if (next.hasClass('constants')) {
|
||||||
|
var list = $('<dl class="constants compact" />');
|
||||||
|
list.html(next.html());
|
||||||
|
list.find('dt').each(function() {
|
||||||
|
$(this).addClass('summary_signature');
|
||||||
|
$(this).text( $(this).text().split('=')[0]);
|
||||||
|
if ($(this).has(".deprecated").length) {
|
||||||
|
$(this).addClass('deprecated');
|
||||||
|
};
|
||||||
|
});
|
||||||
|
// Add the value of the constant as "Tooltip" to the summary object
|
||||||
|
list.find('pre.code').each(function() {
|
||||||
|
console.log($(this).parent());
|
||||||
|
var dt_element = $(this).parent().prev();
|
||||||
|
var tooltip = $(this).text();
|
||||||
|
if (dt_element.hasClass("deprecated")) {
|
||||||
|
tooltip = 'Deprecated. ' + tooltip;
|
||||||
|
};
|
||||||
|
dt_element.attr('title', tooltip);
|
||||||
|
});
|
||||||
|
list.find('.docstring, .tags, dd').remove();
|
||||||
|
next.before(list);
|
||||||
|
next.toggle();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
if (localStorage.summaryCollapsed == "collapse") {
|
||||||
|
$('.constants_summary_toggle').first().click();
|
||||||
|
} else { localStorage.summaryCollapsed = "expand"; }
|
||||||
|
}
|
||||||
|
|
||||||
function generateTOC() {
|
function generateTOC() {
|
||||||
if ($('#filecontents').length === 0) return;
|
if ($('#filecontents').length === 0) return;
|
||||||
var _toc = $('<ol class="top"></ol>');
|
var _toc = $('<ol class="top"></ol>');
|
||||||
@@ -241,6 +284,7 @@ $(document).ready(function() {
|
|||||||
searchFrameButtons();
|
searchFrameButtons();
|
||||||
linkSummaries();
|
linkSummaries();
|
||||||
summaryToggle();
|
summaryToggle();
|
||||||
|
constantSummaryToggle();
|
||||||
generateTOC();
|
generateTOC();
|
||||||
mainFocus();
|
mainFocus();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -187,35 +187,42 @@
|
|||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios
|
Puppet Class: cd_nagios
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -78,40 +78,29 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::init.pp
|
<p>cd_nagios::init.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
(arne_teuke@confdroid.com) License: This file is part of cd_nagios.</p>
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@confdroid.com)
|
|
||||||
License:
|
|
||||||
This file is part of cd_nagios.</p>
|
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2017 confdroid (copyright@confdroid.com) This program is
|
||||||
Copyright (C) 2017 confdroid (copyright@confdroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -139,9 +128,7 @@ class cd_nagios {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:40:56 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::certbot::certs
|
Puppet Class: cd_nagios::certbot::certs
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::certbot::certs.pp
|
<p>cd_nagios::certbot::certs.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -230,9 +221,7 @@ class cd_nagios::certbot::certs (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::client::target
|
Puppet Class: cd_nagios::client::target
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,40 +83,29 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::client::target.pp
|
<p>cd_nagios::client::target.pp Module name: nagios Author: Arne Teuke
|
||||||
Module name: nagios
|
(arne_teuke@ConfDroid.com) License: This file is part of nagios.</p>
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)
|
|
||||||
License:
|
|
||||||
This file is part of nagios.</p>
|
|
||||||
|
|
||||||
<p>nagios is used for providing automatic configuration of Nagios targets.
|
<p>nagios is used for providing automatic configuration of Nagios targets.
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -384,9 +373,7 @@ class cd_nagios::client::target (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::firewall::iptables
|
Puppet Class: cd_nagios::firewall::iptables
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,41 +83,29 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::firewall::iptables.pp
|
<p>cd_nagios::firewall::iptables.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
(arne_teuke@ConfDroid.com) License: This file is part of cd_nagios.</p>
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)
|
|
||||||
License:
|
|
||||||
This file is part of cd_nagios.</p>
|
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of
|
<p>cd_nagios is used for providing automatic configuration of <service /
|
||||||
<service /
|
purpose> Copyright (C) 2017 ConfDroid (copyright@ConfDroid.com) This
|
||||||
purpose>
|
program is free software: you can redistribute it and/or modify it under
|
||||||
Copyright (C) 2017 ConfDroid (copyright@ConfDroid.com)
|
the terms of the GNU General Public License as published by the Free
|
||||||
This
|
Software Foundation, either version 3 of the License, or (at your option)
|
||||||
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>
|
any later version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -207,9 +195,7 @@ class cd_nagios::firewall::iptables (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::main::config
|
Puppet Class: cd_nagios::main::config
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ cd_nagios.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::main::config.pp
|
<p>cd_nagios::main::config.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -195,9 +186,7 @@ class cd_nagios::main::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:00 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::main::dirs
|
Puppet Class: cd_nagios::main::dirs
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::main::dirs.pp
|
<p>cd_nagios::main::dirs.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios.
|
<p>cd_nagios is used for providing automatic configuration of Nagios.
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -292,7 +283,49 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
183
|
183
|
||||||
184
|
184
|
||||||
185
|
185
|
||||||
186</pre>
|
186
|
||||||
|
187
|
||||||
|
188
|
||||||
|
189
|
||||||
|
190
|
||||||
|
191
|
||||||
|
192
|
||||||
|
193
|
||||||
|
194
|
||||||
|
195
|
||||||
|
196
|
||||||
|
197
|
||||||
|
198
|
||||||
|
199
|
||||||
|
200
|
||||||
|
201
|
||||||
|
202
|
||||||
|
203
|
||||||
|
204
|
||||||
|
205
|
||||||
|
206
|
||||||
|
207
|
||||||
|
208
|
||||||
|
209
|
||||||
|
210
|
||||||
|
211
|
||||||
|
212
|
||||||
|
213
|
||||||
|
214
|
||||||
|
215
|
||||||
|
216
|
||||||
|
217
|
||||||
|
218
|
||||||
|
219
|
||||||
|
220
|
||||||
|
221
|
||||||
|
222
|
||||||
|
223
|
||||||
|
224
|
||||||
|
225
|
||||||
|
226
|
||||||
|
227
|
||||||
|
228</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
||||||
@@ -459,6 +492,48 @@ class cd_nagios::main::dirs (
|
|||||||
seltype => usr_t,
|
seltype => usr_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# run dir for pid file
|
||||||
|
|
||||||
|
file { $ng_run_dir:
|
||||||
|
ensure => directory,
|
||||||
|
path => $ng_run_dir,
|
||||||
|
owner => 'nagios',
|
||||||
|
group => 'nagios',
|
||||||
|
mode => '0750',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => nagios_var_run_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
|
|
||||||
|
# cmd dir
|
||||||
|
|
||||||
|
file { $ng_cmd_dir:
|
||||||
|
ensure => directory,
|
||||||
|
path => $ng_cmd_dir,
|
||||||
|
owner => 'nagios',
|
||||||
|
group => 'nagios',
|
||||||
|
mode => '0775',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => nagios_spool_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
|
|
||||||
|
# checkresults dir
|
||||||
|
|
||||||
|
file { $ng_checkresults_dir:
|
||||||
|
ensure => directory,
|
||||||
|
path => $ng_checkresults_dir,
|
||||||
|
owner => 'nagios',
|
||||||
|
group => 'nagios',
|
||||||
|
mode => '0770',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => nagios_spool_t,
|
||||||
|
seluser => system_u,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
@@ -468,9 +543,7 @@ class cd_nagios::main::dirs (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:00 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::main::install
|
Puppet Class: cd_nagios::main::install
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ cd_nagios
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::main::install.pp
|
<p>cd_nagios::main::install.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios.
|
<p>cd_nagios is used for providing automatic configuration of Nagios.
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -213,9 +204,7 @@ class cd_nagios::main::install (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::main::user
|
Puppet Class: cd_nagios::main::user
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::main::user.pp
|
<p>cd_nagios::main::user.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -194,9 +185,7 @@ class cd_nagios::main::user (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:00 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::add_contact_rules
|
Puppet Class: cd_nagios::nagios::objects::add_contact_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ concat.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_contact_rules.pp
|
<p>cd_nagios::nagios::objects::add_contact_rules.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -217,9 +208,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::add_contactgroups_rules
|
Puppet Class: cd_nagios::nagios::objects::add_contactgroups_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ and populates through define and external puppet rules
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_contactgroups_rules.pp
|
<p>cd_nagios::nagios::objects::add_contactgroups_rules.pp Module name:
|
||||||
Module name:
|
cd_nagios Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -215,9 +206,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:03 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::add_hostgroup_rules
|
Puppet Class: cd_nagios::nagios::objects::add_hostgroup_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ additional hostgroups through external Puppet rules via define.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_hostgroup_rules.pp
|
<p>cd_nagios::nagios::objects::add_hostgroup_rules.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -214,9 +205,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:03 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::add_servicegroup_rules
|
Puppet Class: cd_nagios::nagios::objects::add_servicegroup_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ additional servicegroups through external Puppet rules via define.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_servicegroup_rules.pp
|
<p>cd_nagios::nagios::objects::add_servicegroup_rules.pp Module name:
|
||||||
Module name:
|
cd_nagios Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -214,9 +205,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:03 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::add_timeperiod_rules
|
Puppet Class: cd_nagios::nagios::objects::add_timeperiod_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,43 +84,33 @@ add. hostgroups through external Puppet rules via define.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_timeperiod_rules.pp
|
<p>cd_nagios::nagios::objects::add_timeperiod_rules.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -222,9 +212,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:03 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::commands
|
Puppet Class: cd_nagios::nagios::objects::commands
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::commands.pp
|
<p>cd_nagios::nagios::objects::commands.pp Module name: cd_nagios Author: Arne
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne
|
|
||||||
Teuke (arne_teuke@ConfDroid.com)</p>
|
Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -575,9 +566,7 @@ class cd_nagios::nagios::objects::commands (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::config
|
Puppet Class: cd_nagios::nagios::objects::config
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::server::nagios::objects::config.pp
|
<p>cd_nagios::server::nagios::objects::config.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -182,9 +173,7 @@ class cd_nagios::nagios::objects::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::contactgroups
|
Puppet Class: cd_nagios::nagios::objects::contactgroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::contactgroups.pp
|
<p>cd_nagios::nagios::objects::contactgroups.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -237,9 +228,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::contacts
|
Puppet Class: cd_nagios::nagios::objects::contacts
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_base_contacts.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::contacts.pp
|
<p>cd_nagios::nagios::objects::contacts.pp Module name: cd_nagios Author: Arne
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne
|
|
||||||
Teuke (arne_teuke@ConfDroid.com)</p>
|
Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -280,9 +271,7 @@ class cd_nagios::nagios::objects::contacts (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::hostgroups
|
Puppet Class: cd_nagios::nagios::objects::hostgroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ exports, and populates /etc/nagios/conf.d/nagios_base_hostgroups.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::hostgroups.pp
|
<p>cd_nagios::nagios::objects::hostgroups.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -551,9 +542,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::servicegroups
|
Puppet Class: cd_nagios::nagios::objects::servicegroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ exports, and populates /etc/nagios/conf.d/nagios_base_hostgroups.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::servicegroups.pp
|
<p>cd_nagios::nagios::objects::servicegroups.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -235,9 +226,7 @@ class cd_nagios::nagios::objects::servicegroups (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::template_rules
|
Puppet Class: cd_nagios::nagios::objects::template_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ concat.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::template_rules.pp
|
<p>cd_nagios::nagios::objects::template_rules.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -305,9 +296,7 @@ class cd_nagios::nagios::objects::template_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::nagios::objects::timeperiods
|
Puppet Class: cd_nagios::nagios::objects::timeperiods
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_timeperiods_base.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::timeperiods.pp
|
<p>cd_nagios::nagios::objects::timeperiods.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -285,9 +276,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:02 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,233 @@
|
|||||||
|
<!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.16
|
||||||
|
|
||||||
|
</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>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::selinux::config
|
Puppet Class: cd_nagios::selinux::config
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::selinux::config.pp
|
<p>cd_nagios::selinux::config.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -239,7 +230,34 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
130
|
130
|
||||||
131
|
131
|
||||||
132
|
132
|
||||||
133</pre>
|
133
|
||||||
|
134
|
||||||
|
135
|
||||||
|
136
|
||||||
|
137
|
||||||
|
138
|
||||||
|
139
|
||||||
|
140
|
||||||
|
141
|
||||||
|
142
|
||||||
|
143
|
||||||
|
144
|
||||||
|
145
|
||||||
|
146
|
||||||
|
147
|
||||||
|
148
|
||||||
|
149
|
||||||
|
150
|
||||||
|
151
|
||||||
|
152
|
||||||
|
153
|
||||||
|
154
|
||||||
|
155
|
||||||
|
156
|
||||||
|
157
|
||||||
|
158
|
||||||
|
159
|
||||||
|
160</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 23</span>
|
||||||
@@ -250,6 +268,8 @@ class cd_nagios::selinux::config (
|
|||||||
|
|
||||||
if $ng_use_selinux_tools == true {
|
if $ng_use_selinux_tools == true {
|
||||||
|
|
||||||
|
require cd_selinux
|
||||||
|
|
||||||
# it appears that selinux hehaves differently accross different nodes,
|
# it appears that selinux hehaves differently accross different nodes,
|
||||||
# so all we can do for now is to create a list of the AVC alerts and come up
|
# so all we can do for now is to create a list of the AVC alerts and come up
|
||||||
# with a solution on that later.
|
# with a solution on that later.
|
||||||
@@ -262,97 +282,122 @@ class cd_nagios::selinux::config (
|
|||||||
}
|
}
|
||||||
|
|
||||||
# sealert tac-cgi
|
# sealert tac-cgi
|
||||||
exec { 'create_policy_taccgi':
|
# exec { 'create_policy_taccgi':
|
||||||
command => template($ng_taccgi_erb),
|
# command => template($ng_taccgi_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# user => $ng_user,
|
||||||
creates => "${ng_user_home}/my-taccgi.pp",
|
# cwd => $ng_user_home,
|
||||||
notify => Exec['semodule_taccgi'],
|
# creates => "${ng_user_home}/my-taccgi.pp",
|
||||||
}
|
# notify => Exec['semodule_taccgi'],
|
||||||
|
# }
|
||||||
|
|
||||||
exec { 'semodule_taccgi':
|
# exec { 'semodule_taccgi':
|
||||||
command => 'semodule -i my-taccgi.pp',
|
# command => "semodule -i ${ng_user_home}/my-taccgi.pp",
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# user => $ng_user,
|
||||||
require => Exec['create_policy_taccgi'],
|
# cwd => $ng_user_home,
|
||||||
refreshonly => true,
|
# require => Exec['create_policy_taccgi'],
|
||||||
}
|
# refreshonly => true,
|
||||||
|
# }
|
||||||
|
|
||||||
# sealert status.cgi
|
# sealert status.cgi
|
||||||
|
|
||||||
exec { 'create_policy_statuscgi':
|
# exec { 'create_policy_statuscgi':
|
||||||
command => template($ng_statcgi_erb),
|
# command => template($ng_statcgi_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-statuscgi.pp",
|
# creates => "${ng_user_home}/my-statuscgi.pp",
|
||||||
notify => Exec['semodule_statuscgi'],
|
# notify => Exec['semodule_statuscgi'],
|
||||||
}
|
# }
|
||||||
|
|
||||||
exec { 'semodule_statuscgi':
|
# exec { 'semodule_statuscgi':
|
||||||
command => 'semodule -i my-statuscgi.pp',
|
# command => 'semodule -i my-statuscgi.pp',
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_statuscgi'],
|
# require => Exec['create_policy_statuscgi'],
|
||||||
refreshonly => true,
|
# refreshonly => true,
|
||||||
notify => Service[$ng_service],
|
# notify => Service[$ng_service],
|
||||||
}
|
# }
|
||||||
|
|
||||||
# sealert check_nrpe
|
# sealert check_nrpe
|
||||||
|
|
||||||
exec { 'create_policy_checknrpe':
|
# exec { 'create_policy_checknrpe':
|
||||||
command => template($ng_checknrpe_erb),
|
# command => template($ng_checknrpe_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-checknrpe.pp",
|
# creates => "${ng_user_home}/my-checknrpe.pp",
|
||||||
notify => Exec['semodule_checknrpe'],
|
# notify => Exec['semodule_checknrpe'],
|
||||||
}
|
# }
|
||||||
|
|
||||||
exec { 'semodule_checknrpe':
|
# exec { 'semodule_checknrpe':
|
||||||
command => 'semodule -i my-checknrpe.pp',
|
# command => 'semodule -i my-checknrpe.pp',
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_checknrpe'],
|
# require => Exec['create_policy_checknrpe'],
|
||||||
refreshonly => true,
|
# refreshonly => true,
|
||||||
notify => Service[$ng_service],
|
# notify => Service[$ng_service],
|
||||||
}
|
# }
|
||||||
|
|
||||||
# selart check_nagios
|
# selart check_nagios
|
||||||
|
|
||||||
exec { 'create_policy_checknagios':
|
# exec { 'create_policy_checknagios':
|
||||||
command => template($ng_checknagios_erb),
|
# command => template($ng_checknagios_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-checknagios.pp",
|
# creates => "${ng_user_home}/my-checknagios.pp",
|
||||||
notify => Exec['semodule_checknagios'],
|
# notify => Exec['semodule_checknagios'],
|
||||||
}
|
# }
|
||||||
|
|
||||||
exec { 'semodule_checknagios':
|
# exec { 'semodule_checknagios':
|
||||||
command => 'semodule -i my-checknagios.pp',
|
# command => 'semodule -i my-checknagios.pp',
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
# path => ['/usr/bin','/usr/sbin'],
|
||||||
cwd => $ng_user_home,
|
# cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_checknagios'],
|
# require => Exec['create_policy_checknagios'],
|
||||||
refreshonly => true,
|
# refreshonly => true,
|
||||||
notify => Service[$ng_service],
|
# notify => Service[$ng_service],
|
||||||
}
|
# }
|
||||||
|
|
||||||
# sealert status.dat
|
# sealert status.dat
|
||||||
|
|
||||||
exec { 'create_policy_statusdat':
|
exec { 'create_policy_statusdat':
|
||||||
command => template($ng_statdat_erb),
|
command => template($ng_statdat_erb),
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
creates => "${ng_user_home}/my-http.pp",
|
creates => "${ng_user_home}/my-http.pp",
|
||||||
notify => Exec['semodule_statusdat'],
|
notify => Exec['semodule_statusdat'],
|
||||||
}
|
}
|
||||||
|
|
||||||
exec { 'semodule_statusdat':
|
exec { 'semodule_statusdat':
|
||||||
command => 'semodule -i my-httpd.pp',
|
command => "semodule -i ${ng_user_home}/my-httpd.pp",
|
||||||
path => ['/usr/bin','/usr/sbin'],
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
cwd => $ng_user_home,
|
cwd => $ng_user_home,
|
||||||
require => Exec['create_policy_statusdat'],
|
require => Exec['create_policy_statusdat'],
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# sealert grep
|
||||||
|
|
||||||
|
exec { 'create_policy_grep':
|
||||||
|
command => template($ng_grep_erb),
|
||||||
|
path => ['/usr/bin','/usr/sbin'],
|
||||||
|
user => $ng_user,
|
||||||
|
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'],
|
||||||
|
user => $ng_user,
|
||||||
|
cwd => $ng_user_home,
|
||||||
|
require => Exec['create_policy_grep'],
|
||||||
|
refreshonly => true,
|
||||||
|
notify => Service[$ng_service],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
@@ -362,9 +407,7 @@ class cd_nagios::selinux::config (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::server::access_rules
|
Puppet Class: cd_nagios::server::access_rules
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::server::access_rules.pp
|
<p>cd_nagios::server::access_rules.pp Module name: cd_nagios Author: Arne
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne
|
|
||||||
Teuke (arne_teuke@ConfDroid.com)</p>
|
Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -195,9 +186,7 @@ class cd_nagios::server::access_rules (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::server::files
|
Puppet Class: cd_nagios::server::files
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::server::files.pp
|
<p>cd_nagios::server::files.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -224,8 +215,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
115
|
115
|
||||||
116
|
116
|
||||||
117
|
117
|
||||||
118
|
118</pre>
|
||||||
119</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/server/files.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/server/files.pp', line 23</span>
|
||||||
@@ -237,9 +227,7 @@ class cd_nagios::server::files (
|
|||||||
if $::fqdn == $ng_nagios_server {
|
if $::fqdn == $ng_nagios_server {
|
||||||
if $ng_use_https == true {
|
if $ng_use_https == true {
|
||||||
if $ng_enable_certbot == true {
|
if $ng_enable_certbot == true {
|
||||||
|
|
||||||
require cd_nagios::certbot::certs
|
require cd_nagios::certbot::certs
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,6 +265,7 @@ class cd_nagios::server::files (
|
|||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
## Apache files
|
||||||
# since we use vhost files, we do not want the regular file to appear
|
# since we use vhost files, we do not want the regular file to appear
|
||||||
# after upgrades to avoid conflicts
|
# after upgrades to avoid conflicts
|
||||||
|
|
||||||
@@ -334,9 +323,7 @@ class cd_nagios::server::files (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Puppet Class: cd_nagios::server::service
|
Puppet Class: cd_nagios::server::service
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -83,42 +83,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::server::service.pp
|
<p>cd_nagios::server::service.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
|
|
||||||
@@ -324,7 +315,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
215
|
215
|
||||||
216
|
216
|
||||||
217
|
217
|
||||||
218</pre>
|
218
|
||||||
|
219</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
|
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
|
||||||
@@ -341,6 +333,7 @@ class cd_nagios::server::service (
|
|||||||
require cd_nagios::server::files
|
require cd_nagios::server::files
|
||||||
require cd_nagios::server::access_rules
|
require cd_nagios::server::access_rules
|
||||||
require cd_nagios::nagios::objects::config
|
require cd_nagios::nagios::objects::config
|
||||||
|
require cd_nagios::nagios::resources::resource
|
||||||
|
|
||||||
service { $ng_service:
|
service { $ng_service:
|
||||||
ensure => running,
|
ensure => running,
|
||||||
@@ -532,9 +525,7 @@ class cd_nagios::server::service (
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:01 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -82,7 +82,14 @@
|
|||||||
</li>
|
</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">
|
<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>
|
<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>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::add_contact
|
Defined Type: cd_nagios::nagios::objects::add_contact
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -77,42 +77,33 @@ Puppet rules, and populates /etc/nagios/conf.d/nagios_add_contact.cfg.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_contact.pp
|
<p>cd_nagios::nagios::objects::add_contact.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -285,9 +276,7 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::add_contactgroups
|
Defined Type: cd_nagios::nagios::objects::add_contactgroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -77,42 +77,33 @@ external puppet rules.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_contactgroups.pp
|
<p>cd_nagios::nagios::objects::add_contactgroups.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<p class="tag_title">Parameters:</p>
|
<p class="tag_title">Parameters:</p>
|
||||||
<ul class="param">
|
<ul class="param">
|
||||||
@@ -130,8 +121,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Specify the short name of the
|
<p>Specify the short name of the contact group.</p>
|
||||||
contact group.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -149,8 +139,7 @@ contact group.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Specify the alias (long name) of the
|
<p>Specify the alias (long name) of the contact group</p>
|
||||||
contact group</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -168,8 +157,7 @@ contact group</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Specify whether the contact group
|
<p>Specify whether the contact group should be registered in Nagios.</p>
|
||||||
should be registered in Nagios.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -237,9 +225,7 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::add_hostgroups
|
Defined Type: cd_nagios::nagios::objects::add_hostgroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_hostgroups.pp
|
<p>cd_nagios::nagios::objects::add_hostgroups.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -245,9 +236,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::add_servicegroups
|
Defined Type: cd_nagios::nagios::objects::add_servicegroups
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_servicegroups.pp
|
<p>cd_nagios::nagios::objects::add_servicegroups.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -159,8 +150,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Specify the servicegroup alias
|
<p>Specify the servicegroup alias (long name).</p>
|
||||||
(long name).</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -178,8 +168,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether you want to register the
|
<p>Whether you want to register the servicegroup</p>
|
||||||
servicegroup</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -245,9 +234,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::add_timeperiods
|
Defined Type: cd_nagios::nagios::objects::add_timeperiods
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::add_timeperiods.pp
|
<p>cd_nagios::nagios::objects::add_timeperiods.pp Module name: cd_nagios
|
||||||
Module name:
|
|
||||||
cd_nagios
|
|
||||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
||||||
<div class="examples">
|
<div class="examples">
|
||||||
@@ -370,9 +361,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Defined Type: cd_nagios::nagios::objects::templates
|
Defined Type: cd_nagios::nagios::objects::templates
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -76,44 +76,34 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::nagios::objects::templates.pp
|
<p>cd_nagios::nagios::objects::templates.pp Module name: cd_nagios Author:
|
||||||
Module name: cd_nagios
|
|
||||||
Author:
|
|
||||||
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.
|
||||||
notifications.
|
notifications. for the defined service or host.</p>
|
||||||
for the defined service or host.</p>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<p class="tag_title">Parameters:</p>
|
<p class="tag_title">Parameters:</p>
|
||||||
<ul class="param">
|
<ul class="param">
|
||||||
@@ -131,8 +121,7 @@ for the defined service or host.</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>
|
||||||
|
|
||||||
@@ -151,8 +140,7 @@ Valid options are <code>contact</code>,
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>populates the name field,
|
<p>populates the name field, i.e. <code>generic-contact</code>,
|
||||||
i.e. <code>generic-contact</code>,
|
|
||||||
<code>generic-host</code>, <code>generic-service</code>.</p>
|
<code>generic-host</code>, <code>generic-service</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -171,8 +159,7 @@ i.e. <code>generic-contact</code>,
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Period in which to send out
|
<p>Period in which to send out notifications for service events, i.e.
|
||||||
notifications for service events, i.e.
|
|
||||||
<code>24x7</code>.</p>
|
<code>24x7</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -191,8 +178,7 @@ notifications for service events, i.e.
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Period in which to send out
|
<p>Period in which to send out notifications for host events , i.e.
|
||||||
notifications for host events , i.e.
|
|
||||||
<code>24x7</code>.</p>
|
<code>24x7</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -211,17 +197,10 @@ notifications for host events , i.e.
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>What service events to send
|
<p>What service events to send out notifications for: w = notify on WARNING
|
||||||
out notifications for:
|
service states, u = notify on UNKNOWN service states, c = notify on
|
||||||
w = notify on WARNING
|
CRITICAL service states, r = notify on service recoveries (OK states), f =
|
||||||
service states,
|
notify when the service starts and stops flapping. n = none (the contact
|
||||||
u = notify on UNKNOWN service states,
|
|
||||||
c = notify on
|
|
||||||
CRITICAL service states,
|
|
||||||
r = notify on service recoveries (OK states),
|
|
||||||
f =
|
|
||||||
notify when the service starts and stops flapping.
|
|
||||||
n = none (the contact
|
|
||||||
will not receive any type of service notifications).</p>
|
will not receive any type of service notifications).</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -240,19 +219,11 @@ will not receive any type of service notifications).</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>What host events to send
|
<p>What host events to send out notifications for: d = notify on DOWN host
|
||||||
out notifications for:
|
states, u = notify on UNREACHABLE host states, r = notify on host
|
||||||
d = notify on DOWN host
|
recoveries (UP states), f = notify when the host starts and stops flapping,
|
||||||
states,
|
s = notify when host or service scheduled downtime starts and ends. n =
|
||||||
u = notify on UNREACHABLE host states,
|
none (the contact will not receive any type of host notifications).</p>
|
||||||
r = notify on host
|
|
||||||
recoveries (UP states),
|
|
||||||
f = notify when the host starts and stops
|
|
||||||
flapping,
|
|
||||||
s = notify when host or service scheduled downtime starts and
|
|
||||||
ends.
|
|
||||||
n = none (the contact will not receive any type of host
|
|
||||||
notifications).</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -270,8 +241,7 @@ notifications).</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Command to use for
|
<p>Command to use for service event notification. Command must be defined in
|
||||||
service event notification. Command must be defined in
|
|
||||||
commands.cfg</p>
|
commands.cfg</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -290,8 +260,7 @@ commands.cfg</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Command to use for
|
<p>Command to use for host event notification. Command must be defined in
|
||||||
host event notification. Command must be defined in
|
|
||||||
commands.cfg.</p>
|
commands.cfg.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -310,8 +279,7 @@ commands.cfg.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to register the object to Nagios.
|
<p>Whether to register the object to Nagios. Since this is a template
|
||||||
Since this is a template
|
|
||||||
definition, we do not want to register those.</p>
|
definition, we do not want to register those.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -330,8 +298,7 @@ definition, we do not want to register those.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Which template to use for a given
|
<p>Which template to use for a given host or service definition, i.e.
|
||||||
host or service definition, i.e.
|
|
||||||
<code>generic-host</code>, <code>generic-service</code> etc.</p>
|
<code>generic-host</code>, <code>generic-service</code> etc.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -350,8 +317,7 @@ host or service definition, i.e.
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether notifications are enabled.
|
<p>Whether notifications are enabled. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -370,8 +336,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether event handlers are enabled.
|
<p>Whether event handlers are enabled. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -390,8 +355,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether flap detection is enabled.
|
<p>Whether flap detection is enabled. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -410,8 +374,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to process performance data.
|
<p>Whether to process performance data. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -430,8 +393,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to retain status
|
<p>Whether to retain status information. Valid options are <code>0</code> and
|
||||||
information. Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -450,8 +412,7 @@ information. Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to retain non-status
|
<p>Whether to retain non-status information. Valid options are <code>0</code>
|
||||||
information. Valid options are <code>0</code>
|
|
||||||
and <code>1</code>.</p>
|
and <code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -488,8 +449,7 @@ and <code>1</code>.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whoe often (in minutes) we should
|
<p>Whoe often (in minutes) we should resend notifications for the current
|
||||||
resend notifications for the current
|
|
||||||
status.</p>
|
status.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -508,46 +468,7 @@ status.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Which period in to run checks for the defined
|
<p>Which period in to run checks for the defined object.</p>
|
||||||
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>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -565,8 +486,7 @@ retries for the defined object.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>how often to check the defined object
|
<p>how often to check the defined object maximal.</p>
|
||||||
maximal.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -584,8 +504,7 @@ maximal.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>see <code>ng_service_notification_options</code>
|
<p>see <code>ng_service_notification_options</code> and
|
||||||
and
|
|
||||||
<code>ng_host_notification_options</code>.</p>
|
<code>ng_host_notification_options</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -604,8 +523,7 @@ and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>contact groups for the defined oject.
|
<p>contact groups for the defined oject. Specified contact group must exit in
|
||||||
Specified contact group must exit in
|
|
||||||
contact_groups</p>
|
contact_groups</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -624,8 +542,7 @@ contact_groups</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to enable active checks.
|
<p>Whether to enable active checks. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -644,8 +561,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to enable passive checks.
|
<p>Whether to enable passive checks. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -664,8 +580,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to parallelize checks
|
<p>Whether to parallelize checks Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -684,8 +599,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to obsess over the service.
|
<p>Whether to obsess over the service. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -704,8 +618,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether to check freshness.
|
<p>Whether to check freshness. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -724,8 +637,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Whether the service is volatile.
|
<p>Whether the service is volatile. Valid options are <code>0</code> and
|
||||||
Valid options are <code>0</code> and
|
|
||||||
<code>1</code>.</p>
|
<code>1</code>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -744,8 +656,7 @@ Valid options are <code>0</code> and
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>How often to check the service
|
<p>How often to check the service under normal conditions.</p>
|
||||||
under normal conditions.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -763,8 +674,7 @@ under normal conditions.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>Re-check the service every x minutes
|
<p>Re-check the service every x minutes until a hard state can be determined.</p>
|
||||||
until a hard state can be determined.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -797,6 +707,10 @@ until a hard state can be determined.</p>
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
|
96
|
||||||
|
97
|
||||||
|
98
|
||||||
|
99
|
||||||
100
|
100
|
||||||
101
|
101
|
||||||
102
|
102
|
||||||
@@ -839,16 +753,10 @@ until a hard state can be determined.</p>
|
|||||||
139
|
139
|
||||||
140
|
140
|
||||||
141
|
141
|
||||||
142
|
142</pre>
|
||||||
143
|
|
||||||
144
|
|
||||||
145
|
|
||||||
146
|
|
||||||
147
|
|
||||||
148</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/templates.pp', line 100</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/templates.pp', line 96</span>
|
||||||
|
|
||||||
define cd_nagios::nagios::objects::templates (
|
define cd_nagios::nagios::objects::templates (
|
||||||
$ng_template_object = undef,
|
$ng_template_object = undef,
|
||||||
@@ -882,8 +790,6 @@ $ng_parallelize_check = '1',
|
|||||||
$ng_obsess_over_service = '1',
|
$ng_obsess_over_service = '1',
|
||||||
$ng_check_freshness = '0',
|
$ng_check_freshness = '0',
|
||||||
$ng_is_volatile = '0',
|
$ng_is_volatile = '0',
|
||||||
$ng_check_interval = '10',
|
|
||||||
$ng_retry_interval = '2',
|
|
||||||
|
|
||||||
|
|
||||||
) {
|
) {
|
||||||
@@ -906,9 +812,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:04 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,237 @@
|
|||||||
|
<!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.16
|
||||||
|
|
||||||
|
</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>
|
<title>
|
||||||
Defined Type: cd_nagios::server::access
|
Defined Type: cd_nagios::server::access
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -76,42 +76,33 @@
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>cd_nagios::server::access.pp
|
<p>cd_nagios::server::access.pp Module name: cd_nagios Author: Arne Teuke
|
||||||
Module name: cd_nagios
|
|
||||||
Author: Arne Teuke
|
|
||||||
(arne_teuke@ConfDroid.com)</p>
|
(arne_teuke@ConfDroid.com)</p>
|
||||||
|
|
||||||
<h1 id="label-License%3A">License:</h1>
|
<h1 id="label-License-3A">License:</h1>
|
||||||
|
|
||||||
<p>This file is part of cd_nagios.</p>
|
<p>This file is part of cd_nagios.</p>
|
||||||
|
|
||||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||||
|
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com) This program is
|
||||||
Copyright (C) 2016 ConfDroid (copyright@ConfDroid.com)
|
free software: you can redistribute it and/or modify it under the terms of
|
||||||
This program is
|
the GNU General Public License as published by the Free Software
|
||||||
free software: you can redistribute it and/or modify
|
Foundation, either version 3 of the License, or (at your option) any later
|
||||||
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>
|
version.</p>
|
||||||
|
|
||||||
<p>This program is distributed in the hope that it will be useful,
|
<p>This program is distributed in the hope that it will be useful, but
|
||||||
but
|
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
MERCHANTABILITY
|
|
||||||
or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License
|
|
||||||
for more details.</p>
|
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>/.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
<p class="tag_title">Parameters:</p>
|
<p class="tag_title">Parameters:</p>
|
||||||
<ul class="param">
|
<ul class="param">
|
||||||
@@ -147,8 +138,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
|||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
<p>the encrypted password for the
|
<p>the encrypted password for the /etc/nagios/passwd file.</p>
|
||||||
/etc/nagios/passwd file.</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -220,9 +210,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:41:03 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<title>
|
<title>
|
||||||
Top Level Namespace
|
Top Level Namespace
|
||||||
|
|
||||||
— Documentation by YARD 0.9.9
|
— Documentation by YARD 0.9.16
|
||||||
|
|
||||||
</title>
|
</title>
|
||||||
|
|
||||||
@@ -90,9 +90,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
Generated on Wed Sep 27 14:40:56 2017 by
|
Generated 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).
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
./.yardoc/proxy_types: Applesoft BASIC program data
|
./.yardoc/proxy_types: Applesoft BASIC program data
|
||||||
./.yardoc/complete: empty
|
./.yardoc/complete: empty
|
||||||
./.yardoc/objects/root.dat: data
|
./.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/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/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
|
./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