3543 lines
76 KiB
HTML
3543 lines
76 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>
|
|
Puppet Class: cd_nagios::params
|
|
|
|
— Documentation by YARD 0.9.9
|
|
|
|
</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::params";
|
|
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::params</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::params</h1>
|
|
<div class="box_info">
|
|
|
|
|
|
<dl>
|
|
<dt>Inherited by:</dt>
|
|
<dd>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Amain_3A_3Adirs.html" title="puppet_classes::cd_nagios::main::dirs (puppet_class)">cd_nagios::main::dirs</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Amain_3A_3Auser.html" title="puppet_classes::cd_nagios::main::user (puppet_class)">cd_nagios::main::user</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::cd_nagios::main::config (puppet_class)">cd_nagios::main::config</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::cd_nagios::main::install (puppet_class)">cd_nagios::main::install</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Aserver_3A_3Afiles.html" title="puppet_classes::cd_nagios::server::files (puppet_class)">cd_nagios::server::files</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Acertbot_3A_3Acerts.html" title="puppet_classes::cd_nagios::certbot::certs (puppet_class)">cd_nagios::certbot::certs</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Aclient_3A_3Atarget.html" title="puppet_classes::cd_nagios::client::target (puppet_class)">cd_nagios::client::target</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Aselinux_3A_3Aconfig.html" title="puppet_classes::cd_nagios::selinux::config (puppet_class)">cd_nagios::selinux::config</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Aserver_3A_3Aservice.html" title="puppet_classes::cd_nagios::server::service (puppet_class)">cd_nagios::server::service</a></span><br/>
|
|
|
|
<span class='object_link'><a href="cd_nagios_3A_3Afirewall_3A_3Aiptables.html" title="puppet_classes::cd_nagios::firewall::iptables (puppet_class)">cd_nagios::firewall::iptables</a></span><br/>
|
|
|
|
<span class='object_link'><a href="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><br/>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Defined in:</dt>
|
|
<dd>
|
|
manifests/params.pp
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
|
|
<h2>Summary</h2>
|
|
Class holds all parameters for the cd_nagios module and is
|
|
inherited by all classes except defines.
|
|
|
|
<h2>Overview</h2>
|
|
<div class="docstring">
|
|
<div class="discussion">
|
|
|
|
<p>cd_nagios::params.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>/.
|
|
to connect
|
|
to NRPE, which as of now does not trust DNS names. Must be the
|
|
public
|
|
interface in case of NAT environments.
|
|
can issue host related commands.
|
|
can
|
|
issue service related commands.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="tags">
|
|
<p class="tag_title">Parameters:</p>
|
|
<ul class="param">
|
|
|
|
<li>
|
|
|
|
<span class='name'>pkg_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'latest'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>which <a href="https://confdroid.com/2017/05/puppet-type-package/">package
|
|
type</a>
|
|
to choose, i.e. <code>latest</code> or <code>present</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_nagios_server</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>"nagios.${::domain}"</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify the FQDN of the nagios server host.
|
|
Must be a proper A-name, no
|
|
CNAME i.e. on Loadbalancers. When the FQDN
|
|
matches the configured value,
|
|
Nagios server components will be installed
|
|
and the clients will allow to be
|
|
connected by that host. Impacts also
|
|
firewall ports (optional).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_nagios_ext_ip</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify the IP address of the
|
|
nagios server. Required for NRPE
|
|
configuration to allow the Nagios server</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_include_nrpe</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include NRPE to allow
|
|
Nagios to connect to clients</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ping_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'100.0,20%'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for ping warning check. Can be
|
|
overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ping_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'500.0,60%'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for ping critical check. Can be
|
|
overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ping_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Wheter to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_disk_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'20%'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for disk space warning check.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_disk_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10%'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for disk space critical check
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_disk_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_swap_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'20'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for swap space warning check.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_swap_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for swap space critical check.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_swap_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_users_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'20'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for user logins warning check.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_users_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'50'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for user logins critical check
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_users_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_tot_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'330'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default warning for the total processes
|
|
warning check. Can be overridden on
|
|
host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_tot_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'400'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default warning for the total processes
|
|
critical check. Can be overridden
|
|
on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_tot_param</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'RDST'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the process flags to be
|
|
checked. Can be overridden on
|
|
host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_tot_ens</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_z_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the zombie processes
|
|
warning check. Can be overridden on
|
|
host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_z_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the zombie processess
|
|
critical check. Can be overridden
|
|
on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_z_param</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'Z'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the zombie processes flag.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_procs_z_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_load_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'5.00,4.00,3.00'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the load warning check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_load_crit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10.00,6.00,4.00'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Default value for the load critical check.
|
|
Can be overridden on host level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_load_ensure</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include or exclude the load check.
|
|
Can be overridden on host
|
|
level.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_include_fw</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include firewall management.
|
|
requires cd_firewall or
|
|
puppetlabs-firewall module.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_fw_order</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'50'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Prefix for the port number to establish proper
|
|
firewall rule ordering.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_https</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to use https.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_http_https_fw</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether we want to forward http to https.
|
|
only active if
|
|
<code>ng_use_https</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_http_port</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'80'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify the port to use for httpd. Used in
|
|
templates and for firewall
|
|
(Optional)</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_https_port</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'443'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify the port to use for httpd. Used in
|
|
templates and for firewall
|
|
(Optional)</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_user</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'nagios'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The name of the Nagios service user.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_user_home</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The home directory for the Nagios service user</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_user_shell</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/bin/bash'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The shell for the Nagios service user, which
|
|
never should be allowed to
|
|
login.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_u_comment</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'Nagios service user'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The comment for the Nagios service user for
|
|
/etc/passwd. Shows up in email
|
|
notifocations from the Nagios daemon.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_u_uid</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1004'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The UID for the Nagios service user. Important when
|
|
using shared
|
|
environments like NFS.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_u_groups</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>undef</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>The secondary groups for the Nagios service user.
|
|
Must not contain the
|
|
primary group.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_context_help</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether or not a context-sensitive
|
|
help icon will be displayed for most of
|
|
the CGIs.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_pending_state</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>what states should be displayed in the web
|
|
interface for hosts/services
|
|
that have not yet been checked</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether or not the CGIs will use any
|
|
authentication when displaying host
|
|
and service information, as
|
|
well as committing commands to Nagios for
|
|
processing. This should <strong>not</strong>
|
|
be set to 0.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_ssl_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>allows you to use x509 cert (SSL)
|
|
authentication in the CGIs. This is an
|
|
advanced option and should
|
|
not be enabled unless you know what you're
|
|
doing.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_enable_def_user</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to enable a default user
|
|
(<strong>not recommended</strong>).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_def_user_name</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'nagios_insecure'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>default user name that can
|
|
access pages without authentication. This allows
|
|
people within a
|
|
secure domain (i.e., behind a firewall) to see the current
|
|
status
|
|
without authenticating. Only actuve if
|
|
<code>ng_enable_def_user</code> is set to <code>true</code></p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_nagios_admin</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'nagios_sec_adm'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify the name of a nagios administration
|
|
user here. Value will be used
|
|
in cgi.cfg for all authorized commands and info,
|
|
i.e. nagiosadmin. however,
|
|
its stronlgly suggested to use a different name.
|
|
Can be overridden per host
|
|
/ hostgroups, so allows flexibility and increased
|
|
security. You can also
|
|
add a comma-separated list of people in here instead,
|
|
which then would
|
|
function like a group instead a single user.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_sysinfo_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited list of all usernames that
|
|
have access to viewing the
|
|
Nagios process information as
|
|
provided by the Extended Information CGI
|
|
(extinfo.cgi).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_confinfo_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited list of all usernames that
|
|
can view ALL configuration
|
|
information (hosts, commands, etc).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_command_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited list of all usernames that
|
|
can issue shutdown and restart
|
|
commands to Nagios via the
|
|
command CGI (cmd.cgi).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_hostview_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited lists of all usernames that
|
|
can view information for all
|
|
hosts</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_serviceview_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited lists of all usernames
|
|
that can view information for all
|
|
services.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_host_cmd_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited lists of all usernames that</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_cmd_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited lists of all usernames that</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_readonly_auth</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>comma-delimited list of usernames that have
|
|
read-only rights in the CGIs.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_statusmap_img</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'smbackground.gd2'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>specify an image to be used as a
|
|
background in the statusmap CGI.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_colormap</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to set values of background colors.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_colormap_red</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'255'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>value for the <code>red</code> area of the color map.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_colormap_green</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'255'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>value for the <code>green</code> area of the color map</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_colormap_blue</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'255'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>value for the <code>blue</code> area of the color map.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_statusmap_layout</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'6'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Value for the default statusmap layout.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_wrl_layout</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'4'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Value for the default statuswrl layout.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_incl_own_wrl</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to include your own objects in the
|
|
generated VRML world.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_statuswrl_include</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify your own wrl object to be
|
|
included in the generated VRML world.
|
|
Only active if <code>ng_incl_own_wrl</code>
|
|
is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ping_syntax</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/bin/ping -n -U -c 5 $HOSTADDRESS$'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>what syntax should be used when
|
|
attempting to ping a host from the WAP
|
|
interface</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_refresh_rate</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'90'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>specify the refresh rate in seconds
|
|
of various CGIs</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_result_limit</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'100'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>specify the default number of results
|
|
displayed on the status.cgi.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_escape_html</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether HTML tags in host and service
|
|
status output is escaped in the web
|
|
interface. If enabled,
|
|
your plugin output will not be able to contain
|
|
clickable links.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_sound</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether to enable sound usage.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_host_unreachable</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'hostdown.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>host unreachable</code>
|
|
Only active if
|
|
<code>ng_use_sound</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_host_down</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'hostdown.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>host down</code>
|
|
Only active if
|
|
<code>ng_use_sound</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_critical</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'critical.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>service critical</code>.
|
|
Only active if
|
|
<code>ng_use_sound</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_warn</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'warning.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>service warning</code>
|
|
Only active if
|
|
<code>ng_use_sound</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_unknown</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'warning.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>service unknown</code>
|
|
Only active if
|
|
<code>ng_use_sound</code> is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_normal_sound</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'noproblem.wav'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>soundfile for <code>normal</code>
|
|
Only active if <code>ng_use_sound</code>
|
|
is set to <code>true</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_action_url_target</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'_blank'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify target frames in which
|
|
action URLs will open</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_notes_url_target</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'_blank'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify target frames in which
|
|
notes URLs will open</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_lock_author_names</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether users can change the author
|
|
name when submitting comments,
|
|
scheduling downtime.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_enable_splunk</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to enable splunk integration.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_splunk_url</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'http://127.0.0.1:8000/'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>the URL for your Splunk URL</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_navbar_addresses</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>allow navbar search queries IP addresses</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_navbar_aliases</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>allow navbar search for aliases</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ack_no_sticky</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Enabling ack_no_sticky will default the
|
|
"Sticky Acknowledgement"
|
|
to be unchecked.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_ack_no_send</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Enabling ack_no_send will default the
|
|
"Send Notification" to be
|
|
unchecked.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_selinux_tools</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to enable selinux tools and
|
|
policies. only effective if selinux is
|
|
enabled.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_required_hosts</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>String of <strong>FQDNs</strong> for hosts which
|
|
should be
|
|
allowed/required. Requires format
|
|
'host1.example.com
|
|
host2.example.com'. If you want no restriction, chose 'all'.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_required_ips</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'127.0.0.0/8'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>string of <b>_<em>Ip addresses __** for hosts which
|
|
should be
|
|
allowed/reqired. Requires format 'ipaddress ip address range'.
|
|
If
|
|
you want no restriction, choose '0.0.0.0/0'Ip addresses
|
|
_</em></b> for hosts which
|
|
should be allowed/reqired. Requires
|
|
format 'ipaddress ip address range'.
|
|
If you want no restriction,
|
|
choose '0.0.0.0/0'</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_enable_certbot</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to use certbot for automated TLS
|
|
certificate management</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_certbot_webroot</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/www/html'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>the path for certbot to place
|
|
challenges for the certification process.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_mail_user</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>"admin@${::domain}"</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>email address to receive administrative mail.
|
|
used for nagios itself as
|
|
well as for certbot.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_enable_index</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>true</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to create an index file to allow
|
|
httpd checks with nagios on the
|
|
nagios server.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_webserver_name</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>"nagios.${::domain}"</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>the name of the web server nagios should
|
|
listen to, i.e.
|
|
'nagios.example.net'. Unlike <code>ng_nagios_server</code>,
|
|
this
|
|
should not be the FQDN of the nagios host, but a web server domain
|
|
name.
|
|
required for certbot and used in the web templates.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/log/nagios/nagios.log'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>main log file where service- and host events
|
|
are logged.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_check_attempts</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>maximum amount of checks done by nagios</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_object_cache_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/objects.cache'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>determines where object definitions are
|
|
cached when # Nagios
|
|
starts/restarts.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_precached_obj_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/objects.precache'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>determines the location of the
|
|
precached object file.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_resource_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/etc/nagios/private/resource.cfg'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>resource file that contains $USERx$ macro
|
|
definitions.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_status_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/log/nagios/status.dat'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>where the current status of all monitored
|
|
services and hosts is stored.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_status_upd_interval</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>status file update interval.
|
|
determines the frequency (in seconds) that #
|
|
Nagios will periodically dump
|
|
program, host, and # service status data.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_check_ext_commands</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>allows you to specify whether or not
|
|
Nagios should check # for external
|
|
commands in the command file specified
|
|
by <code>ng_command_file</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_command_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/cmd/nagios.cmd'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>file that Nagios checks for external command
|
|
requests. It is also where the
|
|
command CGI will write commands that are
|
|
submitted # by users, so it must
|
|
be writeable by the user that the web server
|
|
is running as.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_enable_query_handler</span>
|
|
|
|
|
|
<span class='type'>(<tt>boolean</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>false</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to enable the query handler
|
|
for running nagios in cluster mode.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_query_socket</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/cmd/nagios.qh'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>the socket for the query handler</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_lock_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/run/nagios/nagios.pid'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>lockfile that Nagios will use to store its PID
|
|
number in when it is running
|
|
in daemon mode.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_temp_file</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/nagios.tmp'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>temporary file that is used as scratch space
|
|
when Nagios # updates the
|
|
status log, cleans the comment file, etc.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_temp_path</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/tmp'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>path where Nagios can create temp files for
|
|
service and # host check
|
|
results, etc.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_event_broker_options</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'-1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Controls what (if any) data gets sent
|
|
to the event broker.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_event_broker_module</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>specify an event broker
|
|
(including full path) module that should # by
|
|
loaded by Nagios at startup.
|
|
Specify multiple modules as array
|
|
['path/to/module1','/path/to/module2']</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_rotation_method</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'h'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Valid options:
|
|
n = None - don't rotate the log
|
|
h = Hourly rotation (top
|
|
of the hour)
|
|
d = Daily rotation (midnight every day)
|
|
w = Weekly rotation
|
|
(midnight on Saturday evening)
|
|
m = Monthly rotation (midnight last day of
|
|
month)</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_archive_path</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/log/nagios/archives'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>directory where archived (rotated)
|
|
log files should be # placed (assuming
|
|
you've chosen to do log rotation).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_use_syslog</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>whether to log messages to the syslog
|
|
facility, as well as the Nagios log
|
|
file. Valid options are <code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_notifications</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log notifications in addition
|
|
to regular messages. Valid options
|
|
are <code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_service_retries</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log service retries.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_host_retries</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log host retries.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_event_handlers</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log host and service event
|
|
handlers. Valid options are
|
|
<code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_initial_states</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log initial states.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_current_states</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log all current host and
|
|
service states to the main log file
|
|
after log has been rotated.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_external_commands</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log external commands.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_log_passive_checks</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether to log passive checks.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_glob_host_evt_handler</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify a global host event
|
|
handler # command that is to be run for every
|
|
host or service state change.
|
|
The global event handler is executed
|
|
immediately prior to the event
|
|
handler that you have optionally specified
|
|
in each host or # service
|
|
definition. The command argument is the short
|
|
name of a # command definition
|
|
that you define in your host configuration
|
|
file.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_glob_svc_evt_handler</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Specify a global service event
|
|
handler # command that is to be run for
|
|
every host or service state change.
|
|
The global event handler is executed
|
|
immediately prior to the event
|
|
handler that you have optionally specified
|
|
in each host or # service
|
|
definition. The command argument is the short
|
|
name of a # command definition
|
|
that you define in your host configuration
|
|
file.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_int_check_delay</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'s'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>method that Nagios should use when
|
|
initially "spreading out"
|
|
service checks when it starts monitoring.
|
|
Valid options:
|
|
n = None -
|
|
don't use any delay between checks
|
|
d = Use a "dumb" delay of
|
|
1 second between checks
|
|
s = Use "smart" inter-check delay
|
|
calculation
|
|
x.xx = Use an inter-check delay of x.xx seconds</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_svc_check_spread</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>timeframe (in minutes) from the
|
|
program start time that an initial check of
|
|
all services should be completed</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_svc_interleave_factor</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'s'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>determines how service checks are
|
|
interleaved. Valid options: s = Use
|
|
"smart" interleave factor calculation
|
|
x = Use an interleave
|
|
factor of x, where x is greater than or equal to 1.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_host_int_check_delay</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'s'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>method that Nagios should use when
|
|
initially "spreading out" host
|
|
checks when it starts monitoring.
|
|
Valid options:
|
|
n = None - don't use
|
|
any delay between checks
|
|
d = Use a "dumb" delay of 1 second
|
|
between checks
|
|
s = Use "smart" inter-check delay calculation
|
|
x.xx
|
|
= Use an inter-check delay of x.xx seconds</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_host_check_spread</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>timeframe (in minutes) from the
|
|
program start time that an initial check of
|
|
all hosts should # be completed.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_concurrent_checks</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>specify the maximum number of
|
|
service checks that can be run in parallel at
|
|
any given time. A value of 0
|
|
will not restrict the number of concurrent
|
|
checks that are being executed.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_check_res_reaper_freq</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'10'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>frequency (in seconds!) in which
|
|
Nagios will process the results of host
|
|
and service checks.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_check_res_reap_time</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>max amount of time (in seconds)
|
|
that a single # check result reaper event
|
|
will be allowed to run before
|
|
returning control back to Nagios so it can
|
|
perform other duties.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_check_result_path</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'/var/spool/nagios/checkresults'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>directory where Nagios stores the
|
|
results of host and service checks that
|
|
have not yet been processed.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_max_check_res_file_age</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'3600'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>maximum age (in seconds) which
|
|
check result files are considered to be
|
|
valid.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_cached_h_check_horizon</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'15'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>maximum amount of time (in seconds)
|
|
that the state of a previous host check
|
|
is considered current.
|
|
Cached host states (from host checks that were
|
|
performed more recently
|
|
that the timeframe specified by this value) can
|
|
immensely improve
|
|
performance in regards to the host check logic. Too high
|
|
of a value for
|
|
this option may result in inaccurate host states being used
|
|
by Nagios,
|
|
while a lower value may result in a performance hit for host
|
|
checks.
|
|
Use a value of 0 to disable host check caching.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_cached_s_check_horizon</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'15'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>maximum amount of time (in seconds)
|
|
that the state of a previous service
|
|
check is considered current.
|
|
Cached service states (from service checks
|
|
that were performed more recently
|
|
that the timeframe specified by this
|
|
value) can immensely improve
|
|
performance in regards to the service check
|
|
logic. Too high of a value for
|
|
this option may result in inaccurate service
|
|
states being used by Nagios,
|
|
while a lower value may result in a
|
|
performance hit for service checks.
|
|
Use a value of 0 to disable service
|
|
check caching.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_pred_host_dep_checks</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether Nagios will attempt to execute
|
|
checks of hosts when it predicts
|
|
that future dependency logic test may be
|
|
needed. Valid options are
|
|
<code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_pred_svc_dep_checks</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether Nagios will attempt to execute
|
|
checks of services when it predicts
|
|
that future dependency logic test may be
|
|
needed. Valid options are
|
|
<code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_soft_state_dependencies</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether or not Nagios will use
|
|
soft state information when checking host
|
|
and service dependencies.
|
|
Valid options are <code>0</code> and
|
|
<code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_time_change_threshold</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'900'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>when Nagios will react to detected
|
|
changes in system time (either forward
|
|
or backwards).</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_auto_reschedule_checks</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'0'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>Whether Nagios will attempt to
|
|
automatically reschedule active host and
|
|
service checks to
|
|
"smooth" them out over time. Experimental
|
|
feature.
|
|
Valid options are <code>0</code> and <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_auto_reschedule_intval</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'30'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>how often (in seconds) Nagios will
|
|
attempt to automatically reschedule
|
|
checks. only has an effect if
|
|
<code>ng_auto_reschedule_checks</code> is set
|
|
to <code>1</code>.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<span class='name'>ng_auto_reschedule_window</span>
|
|
|
|
|
|
<span class='type'>(<tt>string</tt>)</span>
|
|
|
|
|
|
<em class="default">(defaults to: <tt>'180'</tt>)</em>
|
|
|
|
|
|
—
|
|
<div class='inline'>
|
|
<p>determines the “window” of time
|
|
(in seconds) that # Nagios will look at
|
|
when automatically rescheduling
|
|
checks. Only host and service checks that
|
|
occur in the next X seconds
|
|
(determined by this variable) will be
|
|
rescheduled.</p>
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
<p class="tag_title">See Also:</p>
|
|
<ul class="see">
|
|
|
|
<li><a href="https://confdroid.com/2017/07/nagios-cgi-cfg/" target="_parent" title="https://confdroid.com/2017/07/nagios-cgi-cfg/">https://confdroid.com/2017/07/nagios-cgi-cfg/</a></li>
|
|
|
|
</ul>
|
|
|
|
</div><div class="method_details_list">
|
|
<table class="source_code">
|
|
<tr>
|
|
<td>
|
|
<pre class="lines">
|
|
|
|
|
|
361
|
|
362
|
|
363
|
|
364
|
|
365
|
|
366
|
|
367
|
|
368
|
|
369
|
|
370
|
|
371
|
|
372
|
|
373
|
|
374
|
|
375
|
|
376
|
|
377
|
|
378
|
|
379
|
|
380
|
|
381
|
|
382
|
|
383
|
|
384
|
|
385
|
|
386
|
|
387
|
|
388
|
|
389
|
|
390
|
|
391
|
|
392
|
|
393
|
|
394
|
|
395
|
|
396
|
|
397
|
|
398
|
|
399
|
|
400
|
|
401
|
|
402
|
|
403
|
|
404
|
|
405
|
|
406
|
|
407
|
|
408
|
|
409
|
|
410
|
|
411
|
|
412
|
|
413
|
|
414
|
|
415
|
|
416
|
|
417
|
|
418
|
|
419
|
|
420
|
|
421
|
|
422
|
|
423
|
|
424
|
|
425
|
|
426
|
|
427
|
|
428
|
|
429
|
|
430
|
|
431
|
|
432
|
|
433
|
|
434
|
|
435
|
|
436
|
|
437
|
|
438
|
|
439
|
|
440
|
|
441
|
|
442
|
|
443
|
|
444
|
|
445
|
|
446
|
|
447
|
|
448
|
|
449
|
|
450
|
|
451
|
|
452
|
|
453
|
|
454
|
|
455
|
|
456
|
|
457
|
|
458
|
|
459
|
|
460
|
|
461
|
|
462
|
|
463
|
|
464
|
|
465
|
|
466
|
|
467
|
|
468
|
|
469
|
|
470
|
|
471
|
|
472
|
|
473
|
|
474
|
|
475
|
|
476
|
|
477
|
|
478
|
|
479
|
|
480
|
|
481
|
|
482
|
|
483
|
|
484
|
|
485
|
|
486
|
|
487
|
|
488
|
|
489
|
|
490
|
|
491
|
|
492
|
|
493
|
|
494
|
|
495
|
|
496
|
|
497
|
|
498
|
|
499
|
|
500
|
|
501
|
|
502
|
|
503
|
|
504
|
|
505
|
|
506
|
|
507
|
|
508
|
|
509
|
|
510
|
|
511
|
|
512
|
|
513
|
|
514
|
|
515
|
|
516
|
|
517
|
|
518
|
|
519
|
|
520
|
|
521
|
|
522
|
|
523
|
|
524
|
|
525
|
|
526
|
|
527
|
|
528
|
|
529
|
|
530
|
|
531
|
|
532
|
|
533
|
|
534
|
|
535
|
|
536
|
|
537
|
|
538
|
|
539
|
|
540
|
|
541
|
|
542
|
|
543
|
|
544
|
|
545
|
|
546
|
|
547
|
|
548
|
|
549
|
|
550
|
|
551
|
|
552
|
|
553
|
|
554
|
|
555
|
|
556
|
|
557
|
|
558
|
|
559
|
|
560
|
|
561
|
|
562
|
|
563
|
|
564
|
|
565
|
|
566
|
|
567
|
|
568
|
|
569
|
|
570
|
|
571
|
|
572
|
|
573
|
|
574
|
|
575
|
|
576
|
|
577
|
|
578
|
|
579
|
|
580
|
|
581
|
|
582
|
|
583
|
|
584
|
|
585
|
|
586
|
|
587
|
|
588
|
|
589
|
|
590
|
|
591
|
|
592
|
|
593
|
|
594
|
|
595
|
|
596
|
|
597
|
|
598
|
|
599
|
|
600
|
|
601
|
|
602
|
|
603
|
|
604
|
|
605
|
|
606
|
|
607
|
|
608
|
|
609
|
|
610
|
|
611</pre>
|
|
</td>
|
|
<td>
|
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 361</span>
|
|
|
|
class cd_nagios::params (
|
|
|
|
$pkg_ensure = 'latest',
|
|
|
|
$ng_nagios_server = "nagios.${::domain}",
|
|
$ng_nagios_ext_ip = undef,
|
|
$ng_mail_user = "admin@${::domain}",
|
|
|
|
$ng_include_nrpe = true,
|
|
|
|
# firewall
|
|
$ng_include_fw = true,
|
|
$ng_use_https = true,
|
|
$ng_http_https_fw = true,
|
|
$ng_fw_order = '50',
|
|
$ng_http_port = '80',
|
|
$ng_https_port = '443',
|
|
|
|
# check command parameters
|
|
## ping
|
|
$ng_ping_warn = '100.0,20%',
|
|
$ng_ping_crit = '500.0,60%',
|
|
$ng_ping_ensure = 'present',
|
|
## disk
|
|
$ng_disk_warn = '20%',
|
|
$ng_disk_crit = '10%' ,
|
|
$ng_disk_ensure = 'present',
|
|
# swap
|
|
$ng_swap_warn = '20',
|
|
$ng_swap_crit = '10',
|
|
$ng_swap_ensure = 'present',
|
|
# users
|
|
$ng_users_warn = '20',
|
|
$ng_users_crit = '50',
|
|
$ng_users_ensure = 'present',
|
|
#total procs
|
|
$ng_procs_tot_warn = '330',
|
|
$ng_procs_tot_crit = '400',
|
|
$ng_procs_tot_param = 'RDST',
|
|
$ng_procs_tot_ens = 'present',
|
|
# zombie procs
|
|
$ng_procs_z_warn = '10',
|
|
$ng_procs_z_crit = '30',
|
|
$ng_procs_z_param = 'Z',
|
|
$ng_procs_z_ensure = 'present',
|
|
# load
|
|
$ng_load_warn = '5.00,4.00,3.00',
|
|
$ng_load_crit = '10.00,6.00,4.00',
|
|
$ng_load_ensure = 'present',
|
|
|
|
# user settings
|
|
$ng_user = 'nagios',
|
|
$ng_u_comment = 'Nagios service user',
|
|
$ng_u_uid = '1004',
|
|
$ng_user_home = '/var/spool/nagios',
|
|
$ng_u_groups = undef,
|
|
$ng_user_shell = '/bin/bash',
|
|
|
|
# cgi settings
|
|
$ng_context_help = '1',
|
|
$ng_pending_state = '1',
|
|
$ng_use_auth = '1',
|
|
$ng_use_ssl_auth = '0',
|
|
$ng_enable_def_user = false,
|
|
$ng_def_user_name = 'nagios_insecure',
|
|
$ng_nagios_admin = 'nagios_sec_adm',
|
|
$ng_sysinfo_auth = '',
|
|
$ng_confinfo_auth = '',
|
|
$ng_command_auth = '',
|
|
$ng_hostview_auth = '',
|
|
$ng_serviceview_auth = '',
|
|
$ng_host_cmd_auth = '',
|
|
$ng_svc_cmd_auth = '',
|
|
$ng_readonly_auth = '' ,
|
|
$ng_statusmap_img = 'smbackground.gd2',
|
|
$ng_use_colormap = false,
|
|
$ng_colormap_red = '255',
|
|
$ng_colormap_green = '255',
|
|
$ng_colormap_blue = '255',
|
|
$ng_statusmap_layout = '6',
|
|
$ng_wrl_layout = '4',
|
|
$ng_incl_own_wrl = false,
|
|
$ng_statuswrl_include = '',
|
|
$ng_ping_syntax = '/bin/ping -n -U -c 5 $HOSTADDRESS$',
|
|
$ng_refresh_rate = '90',
|
|
$ng_result_limit = '100',
|
|
$ng_escape_html = '1',
|
|
$ng_use_sound = false,
|
|
$ng_host_unreachable = 'hostdown.wav',
|
|
$ng_host_down = 'hostdown.wav',
|
|
$ng_svc_critical = 'critical.wav',
|
|
$ng_svc_warn = 'warning.wav',
|
|
$ng_svc_unknown = 'warning.wav',
|
|
$ng_normal_sound = 'noproblem.wav',
|
|
$ng_action_url_target = '_blank',
|
|
$ng_notes_url_target = '_blank',
|
|
$ng_lock_author_names = '1',
|
|
$ng_enable_splunk = false,
|
|
$ng_splunk_url = 'http://127.0.0.1:8000/',
|
|
$ng_navbar_addresses = '1',
|
|
$ng_navbar_aliases = '1',
|
|
$ng_ack_no_sticky = '0',
|
|
$ng_ack_no_send = '0',
|
|
|
|
# selinux
|
|
$ng_use_selinux_tools = true,
|
|
|
|
# httpd
|
|
$ng_required_hosts = '',
|
|
$ng_required_ips = '127.0.0.0/8',
|
|
$ng_enable_index = true,
|
|
|
|
# certbot
|
|
$ng_enable_certbot = true,
|
|
$ng_certbot_webroot = '/var/www/html',
|
|
$ng_webserver_name = "nagios.${::domain}",
|
|
|
|
# main settings
|
|
$ng_log_file = '/var/log/nagios/nagios.log',
|
|
$ng_max_check_attempts = '10',
|
|
$ng_object_cache_file = '/var/spool/nagios/objects.cache',
|
|
$ng_precached_obj_file = '/var/spool/nagios/objects.precache',
|
|
$ng_resource_file = '/etc/nagios/private/resource.cfg',
|
|
$ng_status_file = '/var/log/nagios/status.dat',
|
|
$ng_status_upd_interval = '10',
|
|
$ng_check_ext_commands = '1',
|
|
$ng_command_file = '/var/spool/nagios/cmd/nagios.cmd',
|
|
$ng_enable_query_handler = false,
|
|
$ng_query_socket = '/var/spool/nagios/cmd/nagios.qh',
|
|
$ng_lock_file = '/var/run/nagios/nagios.pid',
|
|
$ng_temp_file = '/var/spool/nagios/nagios.tmp',
|
|
$ng_temp_path = '/tmp',
|
|
$ng_event_broker_options = '-1',
|
|
$ng_event_broker_module = '',
|
|
$ng_log_rotation_method = 'h',
|
|
$ng_log_archive_path = '/var/log/nagios/archives',
|
|
$ng_use_syslog = '1',
|
|
$ng_log_notifications = '1',
|
|
$ng_log_service_retries = '1',
|
|
$ng_log_host_retries = '1',
|
|
$ng_log_event_handlers = '1',
|
|
$ng_log_initial_states = '0',
|
|
$ng_log_current_states = '1',
|
|
$ng_log_external_commands = '1',
|
|
$ng_log_passive_checks = '1',
|
|
$ng_glob_host_evt_handler = '',
|
|
$ng_glob_svc_evt_handler = '',
|
|
$ng_svc_int_check_delay = 's',
|
|
$ng_max_svc_check_spread = '30',
|
|
$ng_svc_interleave_factor = 's',
|
|
$ng_host_int_check_delay = 's',
|
|
$ng_max_host_check_spread = '30',
|
|
$ng_max_concurrent_checks = '0',
|
|
$ng_check_res_reaper_freq = '10',
|
|
$ng_max_check_res_reap_time = '30',
|
|
$ng_check_result_path = '/var/spool/nagios/checkresults',
|
|
$ng_max_check_res_file_age = '3600',
|
|
$ng_cached_h_check_horizon = '15',
|
|
$ng_cached_s_check_horizon = '15',
|
|
$ng_pred_host_dep_checks = '1',
|
|
$ng_pred_svc_dep_checks = '1',
|
|
$ng_soft_state_dependencies = '0',
|
|
$ng_time_change_threshold = '900',
|
|
$ng_auto_reschedule_checks = '0',
|
|
$ng_auto_reschedule_intval = '30',
|
|
$ng_auto_reschedule_window = '180',
|
|
|
|
) {
|
|
|
|
# installation section
|
|
|
|
$reqpackages_server = $::operatingsystem ? {
|
|
/(?i-mx:centos|fedora|redhat)/ => ['nagios','nagios-devel']
|
|
}
|
|
$reqpackages_client = $::operatingsystem ? {
|
|
/(?i-mx:centos|fedora|redhat)/ => ['net-snmp-utils','nagios-plugins','nagios-plugins-all', 'nagios-plugins-nrpe', 'nagios-common']
|
|
}
|
|
$reqpackages_nrpe = $::operatingsystem ? {
|
|
/(?i-mx:centos|fedora|redhat)/ => ['nrpe']
|
|
}
|
|
|
|
# service
|
|
$ng_service = 'nagios'
|
|
$ae_service = 'httpd'
|
|
|
|
# directories
|
|
$ng_main_dir = '/etc/nagios'
|
|
$ng_conf_d_dir = "${ng_main_dir}/conf.d"
|
|
$ng_objects_dir = "${ng_main_dir}/objects"
|
|
$ng_private_dir = "${ng_main_dir}/private"
|
|
$ng_usr_incl = '/usr/include/nagios'
|
|
$ng_lib_dir = '/usr/lib64/nagios'
|
|
$ng_log_dir = '/var/log/nagios'
|
|
$ng_log_archives = "${ng_log_dir}/archives"
|
|
$ng_spool_dir = '/var/spool/nagios'
|
|
$ng_usr_share = '/usr/share/nagios'
|
|
$ng_share_html = "${ng_usr_share}/html"
|
|
|
|
# files
|
|
$ng_main_config = "${ng_main_dir}/nagios.cfg"
|
|
$ng_cgi_cfg_file = "${ng_main_dir}/cgi.cfg"
|
|
$ng_cgi_cfg_erb = 'cd_nagios/nagios/cgi_cfg.erb'
|
|
$ng_htpasswd_file = "${ng_main_dir}/passwd"
|
|
$ng_htpasswd_head = 'cd_nagios/nagios/htpasswd_head.erb'
|
|
$ng_htpasswd_rule = 'cd_nagios/nagios/htpasswd_rule.erb'
|
|
$ng_taccgi_erb = 'cd_nagios/selinux/taccgi.erb'
|
|
$ng_statcgi_erb = 'cd_nagios/selinux/statuscgi.erb'
|
|
$ng_nagios_conf = '/etc/httpd/conf.d/nagios.conf'
|
|
$ng_nagios_conf_erb = 'cd_nagios/httpd/nagios_conf.erb'
|
|
$ng_welcome_conf = '/etc/httpd/conf.d/welcome.conf'
|
|
$ng_welcome_conf_erb = 'cd_nagios/httpd/welcome_conf.erb'
|
|
$ng_forward_conf = '/etc/httpd/conf.d/nagios_forward.conf'
|
|
$ng_forward_conf_erb = 'cd_nagios/httpd/forward_conf.erb'
|
|
$ng_get_cert_erb = 'cd_nagios/certbot/get_cert.erb'
|
|
$ng_unless_get_cert = 'cd_nagios/certbot/unless_get_cert.erb'
|
|
$ng_unless_renew_erb = 'cd_nagios/certbot/unless_renew_cert.erb'
|
|
$ng_index_html_file = '/var/www/html/index.html'
|
|
$ng_index_html_erb = 'cd_nagios/httpd/index_html.erb'
|
|
$ng_ssl_vhost_file = '/etc/httpd/conf.d/nagios_ssl.conf'
|
|
$ng_ssl_vhost_erb = 'cd_nagios/httpd/nagios_ssl_vhost.erb'
|
|
$ng_nagios_cfg_file = "${ng_main_dir}/nagios.cfg"
|
|
$ng_nagios_cfg_erb = 'cd_nagios/nagios/nagios_cfg.erb'
|
|
|
|
# certbot
|
|
$ng_certbot_main_dir = '/etc/letsencrypt'
|
|
$ng_certbot_archive = "${ng_certbot_main_dir}/archive"
|
|
$ng_certbot_check = "${ng_certbot_archive}/${ng_webserver_name}/cert1.pem"
|
|
$ng_certbot_live = "${ng_certbot_main_dir}/live"
|
|
|
|
# nagios
|
|
|
|
$ng_target_templates = "${ng_conf_d_dir}/templates.cfg"
|
|
$ng_target_timeperiods = "${ng_conf_d_dir}/timeperiods.cfg"
|
|
$ng_target_localhost = "${ng_conf_d_dir}/nagios_localhost.cfg"
|
|
$ng_target_host = "${ng_conf_d_dir}/nagios_host.cfg"
|
|
$ng_target_hostgroup = "${ng_conf_d_dir}/nagios_hostgroup.cfg"
|
|
$ng_target_hostdep = "${ng_conf_d_dir}/nagios_hostdependency.cfg"
|
|
$ng_target_hostesc = "${ng_conf_d_dir}/nagios_hostescalation.cfg"
|
|
$ng_target_hostext = "${ng_conf_d_dir}/nagios_hostextinfo.cfg"
|
|
$ng_target_service = "${ng_conf_d_dir}/nagios_service.cfg"
|
|
$ng_target_servicegroup = "${ng_conf_d_dir}/nagios_servicegroup.cfg"
|
|
$ng_target_contact = "${ng_conf_d_dir}/nagios_contact.cfg"
|
|
$ng_target_contactgroup = "${ng_conf_d_dir}/nagios_contactgroup.cfg"
|
|
$ng_target_command = "${ng_conf_d_dir}/nagios_command.cfg"
|
|
|
|
|
|
# includes must be last
|
|
|
|
include cd_nagios::main::config
|
|
|
|
}</pre>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="footer">
|
|
Generated on Mon Jul 24 17:25:34 2017 by
|
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
0.9.9 (ruby-2.0.0).
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html> |