icinga2/test/config/6968.conf

29 lines
548 B
Plaintext

object Host "6968-server" {
import "test-generic-host"
address = "127.0.0.1"
}
object Service "6968-test" {
import "test-generic-service"
host_name = "6968-server"
check_command = "6968-check_vmware"
vars.vmware_check = "vCenter_License_Status"
}
object CheckCommand "6968-check_vmware" {
import "plugin-check-command"
command = [ PluginDir + "/check_vmware.pl" ]
arguments = {
"--server" = "$address$"
"--username" = "***"
"--password" = "***"
"--check" = {
set_if = "$vmware_check$"
}
}
}