mirror of https://github.com/Icinga/icinga2.git
parent
933ac5f403
commit
9bf5ad2a2b
|
@ -7,7 +7,7 @@ template Host "generic-host" {
|
|||
}
|
||||
|
||||
template Host "linux-server" inherits "generic-host" {
|
||||
groups = [ "linux-servers" ],
|
||||
groups += [ "linux-servers" ],
|
||||
|
||||
services["ping4"] = {
|
||||
templates = [ "generic-service" ],
|
||||
|
@ -19,7 +19,7 @@ template Host "linux-server" inherits "generic-host" {
|
|||
}
|
||||
|
||||
template Host "windows-server" inherits "generic-host" {
|
||||
groups = [ "windows-servers" ],
|
||||
groups += [ "windows-servers" ],
|
||||
|
||||
services["ping4"] = {
|
||||
templates = [ "generic-service" ],
|
||||
|
|
|
@ -3,12 +3,9 @@
|
|||
* in the conf.d directory (e.g. one per host). By default all *.conf
|
||||
* files in this directory are included.
|
||||
*/
|
||||
object Host "localhost" inherits "generic-host" {
|
||||
|
||||
object Host "localhost" inherits "linux-server" {
|
||||
display_name = "localhost",
|
||||
|
||||
groups = [ "linux-servers", "windows-servers" ],
|
||||
|
||||
services["ping4"] = {
|
||||
templates = [ "generic-service" ],
|
||||
|
||||
|
|
Loading…
Reference in New Issue