Merge branch 'master' of gitlab.confdroid.com:12ww1160/cd_nagios into HEAD
This commit is contained in:
2622
CHANGELOG.md
2622
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@@ -30,6 +30,7 @@
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aservicegroups.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplate_rules.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atimeperiods.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
|
||||
| | |-- cd_nagios_3A_3Aparams.html
|
||||
| | |-- cd_nagios_3A_3Aselinux_3A_3Aconfig.html
|
||||
| | |-- cd_nagios_3A_3Aserver_3A_3Aaccess_rules.html
|
||||
@@ -43,6 +44,7 @@
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_servicegroups.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_timeperiods.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aobjects_3A_3Atemplates.html
|
||||
| | |-- cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html
|
||||
| | `-- cd_nagios_3A_3Aserver_3A_3Aaccess.html
|
||||
| |-- file.README.html
|
||||
| |-- frames.html
|
||||
@@ -64,26 +66,29 @@
|
||||
| | |-- install.pp
|
||||
| | `-- user.pp
|
||||
| |-- nagios
|
||||
| | `-- objects
|
||||
| | |-- add_contactgroups.pp
|
||||
| | |-- add_contactgroups_rules.pp
|
||||
| | |-- add_contact.pp
|
||||
| | |-- add_contact_rules.pp
|
||||
| | |-- add_hostgroup_rules.pp
|
||||
| | |-- add_hostgroups.pp
|
||||
| | |-- add_servicegroup_rules.pp
|
||||
| | |-- add_servicegroups.pp
|
||||
| | |-- add_timeperiod_rules.pp
|
||||
| | |-- add_timeperiods.pp
|
||||
| | |-- commands.pp
|
||||
| | |-- config.pp
|
||||
| | |-- contactgroups.pp
|
||||
| | |-- contacts.pp
|
||||
| | |-- hostgroups.pp
|
||||
| | |-- servicegroups.pp
|
||||
| | |-- template_rules.pp
|
||||
| | |-- templates.pp
|
||||
| | `-- timeperiods.pp
|
||||
| | |-- objects
|
||||
| | | |-- add_contactgroups.pp
|
||||
| | | |-- add_contactgroups_rules.pp
|
||||
| | | |-- add_contact.pp
|
||||
| | | |-- add_contact_rules.pp
|
||||
| | | |-- add_hostgroup_rules.pp
|
||||
| | | |-- add_hostgroups.pp
|
||||
| | | |-- add_servicegroup_rules.pp
|
||||
| | | |-- add_servicegroups.pp
|
||||
| | | |-- add_timeperiod_rules.pp
|
||||
| | | |-- add_timeperiods.pp
|
||||
| | | |-- commands.pp
|
||||
| | | |-- config.pp
|
||||
| | | |-- contactgroups.pp
|
||||
| | | |-- contacts.pp
|
||||
| | | |-- hostgroups.pp
|
||||
| | | |-- servicegroups.pp
|
||||
| | | |-- template_rules.pp
|
||||
| | | |-- templates.pp
|
||||
| | | `-- timeperiods.pp
|
||||
| | `-- resources
|
||||
| | |-- resource_df.pp
|
||||
| | `-- resource.pp
|
||||
| |-- selinux
|
||||
| | `-- config.pp
|
||||
| |-- server
|
||||
@@ -113,6 +118,8 @@
|
||||
| | |-- hostgroups_cfg_rule.erb
|
||||
| | |-- htpasswd_rule.erb
|
||||
| | |-- nagios_cfg.erb
|
||||
| | |-- resource_cfg.erb
|
||||
| | |-- resource_cfg_rule.erb
|
||||
| | |-- svcgroups_cfg_head.erb
|
||||
| | |-- svcgroups_cfg_rule.erb
|
||||
| | |-- templates_cfg_head.erb
|
||||
@@ -122,6 +129,7 @@
|
||||
| `-- selinux
|
||||
| |-- checknagios.erb
|
||||
| |-- checknrpe.erb
|
||||
| |-- grep.erb
|
||||
| |-- statuscgi.erb
|
||||
| |-- statusdat.erb
|
||||
| `-- taccgi.erb
|
||||
@@ -132,7 +140,6 @@
|
||||
|-- Gemfile.lock
|
||||
|-- Jenkinsfile
|
||||
|-- LICENSE
|
||||
|-- README.md
|
||||
`-- REPOSTRUCTURE.md
|
||||
`-- README.md
|
||||
|
||||
20 directories, 115 files
|
||||
21 directories, 121 files
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>
|
||||
Documentation by YARD 0.9.9
|
||||
Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.9</h1>
|
||||
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.16</h1>
|
||||
<div id="listing">
|
||||
<h1 class="alphaindex">Alphabetic Index</h1>
|
||||
|
||||
@@ -173,6 +173,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html" title="puppet_classes::cd_nagios::nagios::resources::resource (puppet_class)">cd_nagios::nagios::resources::resource</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aparams.html" title="puppet_classes::cd_nagios::params (puppet_class)">cd_nagios::params</a></span>
|
||||
|
||||
@@ -248,6 +253,11 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html" title="puppet_defined_types::cd_nagios::nagios::resources::resource_df (puppet_defined_type)">cd_nagios::nagios::resources::resource_df</a></span>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Aserver_3A_3Aaccess.html" title="puppet_defined_types::cd_nagios::server::access (puppet_defined_type)">cd_nagios::server::access</a></span>
|
||||
|
||||
@@ -264,6 +274,8 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>File Listing</h2>
|
||||
<ul id="files" class="index_inline_list">
|
||||
|
||||
@@ -281,9 +293,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:54 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -245,6 +245,7 @@ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
|
||||
|
||||
dl.constants { margin-left: 10px; }
|
||||
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 .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;
|
||||
}
|
||||
ul.summary li { margin-bottom: 5px; }
|
||||
.summary .summary_signature {
|
||||
padding: 4px 8px;
|
||||
background: #f8f8f8;
|
||||
border: 1px solid #f0f0f0;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
|
||||
.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 .summary_signature { padding: 5px 7px; padding-right: 4px; }
|
||||
#content .summary_signature:hover a,
|
||||
@@ -484,6 +481,13 @@ pre.code .rubyid_backref,
|
||||
pre.code .rubyid_nth_ref { color: #6D79DE; }
|
||||
pre.code .regexp, .dregexp { color: #036A07; }
|
||||
pre.code a { border-bottom: 1px dotted #bbf; }
|
||||
/* inline code */
|
||||
*:not(pre) > code {
|
||||
padding: 1px 3px 1px 3px;
|
||||
border: 1px solid #E1E1E8;
|
||||
background: #F7F7F9;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
/* Color fix for links */
|
||||
#content .summary_desc pre.code .id > .object_link a, /* identifier */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -58,12 +58,9 @@
|
||||
</div>
|
||||
|
||||
<div id="content"><div id='filecontents'>
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
<p>|Repo Name| version | Build Status| |—|—|—|—| |<code>cd_nagios</code>|
|
||||
1.1.1.3 | <a href="https://pipelines.confdroid.com/job/cd_nagios/"><img
|
||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios"></a>|</p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
|
||||
@@ -86,58 +83,55 @@ production!!! __**</code></p>
|
||||
|
||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||
<ul><li>
|
||||
<p><a href="#features">Features</a></p>
|
||||
<p><a href="#label-Features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||
</li><li>
|
||||
<p><a href="#deployment">Deployment</a></p>
|
||||
<p><a href="#label-Deployment">Deployment</a></p>
|
||||
</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>
|
||||
<p><a href="#through-foreman">through Foreman</a></p>
|
||||
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||
</li><li>
|
||||
<p><a href="#parameters">Parameters</a></p>
|
||||
<p><a href="#label-Parameters">Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
||||
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
||||
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
||||
<p><a href="#label-Puppetdb">PuppetDB</a></p>
|
||||
</li><li>
|
||||
<p><a href="#selinux">SELINUX</a></p>
|
||||
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||
</li><li>
|
||||
<p><a href="#certbot">Certbot</a></p>
|
||||
<p><a href="#label-Certbot">Certbot</a></p>
|
||||
</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>
|
||||
<p><a href="#client-connections">Client Connections</a></p>
|
||||
<p><a href="#label-Client+connections">Client Connections</a></p>
|
||||
</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>
|
||||
<p><a href="#known-problems">Known Problems</a></p>
|
||||
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||
</li><li>
|
||||
<p><a href="#support">Support</a></p>
|
||||
<p><a href="#label-Support">Support</a></p>
|
||||
</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>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Features">Features</h3>
|
||||
|
||||
<p>Installation:
|
||||
* Nagios Server instance:
|
||||
* install httpd via cd_apache
|
||||
*
|
||||
<p>Installation: * Nagios Server instance: * install httpd via cd_apache *
|
||||
install Nagios server binaries on Nagios server</p>
|
||||
<ul><li>
|
||||
<p>Nagios clients:</p>
|
||||
@@ -147,61 +141,34 @@ install Nagios server binaries on Nagios server</p>
|
||||
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
||||
</li></ul>
|
||||
|
||||
<p>Configuration
|
||||
* configure all aspects of Nagios on server
|
||||
* manage nagios
|
||||
service user
|
||||
* manage directories (filesystem permissions, selinux )
|
||||
*
|
||||
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
|
||||
<p>Configuration * configure all aspects of Nagios on server * manage nagios
|
||||
service user * manage directories (filesystem permissions, selinux ) *
|
||||
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
|
||||
Puppet rules via define, to avoid having to alter the module code.
|
||||
* manage
|
||||
Puppet rules via define, to avoid having to alter the module code. * manage
|
||||
Nagios main contactgroups through Puppet exports. Additional contact groups
|
||||
can be created through external Puppet rules via define, to avoid having to
|
||||
alter the module code.
|
||||
* manage Nagios main hostgroups through Puppet
|
||||
alter the module code. * manage Nagios main hostgroups through Puppet
|
||||
exports. Additional host groups can be created through external Puppet
|
||||
rules via define, to avoid having to alter the module code.
|
||||
* manage Nagios
|
||||
rules via define, to avoid having to alter the module code. * manage Nagios
|
||||
main servicegroups through Puppet exports. Additional service groups can be
|
||||
created through external Puppet rules via define, to avoid having to alter
|
||||
the module code.
|
||||
* manage Nagios main timeperiods through Puppet exports.
|
||||
the module code. * manage Nagios main timeperiods through Puppet exports.
|
||||
Additional timeperiods can be created through external Puppet rules via
|
||||
define, to avoid having to alter the module code.
|
||||
* configure firewall
|
||||
(optional)
|
||||
* configure selinux policies (optional)
|
||||
* configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional)
|
||||
*
|
||||
manage TLS certificates through certbot (optional)</p>
|
||||
define, to avoid having to alter the module code. * configure firewall
|
||||
(optional) * configure selinux policies (optional) * configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional) *
|
||||
manage TLS certificates through certbot (optional) * manage
|
||||
<code>$user$</code> arguments in resource file via define</p>
|
||||
|
||||
<p>Service
|
||||
* manage Nagios service on server</p>
|
||||
<p>Service * manage Nagios service on server</p>
|
||||
|
||||
<p>Monitoring
|
||||
* monitor Nagios host
|
||||
* monitor Nagios service
|
||||
* monitor
|
||||
clients:
|
||||
* ping
|
||||
* root partition
|
||||
* swap usage
|
||||
* logged-in local users
|
||||
|
||||
* amount of total processes
|
||||
* amount of zombie processes
|
||||
* current Load</p>
|
||||
<p>Monitoring * monitor Nagios host * monitor Nagios service * 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>
|
||||
|
||||
@@ -212,31 +179,30 @@ clients:
|
||||
<p>All dependencies must be included in the catalogue.</p>
|
||||
<ul><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||
for Yum repos.</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
||||
for installing httpd</p>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_apache">cd_apache</a> for
|
||||
installing httpd</p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
for selinux policy adjustments</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
to auto-manage TLS certificates (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
manage NRPE (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||
stdlib</a> to facilitate concat</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||
concat</a> to concatenate configuration files from different sources.</p>
|
||||
</li></ul>
|
||||
@@ -248,10 +214,10 @@ concat</a> to concatenate configuration files from different sources.</p>
|
||||
<p>via site.pp or nodes.pp</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||
include cd_puppetdb
|
||||
include cd_nagios
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||
|
||||
<p>In order to apply parameters through Foreman,
|
||||
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
||||
@@ -288,7 +254,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
||||
Requires <a
|
||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> or <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||
fully functioning with all our features.</p>
|
||||
</li></ul>
|
||||
@@ -301,8 +267,8 @@ list of all available parameters</a>.</p>
|
||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||
for this to work. Installation and configuration of PuppetDB is out of
|
||||
scope for this module, however <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||
is available to automate this task for you as well within a few minutes.</p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a> is
|
||||
available to automate this task for you as well within a few minutes.</p>
|
||||
|
||||
<h3 id="label-SELINUX">SELINUX</h3>
|
||||
|
||||
@@ -337,8 +303,7 @@ directly, hence the module creates a vhost for the ssl host.</p>
|
||||
<h3 id="label-Client+Connections">Client Connections</h3>
|
||||
|
||||
<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.
|
||||
So
|
||||
are multiple ways of doing so, the most common ones being NRPE and SSH. So
|
||||
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
|
||||
required firewall port on clients (optional,default).</p>
|
||||
@@ -346,12 +311,19 @@ required firewall port on clients (optional,default).</p>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
<ul><li>
|
||||
<p>Collected resources import ordering problem: The module might try to import
|
||||
collected facts before nagios is even installed.</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>
|
||||
<ul><li>
|
||||
<p>OS: CentOS 6, 7</p>
|
||||
<p>OS: CentOS 7</p>
|
||||
</li><li>
|
||||
<p>Puppet 3.x</p>
|
||||
<p>Puppet 5.x</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Tests">Tests</h3>
|
||||
@@ -396,17 +368,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments.
|
||||
The modules are tested and supported only as documented, and
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Documentation by YARD 0.9.9</title>
|
||||
<title>Documentation by YARD 0.9.16</title>
|
||||
</head>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var match = unescape(window.location.hash).match(/^#!(.+)/);
|
||||
|
||||
171
doc/index.html
171
doc/index.html
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
File: README
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -58,12 +58,9 @@
|
||||
</div>
|
||||
|
||||
<div id="content"><div id='filecontents'>
|
||||
<p>|Repo Name| version | Build
|
||||
Status|
|
||||
|---|---|---|---|
|
||||
|<code>cd_nagios</code>| 0.0.1.9 | <a
|
||||
href="https://jenkins.confdroid.com/buildStatus/icon?job=cd_nagios">{Build
|
||||
Status</a>/]|</p>
|
||||
<p>|Repo Name| version | Build Status| |—|—|—|—| |<code>cd_nagios</code>|
|
||||
1.1.1.3 | <a href="https://pipelines.confdroid.com/job/cd_nagios/"><img
|
||||
src="https://pipelines.confdroid.com/buildStatus/icon?job=cd_nagios"></a>|</p>
|
||||
|
||||
<h3 id="label-Synopsis">Synopsis</h3>
|
||||
|
||||
@@ -86,58 +83,55 @@ production!!! __**</code></p>
|
||||
|
||||
<h3 id="label-Table+of+Contents">Table of Contents</h3>
|
||||
<ul><li>
|
||||
<p><a href="#features">Features</a></p>
|
||||
<p><a href="#label-Features">Features</a></p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/REPOSTRUCTURE.md">Repo
|
||||
Structure</a></p>
|
||||
</li><li>
|
||||
<p><a href="#dependencies">Dependencies</a></p>
|
||||
<p><a href="#label-Dependencies">Dependencies</a></p>
|
||||
</li><li>
|
||||
<p><a href="#deployment">Deployment</a></p>
|
||||
<p><a href="#label-Deployment">Deployment</a></p>
|
||||
</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>
|
||||
<p><a href="#through-foreman">through Foreman</a></p>
|
||||
<p><a href="#label-Through+foreman">through Foreman</a></p>
|
||||
</li><li>
|
||||
<p><a href="#parameters">Parameters</a></p>
|
||||
<p><a href="#label-Parameters">Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#mandatory-parameters">Mandatory Parameters</a></p>
|
||||
<p><a href="#label-Mandatory+parameters">Mandatory Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#optional-parameters">Optional Parameters</a></p>
|
||||
<p><a href="#label-Optional+parameters">Optional Parameters</a></p>
|
||||
</li><li>
|
||||
<p><a href="#puppetdb">PuppetDB</a></p>
|
||||
<p><a href="#label-Puppetdb">PuppetDB</a></p>
|
||||
</li><li>
|
||||
<p><a href="#selinux">SELINUX</a></p>
|
||||
<p><a href="#label-Selinux">SELINUX</a></p>
|
||||
</li><li>
|
||||
<p><a href="#certbot">Certbot</a></p>
|
||||
<p><a href="#label-Certbot">Certbot</a></p>
|
||||
</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>
|
||||
<p><a href="#client-connections">Client Connections</a></p>
|
||||
<p><a href="#label-Client+connections">Client Connections</a></p>
|
||||
</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>
|
||||
<p><a href="#known-problems">Known Problems</a></p>
|
||||
<p><a href="#label-Known+problems">Known Problems</a></p>
|
||||
</li><li>
|
||||
<p><a href="#support">Support</a></p>
|
||||
<p><a href="#label-Support">Support</a></p>
|
||||
</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>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_nagios/blob/master/CHANGELOG.md">Changelog</a></p>
|
||||
</li><li>
|
||||
<p><a href="https://confdroid.com/contact/">Contact Us</a></p>
|
||||
</li><li>
|
||||
<p><a href="#disclaimer">Disclaimer</a></p>
|
||||
<p><a href="#label-Disclaimer">Disclaimer</a></p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Features">Features</h3>
|
||||
|
||||
<p>Installation:
|
||||
* Nagios Server instance:
|
||||
* install httpd via cd_apache
|
||||
*
|
||||
<p>Installation: * Nagios Server instance: * install httpd via cd_apache *
|
||||
install Nagios server binaries on Nagios server</p>
|
||||
<ul><li>
|
||||
<p>Nagios clients:</p>
|
||||
@@ -147,61 +141,34 @@ install Nagios server binaries on Nagios server</p>
|
||||
<p>include NRPE via <code>cd_nrpe</code> (optional)</p>
|
||||
</li></ul>
|
||||
|
||||
<p>Configuration
|
||||
* configure all aspects of Nagios on server
|
||||
* manage nagios
|
||||
service user
|
||||
* manage directories (filesystem permissions, selinux )
|
||||
*
|
||||
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
|
||||
<p>Configuration * configure all aspects of Nagios on server * manage nagios
|
||||
service user * manage directories (filesystem permissions, selinux ) *
|
||||
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
|
||||
Puppet rules via define, to avoid having to alter the module code.
|
||||
* manage
|
||||
Puppet rules via define, to avoid having to alter the module code. * manage
|
||||
Nagios main contactgroups through Puppet exports. Additional contact groups
|
||||
can be created through external Puppet rules via define, to avoid having to
|
||||
alter the module code.
|
||||
* manage Nagios main hostgroups through Puppet
|
||||
alter the module code. * manage Nagios main hostgroups through Puppet
|
||||
exports. Additional host groups can be created through external Puppet
|
||||
rules via define, to avoid having to alter the module code.
|
||||
* manage Nagios
|
||||
rules via define, to avoid having to alter the module code. * manage Nagios
|
||||
main servicegroups through Puppet exports. Additional service groups can be
|
||||
created through external Puppet rules via define, to avoid having to alter
|
||||
the module code.
|
||||
* manage Nagios main timeperiods through Puppet exports.
|
||||
the module code. * manage Nagios main timeperiods through Puppet exports.
|
||||
Additional timeperiods can be created through external Puppet rules via
|
||||
define, to avoid having to alter the module code.
|
||||
* configure firewall
|
||||
(optional)
|
||||
* configure selinux policies (optional)
|
||||
* configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional)
|
||||
*
|
||||
manage TLS certificates through certbot (optional)</p>
|
||||
define, to avoid having to alter the module code. * configure firewall
|
||||
(optional) * configure selinux policies (optional) * configure forwarding
|
||||
http to https including accesing the /nagios url directly (optional) *
|
||||
manage TLS certificates through certbot (optional) * manage
|
||||
<code>$user$</code> arguments in resource file via define</p>
|
||||
|
||||
<p>Service
|
||||
* manage Nagios service on server</p>
|
||||
<p>Service * manage Nagios service on server</p>
|
||||
|
||||
<p>Monitoring
|
||||
* monitor Nagios host
|
||||
* monitor Nagios service
|
||||
* monitor
|
||||
clients:
|
||||
* ping
|
||||
* root partition
|
||||
* swap usage
|
||||
* logged-in local users
|
||||
|
||||
* amount of total processes
|
||||
* amount of zombie processes
|
||||
* current Load</p>
|
||||
<p>Monitoring * monitor Nagios host * monitor Nagios service * 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>
|
||||
|
||||
@@ -212,31 +179,30 @@ clients:
|
||||
<p>All dependencies must be included in the catalogue.</p>
|
||||
<ul><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_resources">cd_resources</a>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_resources">cd_resources</a>
|
||||
for Yum repos.</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_apache">cd_apache</a>
|
||||
for installing httpd</p>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_apache">cd_apache</a> for
|
||||
installing httpd</p>
|
||||
</li><li>
|
||||
<p><a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>
|
||||
or <a href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_selinux">cd_selinux</a>
|
||||
for selinux policy adjustments</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_certbot">cd_certbot</a>
|
||||
to auto-manage TLS certificates (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_nrpe">cd_nrpe</a> to
|
||||
manage NRPE (optional)</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd_stdlib</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-stdlib">puppetlabs
|
||||
stdlib</a> to facilitate concat</p>
|
||||
</li><li>
|
||||
<p><a href="https://gitlab.puppetsoft.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<p><a href="https://gitlab.confdroid.com/12WW1160/cd_stdlib">cd-concat</a> or
|
||||
<a href="https://github.com/puppetlabs/puppetlabs-concat">puppetlabs
|
||||
concat</a> to concatenate configuration files from different sources.</p>
|
||||
</li></ul>
|
||||
@@ -248,10 +214,10 @@ concat</a> to concatenate configuration files from different sources.</p>
|
||||
<p>via site.pp or nodes.pp</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">node 'example.example.net' {
|
||||
include cd_puppetdb
|
||||
include cd_nagios
|
||||
}</code></pre>
|
||||
|
||||
<h4 id="label-through+Foreman%3A">through Foreman:</h4>
|
||||
<h4 id="label-through+Foreman-3A">through Foreman:</h4>
|
||||
|
||||
<p>In order to apply parameters through Foreman,
|
||||
<strong>cd_nagios::params</strong> must be added to the host or hostgroup
|
||||
@@ -288,7 +254,7 @@ Nagios server to connect to clients. Defaults to <code>true</code>.</p>
|
||||
Requires <a
|
||||
href="https://github.com/puppetlabs/puppetlabs-firewall">puppetlabs
|
||||
firewall</a> or <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_firewall">cd_firewall</a>,
|
||||
which is a backdated clone of the puppetlabs firewall but tested to be
|
||||
fully functioning with all our features.</p>
|
||||
</li></ul>
|
||||
@@ -301,8 +267,8 @@ list of all available parameters</a>.</p>
|
||||
<p>A working instance of PuppetDBconnected to the Puppet master is required
|
||||
for this to work. Installation and configuration of PuppetDB is out of
|
||||
scope for this module, however <a
|
||||
href="https://gitlab.puppetsoft.com/12WW1160/cd_puppetdb">cd_puppetdb</a>
|
||||
is available to automate this task for you as well within a few minutes.</p>
|
||||
href="https://gitlab.confdroid.com/12WW1160/cd_puppetdb">cd_puppetdb</a> is
|
||||
available to automate this task for you as well within a few minutes.</p>
|
||||
|
||||
<h3 id="label-SELINUX">SELINUX</h3>
|
||||
|
||||
@@ -337,8 +303,7 @@ directly, hence the module creates a vhost for the ssl host.</p>
|
||||
<h3 id="label-Client+Connections">Client Connections</h3>
|
||||
|
||||
<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.
|
||||
So
|
||||
are multiple ways of doing so, the most common ones being NRPE and SSH. So
|
||||
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
|
||||
required firewall port on clients (optional,default).</p>
|
||||
@@ -346,12 +311,19 @@ required firewall port on clients (optional,default).</p>
|
||||
<h3 id="label-Manage+Additional+Resources">Manage Additional Resources</h3>
|
||||
|
||||
<h3 id="label-Known+Problems">Known Problems</h3>
|
||||
<ul><li>
|
||||
<p>Collected resources import ordering problem: The module might try to import
|
||||
collected facts before nagios is even installed.</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>
|
||||
<ul><li>
|
||||
<p>OS: CentOS 6, 7</p>
|
||||
<p>OS: CentOS 7</p>
|
||||
</li><li>
|
||||
<p>Puppet 3.x</p>
|
||||
<p>Puppet 5.x</p>
|
||||
</li></ul>
|
||||
|
||||
<h3 id="label-Tests">Tests</h3>
|
||||
@@ -396,17 +368,14 @@ with PuppetDB (see tests/UTF_Files)</p>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments.
|
||||
The modules are tested and supported only as documented, and
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:55 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -120,6 +120,49 @@ function summaryToggle() {
|
||||
} 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() {
|
||||
if ($('#filecontents').length === 0) return;
|
||||
var _toc = $('<ol class="top"></ol>');
|
||||
@@ -241,6 +284,7 @@ $(document).ready(function() {
|
||||
searchFrameButtons();
|
||||
linkSummaries();
|
||||
summaryToggle();
|
||||
constantSummaryToggle();
|
||||
generateTOC();
|
||||
mainFocus();
|
||||
});
|
||||
|
||||
@@ -187,35 +187,42 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::params" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::nagios::resources::resource" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html" title="puppet_classes::cd_nagios::nagios::resources::resource (puppet_class)">cd_nagios::nagios::resources::resource</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::params" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aparams.html" title="puppet_classes::cd_nagios::params (puppet_class)">cd_nagios::params</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::selinux::config" class="odd">
|
||||
<li id="object_puppet_classes::cd_nagios::selinux::config" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aselinux_3A_3Aconfig.html" title="puppet_classes::cd_nagios::selinux::config (puppet_class)">cd_nagios::selinux::config</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::access_rules" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::server::access_rules" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Aaccess_rules.html" title="puppet_classes::cd_nagios::server::access_rules (puppet_class)">cd_nagios::server::access_rules</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::files" class="odd">
|
||||
<li id="object_puppet_classes::cd_nagios::server::files" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Afiles.html" title="puppet_classes::cd_nagios::server::files (puppet_class)">cd_nagios::server::files</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_classes::cd_nagios::server::service" class="even">
|
||||
<li id="object_puppet_classes::cd_nagios::server::service" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_classes/cd_nagios_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::cd_nagios::server::service (puppet_class)">cd_nagios::server::service</a></span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -78,40 +78,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::init.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@confdroid.com)
|
||||
License:
|
||||
This file is part of cd_nagios.</p>
|
||||
<p>cd_nagios::init.pp Module name: cd_nagios 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
|
||||
|
||||
Copyright (C) 2017 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
|
||||
<p>cd_nagios is used for providing automatic configuration of Nagios
|
||||
Copyright (C) 2017 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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -139,9 +128,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::certbot::certs
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::certbot::certs.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::certbot::certs.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -230,9 +221,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::client::target
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,40 +83,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::client::target.pp
|
||||
Module name: nagios
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@ConfDroid.com)
|
||||
License:
|
||||
This file is part of nagios.</p>
|
||||
<p>cd_nagios::client::target.pp Module name: nagios 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.
|
||||
|
||||
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
|
||||
<p>nagios is used for providing automatic configuration of Nagios targets.
|
||||
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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -384,9 +373,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::firewall::iptables
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,41 +83,29 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::firewall::iptables.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
(arne_teuke@ConfDroid.com)
|
||||
License:
|
||||
This file is part of cd_nagios.</p>
|
||||
<p>cd_nagios::firewall::iptables.pp Module name: cd_nagios 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
|
||||
<service /
|
||||
purpose>
|
||||
Copyright (C) 2017 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)
|
||||
<p>cd_nagios is used for providing automatic configuration of <service /
|
||||
purpose> Copyright (C) 2017 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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -207,9 +195,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ cd_nagios.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::main::config.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::main::config.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -195,9 +186,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::dirs
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::main::dirs.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::main::dirs.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -292,7 +283,49 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
183
|
||||
184
|
||||
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>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 23</span>
|
||||
@@ -348,7 +381,7 @@ class cd_nagios::main::dirs (
|
||||
|
||||
if $::fqdn == $ng_nagios_server {
|
||||
|
||||
# /etc/nagios/conf.d
|
||||
# /etc/nagios/conf.d
|
||||
|
||||
file { $ng_conf_d_dir:
|
||||
ensure => directory,
|
||||
@@ -459,6 +492,48 @@ class cd_nagios::main::dirs (
|
||||
seltype => usr_t,
|
||||
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>
|
||||
</td>
|
||||
@@ -468,9 +543,7 @@ class cd_nagios::main::dirs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::install
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ cd_nagios
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::main::install.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::main::install.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -213,9 +204,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::main::user
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::main::user.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::main::user.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -194,9 +185,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:00 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_contact_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ concat.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_contact_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_contact_rules.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -217,9 +208,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_contactgroups_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ and populates through define and external puppet rules
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_contactgroups_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||
<p>cd_nagios::nagios::objects::add_contactgroups_rules.pp Module name:
|
||||
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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -215,9 +206,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_hostgroup_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ additional hostgroups through external Puppet rules via define.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_hostgroup_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_hostgroup_rules.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -214,9 +205,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_servicegroup_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ additional servicegroups through external Puppet rules via define.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_servicegroup_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
Author: Arne Teuke (arne_teuke@ConfDroid.com)</p>
|
||||
<p>cd_nagios::nagios::objects::add_servicegroup_rules.pp Module name:
|
||||
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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -214,9 +205,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::add_timeperiod_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,43 +84,33 @@ add. hostgroups through external Puppet rules via define.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_timeperiod_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_timeperiod_rules.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<p>You should have received a copy of the GNU General Public License along
|
||||
with this program. If not, see <a
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.
|
||||
}</p>
|
||||
href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/. }</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
|
||||
<div class="examples">
|
||||
@@ -222,9 +212,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::commands
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::commands.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne
|
||||
<p>cd_nagios::nagios::objects::commands.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -575,9 +566,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::server::nagios::objects::config.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::server::nagios::objects::config.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -182,9 +173,7 @@ class cd_nagios::nagios::objects::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::contactgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::contactgroups.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::contactgroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -237,9 +228,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::contacts
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_base_contacts.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::contacts.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne
|
||||
<p>cd_nagios::nagios::objects::contacts.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -280,9 +271,7 @@ class cd_nagios::nagios::objects::contacts (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::hostgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ exports, and populates /etc/nagios/conf.d/nagios_base_hostgroups.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::hostgroups.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::hostgroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -551,9 +542,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::servicegroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ exports, and populates /etc/nagios/conf.d/nagios_base_hostgroups.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::servicegroups.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::servicegroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -235,9 +226,7 @@ class cd_nagios::nagios::objects::servicegroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::template_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ concat.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::template_rules.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::template_rules.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -305,9 +296,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::nagios::objects::timeperiods
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -84,42 +84,33 @@ and populates /etc/nagios/conf.d/nagios_timeperiods_base.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::timeperiods.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::timeperiods.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -285,9 +276,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:02 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,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>
|
||||
Puppet Class: cd_nagios::selinux::config
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::selinux::config.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::selinux::config.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -239,7 +230,34 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
130
|
||||
131
|
||||
132
|
||||
133</pre>
|
||||
133
|
||||
134
|
||||
135
|
||||
136
|
||||
137
|
||||
138
|
||||
139
|
||||
140
|
||||
141
|
||||
142
|
||||
143
|
||||
144
|
||||
145
|
||||
146
|
||||
147
|
||||
148
|
||||
149
|
||||
150
|
||||
151
|
||||
152
|
||||
153
|
||||
154
|
||||
155
|
||||
156
|
||||
157
|
||||
158
|
||||
159
|
||||
160</pre>
|
||||
</td>
|
||||
<td>
|
||||
<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 {
|
||||
|
||||
require cd_selinux
|
||||
|
||||
# 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
|
||||
# with a solution on that later.
|
||||
@@ -262,97 +282,122 @@ class cd_nagios::selinux::config (
|
||||
}
|
||||
|
||||
# sealert tac-cgi
|
||||
exec { 'create_policy_taccgi':
|
||||
command => template($ng_taccgi_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-taccgi.pp",
|
||||
notify => Exec['semodule_taccgi'],
|
||||
}
|
||||
# exec { 'create_policy_taccgi':
|
||||
# command => template($ng_taccgi_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# user => $ng_user,
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-taccgi.pp",
|
||||
# notify => Exec['semodule_taccgi'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_taccgi':
|
||||
command => 'semodule -i my-taccgi.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_taccgi'],
|
||||
refreshonly => true,
|
||||
}
|
||||
# exec { 'semodule_taccgi':
|
||||
# command => "semodule -i ${ng_user_home}/my-taccgi.pp",
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# user => $ng_user,
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_taccgi'],
|
||||
# refreshonly => true,
|
||||
# }
|
||||
|
||||
# sealert status.cgi
|
||||
|
||||
exec { 'create_policy_statuscgi':
|
||||
command => template($ng_statcgi_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-statuscgi.pp",
|
||||
notify => Exec['semodule_statuscgi'],
|
||||
}
|
||||
# exec { 'create_policy_statuscgi':
|
||||
# command => template($ng_statcgi_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-statuscgi.pp",
|
||||
# notify => Exec['semodule_statuscgi'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_statuscgi':
|
||||
command => 'semodule -i my-statuscgi.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_statuscgi'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_statuscgi':
|
||||
# command => 'semodule -i my-statuscgi.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_statuscgi'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# sealert check_nrpe
|
||||
|
||||
exec { 'create_policy_checknrpe':
|
||||
command => template($ng_checknrpe_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-checknrpe.pp",
|
||||
notify => Exec['semodule_checknrpe'],
|
||||
}
|
||||
# exec { 'create_policy_checknrpe':
|
||||
# command => template($ng_checknrpe_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-checknrpe.pp",
|
||||
# notify => Exec['semodule_checknrpe'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_checknrpe':
|
||||
command => 'semodule -i my-checknrpe.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_checknrpe'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_checknrpe':
|
||||
# command => 'semodule -i my-checknrpe.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_checknrpe'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# selart check_nagios
|
||||
|
||||
exec { 'create_policy_checknagios':
|
||||
command => template($ng_checknagios_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-checknagios.pp",
|
||||
notify => Exec['semodule_checknagios'],
|
||||
}
|
||||
# exec { 'create_policy_checknagios':
|
||||
# command => template($ng_checknagios_erb),
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# creates => "${ng_user_home}/my-checknagios.pp",
|
||||
# notify => Exec['semodule_checknagios'],
|
||||
# }
|
||||
|
||||
exec { 'semodule_checknagios':
|
||||
command => 'semodule -i my-checknagios.pp',
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_checknagios'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
# exec { 'semodule_checknagios':
|
||||
# command => 'semodule -i my-checknagios.pp',
|
||||
# path => ['/usr/bin','/usr/sbin'],
|
||||
# cwd => $ng_user_home,
|
||||
# require => Exec['create_policy_checknagios'],
|
||||
# refreshonly => true,
|
||||
# notify => Service[$ng_service],
|
||||
# }
|
||||
|
||||
# sealert status.dat
|
||||
|
||||
exec { 'create_policy_statusdat':
|
||||
command => template($ng_statdat_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
user => $ng_user,
|
||||
cwd => $ng_user_home,
|
||||
creates => "${ng_user_home}/my-http.pp",
|
||||
notify => 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'],
|
||||
user => $ng_user,
|
||||
cwd => $ng_user_home,
|
||||
require => Exec['create_policy_statusdat'],
|
||||
refreshonly => true,
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
# sealert grep
|
||||
|
||||
exec { 'create_policy_grep':
|
||||
command => template($ng_grep_erb),
|
||||
path => ['/usr/bin','/usr/sbin'],
|
||||
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>
|
||||
</td>
|
||||
@@ -362,9 +407,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::access_rules
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::server::access_rules.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne
|
||||
<p>cd_nagios::server::access_rules.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -195,9 +186,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::files
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::server::files.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::server::files.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -224,8 +215,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
115
|
||||
116
|
||||
117
|
||||
118
|
||||
119</pre>
|
||||
118</pre>
|
||||
</td>
|
||||
<td>
|
||||
<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 $ng_use_https == true {
|
||||
if $ng_enable_certbot == true {
|
||||
|
||||
require cd_nagios::certbot::certs
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,6 +265,7 @@ class cd_nagios::server::files (
|
||||
notify => Service[$ng_service],
|
||||
}
|
||||
|
||||
## Apache files
|
||||
# since we use vhost files, we do not want the regular file to appear
|
||||
# after upgrades to avoid conflicts
|
||||
|
||||
@@ -334,9 +323,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Puppet Class: cd_nagios::server::service
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -83,42 +83,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::server::service.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::server::service.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
|
||||
|
||||
@@ -324,7 +315,8 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
215
|
||||
216
|
||||
217
|
||||
218</pre>
|
||||
218
|
||||
219</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/server/service.pp', line 23</span>
|
||||
@@ -341,6 +333,7 @@ class cd_nagios::server::service (
|
||||
require cd_nagios::server::files
|
||||
require cd_nagios::server::access_rules
|
||||
require cd_nagios::nagios::objects::config
|
||||
require cd_nagios::nagios::resources::resource
|
||||
|
||||
service { $ng_service:
|
||||
ensure => running,
|
||||
@@ -532,9 +525,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:01 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,14 @@
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_defined_types::cd_nagios::server::access" class="odd">
|
||||
<li id="object_puppet_defined_types::cd_nagios::nagios::resources::resource_df" class="odd">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource_df.html" title="puppet_defined_types::cd_nagios::nagios::resources::resource_df (puppet_defined_type)">cd_nagios::nagios::resources::resource_df</a></span>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
<li id="object_puppet_defined_types::cd_nagios::server::access" class="even">
|
||||
<div class="item">
|
||||
<span class='object_link'><a href="puppet_defined_types/cd_nagios_3A_3Aserver_3A_3Aaccess.html" title="puppet_defined_types::cd_nagios::server::access (puppet_defined_type)">cd_nagios::server::access</a></span>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_contact
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -77,42 +77,33 @@ Puppet rules, and populates /etc/nagios/conf.d/nagios_add_contact.cfg.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_contact.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::add_contact.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -285,9 +276,7 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_contactgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -77,42 +77,33 @@ external puppet rules.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_contactgroups.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_contactgroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -130,8 +121,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Specify the short name of the
|
||||
contact group.</p>
|
||||
<p>Specify the short name of the contact group.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -149,8 +139,7 @@ contact group.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Specify the alias (long name) of the
|
||||
contact group</p>
|
||||
<p>Specify the alias (long name) of the contact group</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -168,8 +157,7 @@ contact group</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Specify whether the contact group
|
||||
should be registered in Nagios.</p>
|
||||
<p>Specify whether the contact group should be registered in Nagios.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -237,9 +225,7 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_hostgroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_hostgroups.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_hostgroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -245,9 +236,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_servicegroups
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_servicegroups.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_servicegroups.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -159,8 +150,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Specify the servicegroup alias
|
||||
(long name).</p>
|
||||
<p>Specify the servicegroup alias (long name).</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -178,8 +168,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether you want to register the
|
||||
servicegroup</p>
|
||||
<p>Whether you want to register the servicegroup</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -245,9 +234,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::add_timeperiods
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -77,42 +77,33 @@ extermal Puppet rules.
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::add_timeperiods.pp
|
||||
Module name:
|
||||
cd_nagios
|
||||
<p>cd_nagios::nagios::objects::add_timeperiods.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -370,9 +361,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Defined Type: cd_nagios::nagios::objects::templates
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -76,44 +76,34 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::nagios::objects::templates.pp
|
||||
Module name: cd_nagios
|
||||
Author:
|
||||
<p>cd_nagios::nagios::objects::templates.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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>/.
|
||||
notifications.
|
||||
for the defined service or host.</p>
|
||||
notifications. for the defined service or host.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<p class="tag_title">Parameters:</p>
|
||||
<ul class="param">
|
||||
@@ -131,8 +121,7 @@ for the defined service or host.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the object type for the templates.
|
||||
Valid options are <code>contact</code>,
|
||||
<p>the object type for the templates. Valid options are <code>contact</code>,
|
||||
<code>host</code> and <code>service</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -151,8 +140,7 @@ Valid options are <code>contact</code>,
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>populates the name field,
|
||||
i.e. <code>generic-contact</code>,
|
||||
<p>populates the name field, i.e. <code>generic-contact</code>,
|
||||
<code>generic-host</code>, <code>generic-service</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -171,8 +159,7 @@ i.e. <code>generic-contact</code>,
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Period in which to send out
|
||||
notifications for service events, i.e.
|
||||
<p>Period in which to send out notifications for service events, i.e.
|
||||
<code>24x7</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -191,8 +178,7 @@ notifications for service events, i.e.
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Period in which to send out
|
||||
notifications for host events , i.e.
|
||||
<p>Period in which to send out notifications for host events , i.e.
|
||||
<code>24x7</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -211,17 +197,10 @@ notifications for host events , i.e.
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>What service events to send
|
||||
out notifications for:
|
||||
w = notify on WARNING
|
||||
service states,
|
||||
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
|
||||
<p>What service events to send out notifications for: w = notify on WARNING
|
||||
service states, 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>
|
||||
</div>
|
||||
|
||||
@@ -240,19 +219,11 @@ will not receive any type of service notifications).</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>What host events to send
|
||||
out notifications for:
|
||||
d = notify on DOWN host
|
||||
states,
|
||||
u = notify on UNREACHABLE host states,
|
||||
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>
|
||||
<p>What host events to send out notifications for: d = notify on DOWN host
|
||||
states, u = notify on UNREACHABLE host states, 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>
|
||||
|
||||
</li>
|
||||
@@ -270,8 +241,7 @@ notifications).</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Command to use for
|
||||
service event notification. Command must be defined in
|
||||
<p>Command to use for service event notification. Command must be defined in
|
||||
commands.cfg</p>
|
||||
</div>
|
||||
|
||||
@@ -290,8 +260,7 @@ commands.cfg</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Command to use for
|
||||
host event notification. Command must be defined in
|
||||
<p>Command to use for host event notification. Command must be defined in
|
||||
commands.cfg.</p>
|
||||
</div>
|
||||
|
||||
@@ -310,8 +279,7 @@ commands.cfg.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to register the object to Nagios.
|
||||
Since this is a template
|
||||
<p>Whether to register the object to Nagios. Since this is a template
|
||||
definition, we do not want to register those.</p>
|
||||
</div>
|
||||
|
||||
@@ -330,8 +298,7 @@ definition, we do not want to register those.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Which template to use for a given
|
||||
host or service definition, i.e.
|
||||
<p>Which template to use for a given host or service definition, i.e.
|
||||
<code>generic-host</code>, <code>generic-service</code> etc.</p>
|
||||
</div>
|
||||
|
||||
@@ -350,8 +317,7 @@ host or service definition, i.e.
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether notifications are enabled.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether notifications are enabled. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -370,8 +336,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether event handlers are enabled.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether event handlers are enabled. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -390,8 +355,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether flap detection is enabled.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether flap detection is enabled. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -410,8 +374,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to process performance data.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to process performance data. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -430,8 +393,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to retain status
|
||||
information. Valid options are <code>0</code> and
|
||||
<p>Whether to retain status information. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -450,8 +412,7 @@ information. Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to retain non-status
|
||||
information. Valid options are <code>0</code>
|
||||
<p>Whether to retain non-status information. Valid options are <code>0</code>
|
||||
and <code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -488,8 +449,7 @@ and <code>1</code>.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whoe often (in minutes) we should
|
||||
resend notifications for the current
|
||||
<p>Whoe often (in minutes) we should resend notifications for the current
|
||||
status.</p>
|
||||
</div>
|
||||
|
||||
@@ -508,46 +468,7 @@ status.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Which period in to run checks for the defined
|
||||
object.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_check_interval</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'5'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>How often in minutes to check the defined
|
||||
object.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>ng_retry_interval</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>at what interval in minutes to schedule
|
||||
retries for the defined object.</p>
|
||||
<p>Which period in to run checks for the defined object.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -565,8 +486,7 @@ retries for the defined object.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>how often to check the defined object
|
||||
maximal.</p>
|
||||
<p>how often to check the defined object maximal.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -584,8 +504,7 @@ maximal.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>see <code>ng_service_notification_options</code>
|
||||
and
|
||||
<p>see <code>ng_service_notification_options</code> and
|
||||
<code>ng_host_notification_options</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -604,8 +523,7 @@ and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>contact groups for the defined oject.
|
||||
Specified contact group must exit in
|
||||
<p>contact groups for the defined oject. Specified contact group must exit in
|
||||
contact_groups</p>
|
||||
</div>
|
||||
|
||||
@@ -624,8 +542,7 @@ contact_groups</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to enable active checks.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to enable active checks. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -644,8 +561,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to enable passive checks.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to enable passive checks. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -664,8 +580,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to parallelize checks
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to parallelize checks Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -684,8 +599,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to obsess over the service.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to obsess over the service. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -704,8 +618,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether to check freshness.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether to check freshness. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -724,8 +637,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Whether the service is volatile.
|
||||
Valid options are <code>0</code> and
|
||||
<p>Whether the service is volatile. Valid options are <code>0</code> and
|
||||
<code>1</code>.</p>
|
||||
</div>
|
||||
|
||||
@@ -744,8 +656,7 @@ Valid options are <code>0</code> and
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>How often to check the service
|
||||
under normal conditions.</p>
|
||||
<p>How often to check the service under normal conditions.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -763,8 +674,7 @@ under normal conditions.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>Re-check the service every x minutes
|
||||
until a hard state can be determined.</p>
|
||||
<p>Re-check the service every x minutes until a hard state can be determined.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -797,6 +707,10 @@ until a hard state can be determined.</p>
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
||||
101
|
||||
102
|
||||
@@ -839,16 +753,10 @@ until a hard state can be determined.</p>
|
||||
139
|
||||
140
|
||||
141
|
||||
142
|
||||
143
|
||||
144
|
||||
145
|
||||
146
|
||||
147
|
||||
148</pre>
|
||||
142</pre>
|
||||
</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 (
|
||||
$ng_template_object = undef,
|
||||
@@ -882,8 +790,6 @@ $ng_parallelize_check = '1',
|
||||
$ng_obsess_over_service = '1',
|
||||
$ng_check_freshness = '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 id="footer">
|
||||
Generated on Wed Sep 27 14:41:04 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,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>
|
||||
Defined Type: cd_nagios::server::access
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -76,42 +76,33 @@
|
||||
<div class="docstring">
|
||||
<div class="discussion">
|
||||
|
||||
<p>cd_nagios::server::access.pp
|
||||
Module name: cd_nagios
|
||||
Author: Arne Teuke
|
||||
<p>cd_nagios::server::access.pp Module name: 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>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
|
||||
<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
|
||||
<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
|
||||
<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">
|
||||
@@ -147,8 +138,7 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>the encrypted password for the
|
||||
/etc/nagios/passwd file.</p>
|
||||
<p>the encrypted password for the /etc/nagios/passwd file.</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
@@ -220,9 +210,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:41:03 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>
|
||||
Top Level Namespace
|
||||
|
||||
— Documentation by YARD 0.9.9
|
||||
— Documentation by YARD 0.9.16
|
||||
|
||||
</title>
|
||||
|
||||
@@ -90,9 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Wed Sep 27 14:40:56 2017 by
|
||||
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
||||
0.9.9 (ruby-2.0.0).
|
||||
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
./.yardoc/proxy_types: Applesoft BASIC program data
|
||||
./.yardoc/complete: empty
|
||||
./.yardoc/objects/root.dat: data
|
||||
./templates/httpd/index_html.erb: empty
|
||||
./doc/css/style.css: HTML document, UTF-8 Unicode text, with very long lines
|
||||
./doc/js/jquery.js: HTML document, UTF-8 Unicode text, with very long lines
|
||||
./doc/puppet_classes/cd_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html: C++ source, UTF-8 Unicode text
|
||||
./doc/puppet_classes/cd_nagios_3A_3Aparams.html: HTML document, UTF-8 Unicode text
|
||||
./templates/httpd/index_html.erb: empty
|
||||
|
||||
Reference in New Issue
Block a user