Skip to content

Instantly share code, notes, and snippets.

@mcm
Forked from greggyNapalm/gist:7b9d3068a17f969ff354
Last active August 29, 2015 14:13
Show Gist options
  • Save mcm/3f6825f5691c46b297ce to your computer and use it in GitHub Desktop.
Save mcm/3f6825f5691c46b297ce to your computer and use it in GitHub Desktop.
template Host "appX.xxx" {
import "generic-host"
vars.os = "Linux"
vars.os_family = "Centos"
vars.placement = "yyy"
vars.placement = "komus"
vars.operator = "on_call"
vars.sla = "24x7"
vars.disable_ssh_check = "1"
vars.notification["mail"] = {
groups = [ "icingaadmins" ]
}
}
object Host "app1.xxx" {
import "appX.xxx"
address = "192.168.1.1"
}
object Host "app2.xxx" {
import "appX.xxx"
address = "192.168.1.2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment