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.
*/
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"
}

View File

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

View File

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