mirror of https://github.com/Icinga/icinga2.git
Converted example config files.
This commit is contained in:
parent
c44d8d5912
commit
16d2a02e04
|
@ -1,9 +1,7 @@
|
|||
{
|
||||
"icinga": {
|
||||
"icinga": {
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
"demo": { }
|
||||
local object application "icinga" {
|
||||
|
||||
}
|
||||
|
||||
local object component "demo" {
|
||||
|
||||
}
|
|
@ -1,34 +1,29 @@
|
|||
{
|
||||
"icinga": {
|
||||
"icinga": {
|
||||
"replicate": "0",
|
||||
"privkey": "icinga-c2.key",
|
||||
"pubkey": "icinga-c2.crt",
|
||||
"cakey": "ca.crt",
|
||||
"node": "10.0.10.3",
|
||||
"service": "8888"
|
||||
local object application "icinga" {
|
||||
privkey = "icinga-c2.key",
|
||||
pubkey = "icinga-c2.crt",
|
||||
|
||||
cakey = "ca.crt",
|
||||
node = "10.0.10.3",
|
||||
service = 8888
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
"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" ]
|
||||
|
||||
local object component "configrpc" {
|
||||
}
|
||||
},
|
||||
"role": {
|
||||
"broker": {
|
||||
"publications": [ "discovery::NewComponent" ]
|
||||
},
|
||||
"demo": {
|
||||
"publications": [ "demo::*" ],
|
||||
"subscriptions": [ "demo::*" ]
|
||||
|
||||
local object component "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" }
|
||||
}
|
|
@ -1,34 +1,29 @@
|
|||
{
|
||||
"icinga": {
|
||||
"icinga": {
|
||||
"replicate": "0",
|
||||
"privkey": "icinga-c3.key",
|
||||
"pubkey": "icinga-c3.crt",
|
||||
"cakey": "ca.crt",
|
||||
"node": "10.0.10.14",
|
||||
"service": "9999"
|
||||
local object application "icinga" {
|
||||
privkey = "icinga-c3".key",
|
||||
pubkey = "icinga-c3.crt",
|
||||
cakey = "ca.crt",
|
||||
|
||||
node = "10.0.10.14",
|
||||
service = 9999
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
"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" ]
|
||||
|
||||
local object component "configrpc" {
|
||||
}
|
||||
},
|
||||
"role": {
|
||||
"broker": {
|
||||
"publications": [ "discovery::NewComponent" ]
|
||||
},
|
||||
"demo": {
|
||||
"publications": [ "demo::*" ],
|
||||
"subscriptions": [ "demo::*" ]
|
||||
|
||||
local object component "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"
|
||||
}
|
Loading…
Reference in New Issue