Compare commits
1 Commits
master
...
5ac4aa7077
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ac4aa7077 |
@@ -78,7 +78,6 @@ The current nagios checks are included via `manifests/nagios/commands.pp`:
|
|||||||
- `check_ntp_time`
|
- `check_ntp_time`
|
||||||
- `check_fail2ban`
|
- `check_fail2ban`
|
||||||
- `check_alloy`
|
- `check_alloy`
|
||||||
- `check_puppet`, `check_puppet_server`, `check_puppetdb`
|
|
||||||
|
|
||||||
## Repo Documentation
|
## Repo Documentation
|
||||||
|
|
||||||
@@ -340,7 +339,7 @@ All files and directories are configured with correct selinux context. If selinu
|
|||||||
## Support
|
## Support
|
||||||
|
|
||||||
- OS: Rocky 9
|
- OS: Rocky 9
|
||||||
- Puppet 7 # Puppet themselves does not support Nagios in Puppet 8 anymore, although it still works
|
- Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|||||||
@@ -193,8 +193,6 @@
|
|||||||
<p><code>check_fail2ban</code></p>
|
<p><code>check_fail2ban</code></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><code>check_alloy</code></p>
|
<p><code>check_alloy</code></p>
|
||||||
</li><li>
|
|
||||||
<p><code>check_puppet</code>, <code>check_puppet_server</code>, <code>check_puppetdb</code></p>
|
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
@@ -449,7 +447,7 @@ Re-type new password:
|
|||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: Rocky 9</p>
|
<p>OS: Rocky 9</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 7 # Puppet themselves does not support Nagios in Puppet 8 anymore, although it still works</p>
|
<p>Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Tests">Tests</h2>
|
<h2 id="label-Tests">Tests</h2>
|
||||||
|
|||||||
@@ -193,8 +193,6 @@
|
|||||||
<p><code>check_fail2ban</code></p>
|
<p><code>check_fail2ban</code></p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p><code>check_alloy</code></p>
|
<p><code>check_alloy</code></p>
|
||||||
</li><li>
|
|
||||||
<p><code>check_puppet</code>, <code>check_puppet_server</code>, <code>check_puppetdb</code></p>
|
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||||
@@ -449,7 +447,7 @@ Re-type new password:
|
|||||||
<ul><li>
|
<ul><li>
|
||||||
<p>OS: Rocky 9</p>
|
<p>OS: Rocky 9</p>
|
||||||
</li><li>
|
</li><li>
|
||||||
<p>Puppet 7 # Puppet themselves does not support Nagios in Puppet 8 anymore, although it still works</p>
|
<p>Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works</p>
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<h2 id="label-Tests">Tests</h2>
|
<h2 id="label-Tests">Tests</h2>
|
||||||
|
|||||||
@@ -364,27 +364,7 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
269
|
269
|
||||||
270
|
270
|
||||||
271
|
271
|
||||||
272
|
272</pre>
|
||||||
273
|
|
||||||
274
|
|
||||||
275
|
|
||||||
276
|
|
||||||
277
|
|
||||||
278
|
|
||||||
279
|
|
||||||
280
|
|
||||||
281
|
|
||||||
282
|
|
||||||
283
|
|
||||||
284
|
|
||||||
285
|
|
||||||
286
|
|
||||||
287
|
|
||||||
288
|
|
||||||
289
|
|
||||||
290
|
|
||||||
291
|
|
||||||
292</pre>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
<pre class="code"><span class="info file"># File 'manifests/nagios/objects/commands.pp', line 8</span>
|
||||||
@@ -646,26 +626,6 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
@@nagios_command { 'check_puppet_server':
|
@@nagios_command { 'check_puppet_server':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
command_name => 'check_puppet_server',
|
command_name => 'check_puppet_server',
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
|
||||||
owner => $ng_user,
|
|
||||||
group => $ng_user,
|
|
||||||
mode => '0640',
|
|
||||||
target => $ng_target_command,
|
|
||||||
}
|
|
||||||
|
|
||||||
@@nagios_command { 'check_puppetdb':
|
|
||||||
ensure => present,
|
|
||||||
command_name => 'check_puppetdb',
|
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
|
||||||
owner => $ng_user,
|
|
||||||
group => $ng_user,
|
|
||||||
mode => '0640',
|
|
||||||
target => $ng_target_command,
|
|
||||||
}
|
|
||||||
|
|
||||||
@@nagios_command { 'check_chronyd':
|
|
||||||
ensure => present,
|
|
||||||
command_name => 'check_chronyd',
|
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
owner => $ng_user,
|
owner => $ng_user,
|
||||||
group => $ng_user,
|
group => $ng_user,
|
||||||
|
|||||||
@@ -262,26 +262,6 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
@@nagios_command { 'check_puppet_server':
|
@@nagios_command { 'check_puppet_server':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
command_name => 'check_puppet_server',
|
command_name => 'check_puppet_server',
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
|
||||||
owner => $ng_user,
|
|
||||||
group => $ng_user,
|
|
||||||
mode => '0640',
|
|
||||||
target => $ng_target_command,
|
|
||||||
}
|
|
||||||
|
|
||||||
@@nagios_command { 'check_puppetdb':
|
|
||||||
ensure => present,
|
|
||||||
command_name => 'check_puppetdb',
|
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -a $ARG2$',
|
|
||||||
owner => $ng_user,
|
|
||||||
group => $ng_user,
|
|
||||||
mode => '0640',
|
|
||||||
target => $ng_target_command,
|
|
||||||
}
|
|
||||||
|
|
||||||
@@nagios_command { 'check_chronyd':
|
|
||||||
ensure => present,
|
|
||||||
command_name => 'check_chronyd',
|
|
||||||
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
owner => $ng_user,
|
owner => $ng_user,
|
||||||
group => $ng_user,
|
group => $ng_user,
|
||||||
|
|||||||
Reference in New Issue
Block a user