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