Recommit for updates in build 156
This commit is contained in:
@@ -120,7 +120,7 @@ inherited by all classes except defines.
|
|||||||
<div class="docstring">
|
<div class="docstring">
|
||||||
<div class="discussion">
|
<div class="discussion">
|
||||||
|
|
||||||
<p>confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com)</p>
|
<p>confdroid_nagios::params Module name: confdroid_nagios Author: 12ww1160 (12ww1160@confdroid.com) @param [String] ng_use_ssl_auth Whether to use SSL authentication in Nagios. Default is ‘0’. @param [String] ng_sysinfo_auth Additional username for the sysinfo authentication in Nagios. Choose a suitable value or leave empty</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -589,8 +589,6 @@ inherited by all classes except defines.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
<div class='inline'>
|
<div class='inline'>
|
||||||
@@ -3137,6 +3135,261 @@ inherited by all classes except defines.
|
|||||||
|
|
||||||
</li>
|
</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 to enable context-sensitive help in Nagios. Default is ‘1’.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_pending_states</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'1'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>Whether to use pending states in Nagios. Default is ‘1’.</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 to use authentication in Nagios. Default is ‘1’.</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 the default user in Nagios. Default is false.</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>'ChangeME'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
—
|
||||||
|
<div class='inline'>
|
||||||
|
<p>The name of the default user in Nagios. Change to a suitable value.</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>Additional username for the confinfo authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the command authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the host view authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the service view authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the host command authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the service command authentication in Nagios. Choose a suitable value or leave empty</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>Additional username for the read-only authentication in Nagios. Choose a suitable value or leave empty</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>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_sysinfo_auth</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>''</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li>
|
||||||
|
|
||||||
|
<span class='name'>ng_procs_tot_ensure</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
|
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
@@ -3148,34 +3401,6 @@ inherited by all classes except defines.
|
|||||||
<pre class="lines">
|
<pre class="lines">
|
||||||
|
|
||||||
|
|
||||||
340
|
|
||||||
341
|
|
||||||
342
|
|
||||||
343
|
|
||||||
344
|
|
||||||
345
|
|
||||||
346
|
|
||||||
347
|
|
||||||
348
|
|
||||||
349
|
|
||||||
350
|
|
||||||
351
|
|
||||||
352
|
|
||||||
353
|
|
||||||
354
|
|
||||||
355
|
|
||||||
356
|
|
||||||
357
|
|
||||||
358
|
|
||||||
359
|
|
||||||
360
|
|
||||||
361
|
|
||||||
362
|
|
||||||
363
|
|
||||||
364
|
|
||||||
365
|
|
||||||
366
|
|
||||||
367
|
|
||||||
368
|
368
|
||||||
369
|
369
|
||||||
370
|
370
|
||||||
@@ -3447,10 +3672,52 @@ inherited by all classes except defines.
|
|||||||
636
|
636
|
||||||
637
|
637
|
||||||
638
|
638
|
||||||
639</pre>
|
639
|
||||||
|
640
|
||||||
|
641
|
||||||
|
642
|
||||||
|
643
|
||||||
|
644
|
||||||
|
645
|
||||||
|
646
|
||||||
|
647
|
||||||
|
648
|
||||||
|
649
|
||||||
|
650
|
||||||
|
651
|
||||||
|
652
|
||||||
|
653
|
||||||
|
654
|
||||||
|
655
|
||||||
|
656
|
||||||
|
657
|
||||||
|
658
|
||||||
|
659
|
||||||
|
660
|
||||||
|
661
|
||||||
|
662
|
||||||
|
663
|
||||||
|
664
|
||||||
|
665
|
||||||
|
666
|
||||||
|
667
|
||||||
|
668
|
||||||
|
669
|
||||||
|
670
|
||||||
|
671
|
||||||
|
672
|
||||||
|
673
|
||||||
|
674
|
||||||
|
675
|
||||||
|
676
|
||||||
|
677
|
||||||
|
678
|
||||||
|
679
|
||||||
|
680
|
||||||
|
681</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 340</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 368</span>
|
||||||
|
|
||||||
class confdroid_nagios::params (
|
class confdroid_nagios::params (
|
||||||
|
|
||||||
@@ -3607,6 +3874,20 @@ class confdroid_nagios::params (
|
|||||||
|
|
||||||
# cgi.cfg
|
# cgi.cfg
|
||||||
String $ng_context_help = '1',
|
String $ng_context_help = '1',
|
||||||
|
String $ng_pending_states = '1',
|
||||||
|
String $ng_use_auth = '1',
|
||||||
|
String $ng_use_ssl_auth = '0',
|
||||||
|
Boolean $ng_enable_def_user = false,
|
||||||
|
String $ng_def_user_name = 'ChangeME',
|
||||||
|
String $ng_sysinfo_auth = '',
|
||||||
|
String $ng_confinfo_auth = '',
|
||||||
|
String $ng_command_auth = '',
|
||||||
|
String $ng_hostview_auth = '',
|
||||||
|
String $ng_serviceview_auth = '',
|
||||||
|
String $ng_host_cmd_auth = '',
|
||||||
|
String $ng_svc_cmd_auth = '',
|
||||||
|
String $ng_readonly_auth = '' ,
|
||||||
|
|
||||||
|
|
||||||
# httpd
|
# httpd
|
||||||
Boolean $ng_use_https = false,
|
Boolean $ng_use_https = false,
|
||||||
@@ -3632,7 +3913,7 @@ class confdroid_nagios::params (
|
|||||||
String $ng_procs_tot_warn = '330',
|
String $ng_procs_tot_warn = '330',
|
||||||
String $ng_procs_tot_crit = '400',
|
String $ng_procs_tot_crit = '400',
|
||||||
String $ng_procs_tot_param = 'RDST',
|
String $ng_procs_tot_param = 'RDST',
|
||||||
String $ng_procs_tot_ens = 'present',
|
String $ng_procs_tot_ensure = 'present',
|
||||||
# zombie procs
|
# zombie procs
|
||||||
String $ng_procs_z_warn = '10',
|
String $ng_procs_z_warn = '10',
|
||||||
String $ng_procs_z_crit = '30',
|
String $ng_procs_z_crit = '30',
|
||||||
|
|||||||
@@ -166,18 +166,18 @@ class confdroid_nagios::server::files (
|
|||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
# file { $ng_cgi_cfg_file:
|
file { $ng_cgi_cfg_file:
|
||||||
# ensure => file,
|
ensure => file,
|
||||||
# owner => 'nagios',
|
owner => 'nagios',
|
||||||
# group => 'nagios',
|
group => 'nagios',
|
||||||
# mode => '0644',
|
mode => '0644',
|
||||||
# selrange => s0,
|
selrange => s0,
|
||||||
# selrole => object_r,
|
selrole => object_r,
|
||||||
# seltype => nagios_etc_t,
|
seltype => nagios_etc_t,
|
||||||
# seluser => system_u,
|
seluser => system_u,
|
||||||
# content => template($ng_nagios_cgi_cfg_erb),
|
content => template($ng_nagios_cgi_cfg_erb),
|
||||||
# notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
# }
|
}
|
||||||
|
|
||||||
file { $ng_lock_file:
|
file { $ng_lock_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
|
|||||||
Reference in New Issue
Block a user