Converted example config files.

This commit is contained in:
Gunnar Beutner 2012-06-12 11:45:37 +02:00
parent c44d8d5912
commit 16d2a02e04
3 changed files with 65 additions and 77 deletions

View File

@ -1,9 +1,7 @@
{ local object application "icinga" {
"icinga": {
"icinga": {
}
},
"component": {
"demo": { }
} }
local object component "demo" {
} }

View File

@ -1,34 +1,29 @@
{ local object application "icinga" {
"icinga": { privkey = "icinga-c2.key",
"icinga": { pubkey = "icinga-c2.crt",
"replicate": "0",
"privkey": "icinga-c2.key", cakey = "ca.crt",
"pubkey": "icinga-c2.crt", node = "10.0.10.3",
"cakey": "ca.crt", service = 8888
"node": "10.0.10.3",
"service": "8888"
} }
},
"component": { local object component "configrpc" {
"configrpc": { "replicate": "0" },
"demo": { "replicate": "0" },
"discovery": { "replicate": "0", "broker": "0" }
},
"endpoint": {
"icinga-c1": {
"replicate": "0",
"node": "10.0.10.14",
"service": "7777",
"roles": [ "broker", "demo" ]
} }
},
"role": { local object component "demo" {
"broker": {
"publications": [ "discovery::NewComponent" ]
},
"demo": {
"publications": [ "demo::*" ],
"subscriptions": [ "demo::*" ]
} }
local object component "discovery" {
broker = 0
} }
local object endpoint "icinga-c1" {
node = "10.0.10.14",
service = 7777,
roles = { "broker" }
}
local object role "broker" {
publications = { "discovery::NewComponent" }
} }

View File

@ -1,34 +1,29 @@
{ local object application "icinga" {
"icinga": { privkey = "icinga-c3".key",
"icinga": { pubkey = "icinga-c3.crt",
"replicate": "0", cakey = "ca.crt",
"privkey": "icinga-c3.key",
"pubkey": "icinga-c3.crt", node = "10.0.10.14",
"cakey": "ca.crt", service = 9999
"node": "10.0.10.14",
"service": "9999"
} }
},
"component": { local object component "configrpc" {
"configrpc": { "replicate": "0" },
"demo": { "replicate": "0" },
"discovery": { "replicate": "0", "broker": "0" }
},
"endpoint": {
"icinga-c1": {
"replicate": "0",
"node": "10.0.10.14",
"service": "7777",
"roles": [ "broker", "demo" ]
} }
},
"role": { local object component "demo" {
"broker": {
"publications": [ "discovery::NewComponent" ]
},
"demo": {
"publications": [ "demo::*" ],
"subscriptions": [ "demo::*" ]
} }
local object component "discovery" {
broker = 0
} }
local object endpoint "icinga-c1" {
node = "10.0.10.14",
service = 7777,
roles = { "broker" }
}
local object role "broker" {
publications = "discovery::NewComponent"
} }