Compare commits
9 Commits
e5bc5d88c7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea345de6d8 | ||
|
|
c30df387da | ||
|
|
12d6cdf97c | ||
| 89617b8045 | |||
|
|
3ced5e85eb | ||
|
|
719a01fd2b | ||
|
|
006ad05cfd | ||
| 20d34f507c | |||
|
|
49a0e79694 |
@@ -340,7 +340,7 @@ All files and directories are configured with correct selinux context. If selinu
|
|||||||
## Support
|
## Support
|
||||||
|
|
||||||
- OS: Rocky 9
|
- OS: Rocky 9
|
||||||
- Puppet 7 # Puppet does not support Nagios in Puppet 8 anymore, although it still works
|
- Puppet 7 # Puppet themselves does not support Nagios in Puppet 8 anymore, although it still works
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|||||||
@@ -449,7 +449,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 does not support Nagios in Puppet 8 anymore, although it still works</p>
|
<p>Puppet 7 # Puppet themselves 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>
|
||||||
|
|||||||
@@ -449,7 +449,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 does not support Nagios in Puppet 8 anymore, although it still works</p>
|
<p>Puppet 7 # Puppet themselves 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>
|
||||||
|
|||||||
@@ -374,7 +374,17 @@ and populates /etc/nagios/conf.d/nagios_commands.cfg.
|
|||||||
279
|
279
|
||||||
280
|
280
|
||||||
281
|
281
|
||||||
282</pre>
|
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>
|
||||||
@@ -652,6 +662,16 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
target => $ng_target_command,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_chronyd':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_chronyd',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}</pre>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -278,5 +278,15 @@ class confdroid_nagios::nagios::objects::commands (
|
|||||||
mode => '0640',
|
mode => '0640',
|
||||||
target => $ng_target_command,
|
target => $ng_target_command,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@nagios_command { 'check_chronyd':
|
||||||
|
ensure => present,
|
||||||
|
command_name => 'check_chronyd',
|
||||||
|
command_line => '$USER1$/check_procs -c $ARG1$ -C $ARG2$',
|
||||||
|
owner => $ng_user,
|
||||||
|
group => $ng_user,
|
||||||
|
mode => '0640',
|
||||||
|
target => $ng_target_command,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user