- The Icinga 2 network monitoring daemon (version: r2.12.3-1)
- Debian 10
- IcingaWeb + director
-
Disabled features: command compatlog debuglog elasticsearch gelf graphite icingadb influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker ido-mysql mainlog notification
Hi everyone, I need advice please. I’m starting with icing now and I would like to implement the MASTER <-> SATELLITE <-> CLIENT connection. I currently have master + web installed on deb10 according to the documentation that runs on the internet, then a satellite at the client’s infrastructure, and then I wanted to connect an agent to that satellite that also works on the client’s local infrastructure. Basically, the state is such that the master has a public IP and then neither the satellite nor the agent anymore and they only go locally behind them. For example, I can’t run check_memory from the master on the agent behind the satellite. I tried to set it up using the documentation and without success. Thank you for any advice. I attach the zones below.
Master:
/*
* Generated by Icinga 2 node setup commands
* on 2021-03-17 21:46:13 +0100
*/
object Endpoint "icinga.[domain].cz" {
}
object Endpoint "icinga-1.infra" { <---- Satellite
host = "icinga-1.infra"
}
object Zone "master" {
endpoints = [ "icinga.[domain].cz" ]
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
object Zone "client-ABC" {
endpoints = [ "icinga-1.infra" ]
parent = "master"
}
Satellite:
/*
* Generated by Icinga 2 node setup commands
* on 2021-03-17 22:13:07 +0100
*/
object Endpoint "icinga.[domain].cz" {
host = "icinga.[domain].cz"
port = "5665"
}
object Endpoint "production-1.infra" {
host = "192.168.1.103"
}
object Zone "master" {
endpoints = [ "icinga.[domain].cz" ]
}
object Endpoint "icinga-1.infra" {
}
object Zone "client-ABC" {
endpoints = [ "icinga-1.infra","production-1.infra" ]
parent = "master"
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
Agent:
/*
* Generated by Icinga 2 node setup commands
* on 2021-03-18 09:56:47 +0100
*/
object Endpoint "icinga-1.infra" {
host = "192.168.1.106"
port = "5665"
}
object Zone "master" {
endpoints = [ "icinga-1.infra" ]
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
object Endpoint NodeName {
}
object Zone ZoneName {
endpoints = [ NodeName ]
parent = "master"
}
Thank you so much for your advice and ideas