diff --git a/doc/puppet_classes/confdroid_nrpe_3A_3Acommands_3A_3Adefinition_rules.html b/doc/puppet_classes/confdroid_nrpe_3A_3Acommands_3A_3Adefinition_rules.html index b7aebd7..74e07ea 100644 --- a/doc/puppet_classes/confdroid_nrpe_3A_3Acommands_3A_3Adefinition_rules.html +++ b/doc/puppet_classes/confdroid_nrpe_3A_3Acommands_3A_3Adefinition_rules.html @@ -175,7 +175,8 @@ 71 72 73 -74 +74 +75
# File 'manifests/commands/definition_rules.pp', line 12
@@ -238,8 +239,9 @@ class confdroid_nrpe::commands::definition_rules (
}
confdroid_nrpe::commands::definitions { 'check_fail2ban':
+ ne_check_name => 'check_fail2ban',
ne_check_cmd => 'check_procs',
- ne_cmd_argstring => '-c $ARG1$ -C $ARG2$',
+ ne_cmd_argstring => '-c $ARG1$ -a $ARG2$',
}
}
}
diff --git a/doc/puppet_defined_types/confdroid_nrpe_3A_3Acommands_3A_3Adefinitions.html b/doc/puppet_defined_types/confdroid_nrpe_3A_3Acommands_3A_3Adefinitions.html
index 91fbd6c..be820b7 100644
--- a/doc/puppet_defined_types/confdroid_nrpe_3A_3Acommands_3A_3Adefinitions.html
+++ b/doc/puppet_defined_types/confdroid_nrpe_3A_3Acommands_3A_3Adefinitions.html
@@ -77,7 +77,7 @@ from other modules.
confdroid_nrpe::commands::definitions.pp Module name: confdroid_nrpe Author: 12ww1160 (12ww1160@ConfDroid.com)
+confdroid_nrpe::commands::definitions.pp Module name: confdroid_nrpe Author: 12ww1160 (12ww1160@ConfDroid.com) different checks.
Specify an optional comment for your command definition
+Specify an optional name for the check, if you want to use a different name than the check_command. This is useful if you want to use the same check_command with different arguments, e.g. check_procs with different argument strings for
-16 -17 -18 -19 -20 21 22 23 @@ -189,17 +202,24 @@ from other modules. 31 32 33 -34+34 +35 +36 +37 +38 +39 +40
# File 'manifests/commands/definitions.pp', line 16
+ # File 'manifests/commands/definitions.pp', line 21
define confdroid_nrpe::commands::definitions (
+ String $ne_check_name = 'check_procs',
Optional[String] $ne_check_cmd = undef,
String $ne_cmd_path = '/usr/lib64/nagios/plugins/',
Optional[String] $ne_cmd_argstring = undef,
- String $ne_cmd_comment = '',
+ Optional[String] $ne_cmd_comment = undef,
) {
$ne_cmd_file = $confdroid_nrpe::params::ne_cmd_file