2014-08-27 18:29:08 +02:00
|
|
|
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" {
|
|
|
|
command = [ PluginDir + "/check_vmware.pl" ]
|
2016-08-28 10:41:01 +02:00
|
|
|
|
2014-08-27 18:29:08 +02:00
|
|
|
arguments = {
|
|
|
|
"--server" = "$address$"
|
|
|
|
"--username" = "***"
|
|
|
|
"--password" = "***"
|
|
|
|
"--check" = {
|
|
|
|
set_if = "$vmware_check$"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|