I did not find a definition of check_multi
<http://my-plugin.de/wiki/projects/check_multi> so, just in case, here
is mine (seems to work):
object CheckCommand "multi" {
command = [
PluginDir + "/check_multi"]
arguments = { /* See
http://my-plugin.de/wiki/projects/check_multi/configuration/options */
"-f" = {value = "/etc/check_multi/$multi_command_file$", required =
true },
"-w" = "$multi_warning$",
"-c" = "$multi_critical$",
"-u" = "$multi_unknown$",
"-o" = "$multi_ok$",
"-v" = "$multi_verbose$",
"-s" = "MULTI_PARAMETERS=$multi_parameters$",
"-n" = "$multi_name$",
"-r" = "$multi_report_level$",
"-t" = "$multi_timeout$",
"-T" = "$multi_global_timeout$"
}
}
And a way to use it:
object Host "internet-anchors" {
import "generic-host"
check_command = "multi"
vars.multi_command_file = "test-anchors.cmd"
vars.multi_parameters = "-w 50.0,5% -c 110.0,10%"
vars.multi_name = "Internet Anchors"
}
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users