Created
January 12, 2015 11:37
-
-
Save greggyNapalm/2fc883ed8647724220b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
object Service "load_average" { | |
//host_name = "pkg7.xxx" | |
//host_name = "pkg7.xxx" | |
host_name = "$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
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"
}
object Service "load_average" {
host_name = "pkg7.xxx"
check_command = "check_nrpe"
vars.remote_nrpe_command = "check_load"
}
apply Service "load_average" {
check_command = "check_nrpe"
vars.remote_nrpe_command = "check_load"
}