change requirement

This commit is contained in:
2026-03-11 16:48:50 +01:00
parent b8be66267b
commit 9b4968c4f9
3 changed files with 10 additions and 3 deletions

View File

@@ -12,13 +12,19 @@
# checks.
# @param [String] ne_cmd_comment Specify an optional comment for your command
# definition
# @param [String] ne_check_name 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
#different checks.
###############################################################################
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