mirror of https://github.com/Icinga/icinga2.git
36 lines
551 B
Plaintext
36 lines
551 B
Plaintext
local object application "icinga" {
|
|
ca = "ca.crt",
|
|
cert = "icinga-c1.pem",
|
|
|
|
node = "10.0.10.14",
|
|
service = 7777
|
|
}
|
|
|
|
local object component "configrpc" {
|
|
configSource = 1
|
|
}
|
|
|
|
local object component "demo" {
|
|
}
|
|
|
|
local object component "discovery" {
|
|
broker = 1
|
|
}
|
|
|
|
local object endpoint "icinga-c2" {
|
|
roles = { "demo" }
|
|
}
|
|
|
|
local object endpoint "icinga-c3" {
|
|
roles = { "demo" }
|
|
}
|
|
|
|
local object role "broker" {
|
|
publications = { "discovery::NewComponent" }
|
|
}
|
|
|
|
local object role "demo" {
|
|
publications = { "demo::*" },
|
|
subscriptions = { "demo::*" }
|
|
}
|