64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
/**
|
|
* Host group examples.
|
|
*/
|
|
|
|
object HostGroup "Infrastructure" {
|
|
display_name = "Infrastructure systems"
|
|
}
|
|
|
|
object HostGroup "linux-servers" {
|
|
display_name = "Linux Servers"
|
|
|
|
assign where host.vars.os == "Linux"
|
|
}
|
|
|
|
/* Not needed
|
|
object HostGroup "windows-servers" {
|
|
display_name = "Windows Servers"
|
|
|
|
assign where host.vars.os == "Windows"
|
|
}
|
|
*/
|
|
|
|
object HostGroup "https-checked" {
|
|
display_name = "HTTPS web services"
|
|
}
|
|
|
|
object HostGroup "mail-server" {
|
|
display_name = "Mail services"
|
|
}
|
|
|
|
object HostGroup "Davis" {
|
|
display_name = "Services related to the Davis Method"
|
|
}
|
|
|
|
object HostGroup "Digital" {
|
|
display_name = "Digital infrastructure and projects"
|
|
}
|
|
|
|
object HostGroup "Telos Partners" {
|
|
display_name = "Telos Partners infrastructure"
|
|
}
|
|
|
|
/**
|
|
* Service group examples.
|
|
*/
|
|
|
|
object ServiceGroup "ping" {
|
|
display_name = "Ping Checks"
|
|
|
|
assign where match("ping*", service.name)
|
|
}
|
|
|
|
object ServiceGroup "http" {
|
|
display_name = "HTTP Checks"
|
|
|
|
assign where match("http*", service.check_command)
|
|
}
|
|
|
|
object ServiceGroup "disk" {
|
|
display_name = "Disk Checks"
|
|
|
|
assign where match("disk*", service.check_command)
|
|
}
|