Hi.
I want to set default values when creating a command like here:
object CheckCommand "ftp" {
import "plugin-check-command"
command = [ PluginDir + "/check_ftp" ]
timeout = 1m
arguments += {
[...]
}
vars.check_address = {
arguments = [ ]
deprecated = false
type = "Function"
}
vars.check_ipv4 = "$ftp_ipv4$"
vars.check_ipv6 = "$ftp_ipv6$"
vars.ftp_address = "$check_address$"
vars.ftp_mismatch = "warn"
vars.ftp_ssl = false
vars.ftp_timeout = 10
}
I can’t see though how to set these values in a custom command via director. Could pls. someone push me to the right direction?!