Skip to content

Instantly share code, notes, and snippets.

@greggyNapalm
Created January 12, 2015 11:17
Show Gist options
  • Save greggyNapalm/ef096cf453ec9a0a261d to your computer and use it in GitHub Desktop.
Save greggyNapalm/ef096cf453ec9a0a261d to your computer and use it in GitHub Desktop.
object Host "pkg7.xxx" {
import "generic-host"
address = "192.168.1.1"
vars.os = "Linux"
vars.os_family = "Centos"
vars.operator = "on_call"
vars.sla = "24x7"
vars.host_name = "pkg7.xxx"
object Service "load_average" {
host_name = "$host.vars.host_name$"
//host_name = "$host$"
check_command = "check_nrpe"
vars.remote_nrpe_command = "check_load"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment