vars.address6 = "::1"
}
-apply Service "icinga" {
+object Service "icinga" {
import "generic-service"
+ host_name = "localhost"
check_command = "icinga"
-
- assign where host.name == "localhost"
}
-apply Service "http" {
+object Service "http" {
import "generic-service"
+ host_name = "localhost"
check_command = "http_ip"
-
- assign where host.name == "localhost"
}
-apply Service "ssh" {
+object Service "ssh" {
import "generic-service"
+ host_name = "localhost"
check_command = "ssh"
-
- assign where host.name == "localhost"
}
-apply Service "load" {
+object Service "load" {
import "generic-service"
+ host_name = "localhost"
check_command = "load"
-
- assign where host.name == "localhost"
}
-apply ScheduledDowntime "backup-downtime" to Service {
+object ScheduledDowntime "backup-downtime" {
import "backup-downtime"
- assign where host.name == "localhost" && service.name == "load"
+ host_name = "localhost"
+ service_name = "load"
}
-apply Service "processes" {
+object Service "processes" {
import "generic-service"
+ host_name = "localhost"
check_command = "processes"
-
- assign where host.name == "localhost"
}
-apply Service "users" {
+object Service "users" {
import "generic-service"
+ host_name = "localhost"
check_command = "users"
-
- assign where host.name == "localhost"
}
-apply Service "disk" {
+object Service "disk" {
import "generic-service"
+ host_name = "localhost"
check_command = "disk"
-
- assign where host.name == "localhost"
}