}
template Host "linux-server" inherits "generic-host" {
- groups = [ "linux-servers" ],
+ groups += [ "linux-servers" ],
services["ping4"] = {
templates = [ "generic-service" ],
}
template Host "windows-server" inherits "generic-host" {
- groups = [ "windows-servers" ],
+ groups += [ "windows-servers" ],
services["ping4"] = {
templates = [ "generic-service" ],
* 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" ],