summaryrefslogtreecommitdiffstats
path: root/test/config/6968.conf
blob: 9882727991c12cf03bbe9dc7d10af585c1abf2fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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" ]

  arguments = {
    "--server" = "$address$" 
    "--username" = "***" 
    "--password" = "***" 
    "--check" = { 
      set_if = "$vmware_check$" 
    }
  }
}