bundlewrap/bundles/icinga2/files/conf.d/groups.conf
2023-03-02 19:38:17 +01:00

39 lines
627 B
Text

/**
* Host group examples.
*/
object HostGroup "linux-servers" {
display_name = "Linux Servers"
assign where host.vars.os == "Linux"
}
/**
* 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)
}
/**
* User group examples.
*/
object UserGroup "notifyable" {
display_name = "Notifyable Users"
}