mirror of https://github.com/Icinga/icinga2.git
34 lines
768 B
Plaintext
34 lines
768 B
Plaintext
/**
|
|
* A new service group required by external_commands.test::test_servicegroup_commands
|
|
*/
|
|
object ServiceGroup "aservicegroup" {
|
|
display_name = "aServiceGroup"
|
|
}
|
|
|
|
/**
|
|
* The two default hostgroups
|
|
*/
|
|
object HostGroup "linux-servers" {
|
|
display_name = "Linux Servers"
|
|
}
|
|
|
|
object HostGroup "windows-servers" {
|
|
display_name = "Windows Servers"
|
|
}
|
|
|
|
/**
|
|
* This template is essentially the same as the default one but with a servicegroup added
|
|
*/
|
|
template Service "generic-service" {
|
|
max_check_attempts = 3,
|
|
check_interval = 5m,
|
|
retry_interval = 1m,
|
|
enable_perfdata = true,
|
|
groups = ["aservicegroup"],
|
|
|
|
notifications["mail-icingaadmin"] = {
|
|
templates = [ "mail-notification" ],
|
|
user_groups = [ "icingaadmins" ]
|
|
}
|
|
}
|