mirror of https://github.com/Icinga/icinga2.git
parent
5eca503362
commit
0fddb46b68
|
@ -4,17 +4,23 @@
|
||||||
* files in this directory are included.
|
* files in this directory are included.
|
||||||
*/
|
*/
|
||||||
object Host "nsca-ng" {
|
object Host "nsca-ng" {
|
||||||
import "generic-host",
|
import "generic-host"
|
||||||
|
|
||||||
display_name = "nsca-ng test",
|
display_name = "nsca-ng test"
|
||||||
|
}
|
||||||
services["PassiveService1"] = {
|
|
||||||
templates = [ "generic-service" ],
|
apply Service "PassiveService1" {
|
||||||
check_command = "passive",
|
import "generic-service"
|
||||||
},
|
|
||||||
|
check_command = "passive"
|
||||||
services["PassiveService2"] = {
|
|
||||||
templates = [ "generic-service" ],
|
assign where host.name == "nsca-ng"
|
||||||
check_command = "passive",
|
}
|
||||||
},
|
|
||||||
|
apply Service "PassiveService2" {
|
||||||
|
import "generic-service"
|
||||||
|
|
||||||
|
check_command = "passive"
|
||||||
|
|
||||||
|
assign where host.name == "nsca-ng"
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
library "db_ido_mysql"
|
library "db_ido_mysql"
|
||||||
|
|
||||||
object IdoMysqlConnection "ido-mysql" {
|
object IdoMysqlConnection "ido-mysql" {
|
||||||
user = "icinga",
|
user = "icinga"
|
||||||
password = "icinga",
|
password = "icinga"
|
||||||
host = "localhost",
|
host = "localhost"
|
||||||
database = "icinga"
|
database = "icinga"
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,14 +10,12 @@ object User "icingaadmin" {
|
||||||
groups = [ "icingaadmins" ]
|
groups = [ "icingaadmins" ]
|
||||||
|
|
||||||
macros = {
|
macros = {
|
||||||
"name" = "Icinga 2 Admin"
|
name = "Icinga 2 Admin"
|
||||||
"email" = "icinga@localhost"
|
email = "icinga@localhost"
|
||||||
"pager" = "icingaadmin@localhost.localdomain"
|
pager = "icingaadmin@localhost.localdomain"
|
||||||
}
|
}
|
||||||
|
|
||||||
custom = {
|
custom.notes = "This is the Icinga 2 Admin account."
|
||||||
notes = "This is the Icinga 2 Admin account."
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue