"Fossies" - the Fresh Open Source Software Archive

Member "icinga2-2.10.5/test/config/6105.conf" (23 May 2019, 407 Bytes) of package /linux/misc/icinga2-2.10.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Generic config files source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 
    3 object HostGroup "6105-bar" {
    4   assign where match("6105-keks*", host.name)
    5   vars.foo = "bar"
    6 }
    7 
    8 object Host "6105-keks" {
    9   import "test-generic-host"
   10   address = "12.3.4"
   11 }
   12 
   13 apply Service "6105-foo" {
   14   import "test-generic-service"
   15   check_command = "ping4"
   16   assign where "6105-bar" in host.groups
   17 }
   18 
   19 object ServiceGroup "6105-bar" {
   20   assign where service.name == "6105-foo"
   21   vars.bar = "foo"
   22 }
   23 
   24 
   25