Fix Vagrant config.

Refs #5870
This commit is contained in:
Gunnar Beutner 2014-04-01 10:22:52 +02:00
parent 5eca503362
commit 0fddb46b68
3 changed files with 25 additions and 21 deletions

View File

@ -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"
} }

View File

@ -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"
} }

View File

@ -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."
}
} }