60
CHANGELOG.md
60
CHANGELOG.md
@@ -8,40 +8,25 @@ Changelog of Git Changelog.
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/0679dc56e51747d">0679dc56e51747d</a> Jenkins Server <i>2017-07-30 14:20:09</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 148</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/bede0046dc27177">bede0046dc27177</a> Jenkins Server <i>2017-07-30 14:09:52</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 147</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/ebdf85199f0f27d">ebdf85199f0f27d</a> Arne Teuke <i>2017-07-30 14:09:13</i>
|
||||
<p>
|
||||
<h3>changed user shell depending on role, on nagios server it requires bash access, else /sbin/nologin</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/e2c90593bb9918c">e2c90593bb9918c</a> Jenkins Server <i>2017-07-30 13:59:46</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 146</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/8f1c9766d2edf97">8f1c9766d2edf97</a> Arne Teuke <i>2017-07-30 13:58:17</i>
|
||||
<p>
|
||||
<h3>updated user</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/303100c01923549">303100c01923549</a> Arne Teuke <i>2017-07-30 13:56:40</i>
|
||||
<p>
|
||||
<h3>updated user and README</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/990f0f882a44b37">990f0f882a44b37</a> Jenkins Server <i>2017-07-28 17:55:13</i>
|
||||
<p>
|
||||
<h3>recommit for updates in build 144</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/19034c2a5c70f56">19034c2a5c70f56</a> Arne Teuke <i>2017-07-28 17:54:33</i>
|
||||
<p>
|
||||
<h3>included NRPE on server as well</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/08fd1fcb5ce6c7e">08fd1fcb5ce6c7e</a> Jenkins Server <i>2017-07-28 13:24:01</i>
|
||||
<p>
|
||||
@@ -234,6 +219,41 @@ Changelog of Git Changelog.
|
||||
|
||||
</p>
|
||||
|
||||
<h2> v0.0.1.5 </h2>
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/4154041de6b8563">4154041de6b8563</a> Arne Teuke <i>2017-07-30 14:19:36</i>
|
||||
<p>
|
||||
<h3>reversed user change and made sure it always can login</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/ebdf85199f0f27d">ebdf85199f0f27d</a> Arne Teuke <i>2017-07-30 14:09:13</i>
|
||||
<p>
|
||||
<h3>changed user shell depending on role, on nagios server it requires bash access, else /sbin/nologin</h3>
|
||||
|
||||
</p>
|
||||
|
||||
<h2> v0.0.1.4 </h2>
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/8f1c9766d2edf97">8f1c9766d2edf97</a> Arne Teuke <i>2017-07-30 13:58:17</i>
|
||||
<p>
|
||||
<h3>updated user</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/303100c01923549">303100c01923549</a> Arne Teuke <i>2017-07-30 13:56:40</i>
|
||||
<p>
|
||||
<h3>updated user and README</h3>
|
||||
|
||||
</p>
|
||||
<a href="https://gitlab.puppetsoft.com/12WW1160/git-changelog-lib/commit/19034c2a5c70f56">19034c2a5c70f56</a> Arne Teuke <i>2017-07-28 17:54:33</i>
|
||||
<p>
|
||||
<h3>included NRPE on server as well</h3>
|
||||
|
||||
</p>
|
||||
|
||||
<h2> v0.0.1.3 </h2>
|
||||
<h2> No issue </h2>
|
||||
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
| | |-- timeperiods_cfg_head.erb
|
||||
| | `-- timeperiods_cfg_rule.erb
|
||||
| `-- selinux
|
||||
| |-- checknrpe.erb
|
||||
| |-- statuscgi.erb
|
||||
| `-- taccgi.erb
|
||||
|-- tests
|
||||
@@ -132,4 +133,4 @@
|
||||
|-- README.md
|
||||
`-- REPOSTRUCTURE.md
|
||||
|
||||
20 directories, 112 files
|
||||
20 directories, 113 files
|
||||
|
||||
@@ -281,7 +281,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:57 2017 by
|
||||
Generated on Sun Jul 30 16:40:53 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>
|
||||
|
||||
@@ -408,7 +408,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -408,7 +408,7 @@ environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:58 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -139,7 +139,7 @@ class cd_nagios {
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -230,7 +230,7 @@ class cd_nagios::certbot::certs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -378,7 +378,7 @@ class cd_nagios::client::target (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -207,7 +207,7 @@ class cd_nagios::firewall::iptables (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::main::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -468,7 +468,7 @@ class cd_nagios::main::dirs (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -213,7 +213,7 @@ class cd_nagios::main::install (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -194,7 +194,7 @@ class cd_nagios::main::user (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -217,7 +217,7 @@ class cd_nagios::nagios::objects::add_contact_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -215,7 +215,7 @@ class cd_nagios::nagios::objects::add_contactgroups_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -214,7 +214,7 @@ class cd_nagios::nagios::objects::add_hostgroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -224,7 +224,7 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -222,7 +222,7 @@ class cd_nagios::nagios::objects::add_timeperiod_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -597,7 +597,7 @@ class cd_nagios::nagios::objects::commands (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -182,7 +182,7 @@ class cd_nagios::nagios::objects::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -237,7 +237,7 @@ class cd_nagios::nagios::objects::contactgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -280,7 +280,7 @@ class cd_nagios::nagios::objects::contacts (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -551,7 +551,7 @@ class cd_nagios::nagios::objects::hostgroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -235,7 +235,7 @@ class cd_nagios::nagios::objects::servicegroups (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -305,7 +305,7 @@ class cd_nagios::nagios::objects::template_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -285,7 +285,7 @@ class cd_nagios::nagios::objects::timeperiods (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -876,7 +876,7 @@ templates and for firewall
|
||||
<span class='type'>(<tt>string</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'/sbin/nologin'</tt>)</em>
|
||||
<em class="default">(defaults to: <tt>'/bin/bash'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
@@ -5264,8 +5264,7 @@ configuration file.</p>
|
||||
998
|
||||
999
|
||||
1000
|
||||
1001
|
||||
1002</pre>
|
||||
1001</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 648</span>
|
||||
@@ -5328,7 +5327,7 @@ $ng_u_comment = 'Nagios service user',
|
||||
$ng_u_uid = '1004',
|
||||
$ng_user_home = '/var/spool/nagios',
|
||||
$ng_u_groups = undef,
|
||||
$ng_user_shell = '/sbin/nologin',
|
||||
$ng_user_shell = '/bin/bash',
|
||||
|
||||
# cgi settings
|
||||
$ng_context_help = '1',
|
||||
@@ -5562,6 +5561,7 @@ $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_checknrpe_erb = 'cd_nagios/selinux/checknrpe.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'
|
||||
@@ -5617,8 +5617,6 @@ $ng_cntctgrps_rule_erb = 'cd_nagios/nagios/contactgroups_cfg_rule.erb&#
|
||||
$ng_target_command = "${ng_conf_d_dir}/nagios_commands_base.cfg"
|
||||
$ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios'
|
||||
|
||||
# nrpe
|
||||
$ng_nrpe_file = "${ng_main_dir}/nrpe.cfg"
|
||||
|
||||
# includes must be last
|
||||
|
||||
@@ -5632,7 +5630,7 @@ $ng_nrpe_file = "${ng_main_dir}/nrpe.cfg"
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -183,7 +183,28 @@ href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/.</p>
|
||||
74
|
||||
75
|
||||
76
|
||||
77</pre>
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/selinux/config.pp', line 24</span>
|
||||
@@ -240,6 +261,27 @@ class cd_nagios::selinux::config (
|
||||
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 { '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],
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
@@ -249,7 +291,7 @@ class cd_nagios::selinux::config (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -195,7 +195,7 @@ class cd_nagios::server::access_rules (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -334,7 +334,7 @@ class cd_nagios::server::files (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:03 2017 by
|
||||
Generated on Sun Jul 30 16:40:59 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>
|
||||
|
||||
@@ -310,7 +310,7 @@ class cd_nagios::server::service (
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:04 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -285,7 +285,7 @@ $ng_contacts_rule_erb = $::cd_nagios::params::ng_contacts_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -237,7 +237,7 @@ $ng_cntctgrps_rule_erb = $::cd_nagios::params::ng_cntctgrps_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_hostgrp_rule_erb = $::cd_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -245,7 +245,7 @@ $ng_tgt_svcgrp_rule_erb = $::cd_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:07 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -370,7 +370,7 @@ $ng_tgt_timep_rule_erb = $::cd_nagios::params::ng_tgt_timep_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -906,7 +906,7 @@ $ng_templates_rule_erb = $::cd_nagios::params::ng_templates_rule_erb
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:06 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -220,7 +220,7 @@ $ng_service = $::cd_nagios::params::ng_service
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:20:05 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
Generated on Sun Jul 30 16:19:59 2017 by
|
||||
Generated on Sun Jul 30 16: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).
|
||||
</div>
|
||||
|
||||
@@ -703,7 +703,7 @@ $ng_u_comment = 'Nagios service user',
|
||||
$ng_u_uid = '1004',
|
||||
$ng_user_home = '/var/spool/nagios',
|
||||
$ng_u_groups = undef,
|
||||
$ng_user_shell = '/sbin/nologin',
|
||||
$ng_user_shell = '/bin/bash',
|
||||
|
||||
# cgi settings
|
||||
$ng_context_help = '1',
|
||||
@@ -937,6 +937,7 @@ $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_checknrpe_erb = 'cd_nagios/selinux/checknrpe.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'
|
||||
@@ -992,8 +993,6 @@ $ng_cntctgrps_rule_erb = 'cd_nagios/nagios/contactgroups_cfg_rule.erb'
|
||||
$ng_target_command = "${ng_conf_d_dir}/nagios_commands_base.cfg"
|
||||
$ng_nagios_service_cmd = 'check_nagios!/var/log/nagios/status.dat!5!/usr/sbin/nagios'
|
||||
|
||||
# nrpe
|
||||
$ng_nrpe_file = "${ng_main_dir}/nrpe.cfg"
|
||||
|
||||
# includes must be last
|
||||
|
||||
|
||||
@@ -73,5 +73,26 @@ class cd_nagios::selinux::config (
|
||||
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 { '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],
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
1
templates/selinux/checknrpe.erb
Normal file
1
templates/selinux/checknrpe.erb
Normal file
@@ -0,0 +1 @@
|
||||
ausearch -c 'check_nrpe' --raw | audit2allow -M my-checknrpe
|
||||
Reference in New Issue
Block a user