added comment option

This commit is contained in:
Arne Teuke
2017-07-30 13:17:19 +01:00
parent c0a5382d2c
commit ae65987869
4 changed files with 13 additions and 2 deletions

View File

@@ -38,8 +38,9 @@ CONFIGURATION
* manage configuration files through parameters:
* nrpe.conf
* nrpe.cfg
* commands.cfg (optional)
* manage iptables (optionals )
* manage dynamic NRPE check command definitions
* manage iptables (optional)
* manage selinux rule exceptions (optional)
SERVICE
* manage NRPE service
@@ -89,6 +90,8 @@ There are currently no mandatory parameters, i.e. the module will function right
### Managing Check Commands
In order to connect a Nagios monitoring server to clients through NRPE, you must define commands and the desired argument strings on the clients. The default NRPE installation comes with a few examples of such commands, which are also included in this module. However, every environment is very different in their requirements and Nagios via Puppet is all about the ability to dynamicically set command arguments based on default variables / overrides. For that reason no hard-coded commands are included, but instead all commands are set via argument strings, where possible.
The commands are created within /etc/nrpe.d/command.cfg , every set of instructions creates a new line.
Defining commands is as simple as that:
```
`cd_nrpe::commands::definitions` { 'check_users':