Hello,
i would like to make a monitore some Agents over the Satellite…
Icinga versions:
master(Ubuntu): r2.11.4-1
satellite(Ubuntu): r2.11.4-1
agent (Windows): v2.12.0-rc1-52-g04704a49a
Master:
/etc/icinga2/icinga2.conf
/**
* Icinga 2 configuration file
* - this is where you define settings for the Icinga application including
* which hosts/services to check.
*
* For an overview of all available configuration options please refer
* to the documentation that is distributed as part of Icinga 2.
*/
/**
* The constants.conf defines global constants.
*/
include "constants.conf"
/**
* The zones.conf defines zones for a cluster setup.
* Not required for single instance setups.
*/
include "zones.conf"
/**
* The Icinga Template Library (ITL) provides a number of useful templates
* and command definitions.
* Common monitoring plugin command definitions are included separately.
*/
include <itl>
include <plugins>
include <plugins-contrib>
include <manubulon>
/**
* This includes the Icinga 2 Windows plugins. These command definitions
* are required on a master node when a client is used as command endpoint.
*/
include <windows-plugins>
/**
* This includes the NSClient++ check commands. These command definitions
* are required on a master node when a client is used as command endpoint.
*/
include <nscp>
/**
* The features-available directory contains a number of configuration
* files for features which can be enabled and disabled using the
* icinga2 feature enable / icinga2 feature disable CLI commands.
* These commands work by creating and removing symbolic links in
* the features-enabled directory.
*/
include "features-enabled/*.conf"
/**
* Although in theory you could define all your objects in this file
* the preferred way is to create separate directories and files in the conf.d
* directory. Each of these files must have the file extension ".conf".
*/
include_recursive "conf.d"
/etc/icinga2/zones.conf
object Endpoint "monitoring.[...]" {
host = "monitoring.[...]"
}
object Endpoint "monitoring-dev.[...]" {
host = "monitoring-dev.[...]"
}
object Zone "master" {
endpoints = [ "monitoring.[...]" ]
}
object Zone "monitoring-dev.[...]" {
endpoints = [ "monitoring-dev.[...]" ]
parent = "master"
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
object Zone "windows-commands" {
global = true
}
object ApiListener "api" {
accept_config = true
accept_commands = true
}
/etc/icinga2/zones.d/monitoring-dev.[…]/hosts_winTest.conf
object Endpoint "<Name>" {
host = "<Name>"
log_duration = 0
}
object Zone "<Name>" {
endpoints = [ "<Name>" ]
parent = "monitoring-dev.[...]"
}
object Host <Name> {
import "generic-host"
address = <IP Address>
display_name = "Win2019-IcingaTEST"
vars.os = "Windows"
zone = "monitoring-dev.[...]"
command_endpoint = "monitoring-dev.[...]"
vars.wintest = "true"
vars.notification["mail"] = {
groups = [ "icingaadmins" ]
}
}
/etc/icinga2/zones.d/global-templates/services_satellite.conf
apply Service "AdminWindows:Disk" {
import "generic-service"
display_name = "Satellite Disk"
check_command = "disk-windows"
command_endpoint = host.name
assign where (host.vars.wintest)
}
Satellite:
api.conf
object ApiListener "api" {
accept_config = true
accept_commands = true
}
/etc/icinga2/zones.conf
object Endpoint "monitoring.[...]" {
host = "monitoring.[...]"
port = "5665"
}
object Endpoint "monitoring-dev.[...]" {
}
object Zone "master" {
endpoints = [ "monitoring.[...]" ]
}
object Zone "monitoring-dev[...]" {
endpoints = [ "monitoring-dev.[...]" ]
parent = "master"
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
Agent:

zones.conf
object Endpoint "monitoring-dev.[...]" {
host = "monitoring-dev.[...]"
port = "5665"
}
object Zone "master" {
endpoints = [ "monitoring-dev.[...]" ]
}
object Endpoint "<Name>" {
}
object Zone "<Name>" {
endpoints = [ "<Name>" ]
parent = "master"
}
object Zone "global-templates" {
global = true
}
object Zone "director-global" {
global = true
}
Error Messages:
icinga Web:
Remote Icinga instance ‘’ is not connected to ‘monitoring.[…]’
Satellite:
icinga2.log:
[2020-07-02 16:22:26 +0200] information/FileLogger: 'main-log' started.
[2020-07-02 16:22:26 +0200] information/ApiListener: 'api' started.
[2020-07-02 16:22:26 +0200] information/ApiListener: Started new listener on '[0.0.0.0]:5665'
[2020-07-02 16:22:26 +0200] information/ExternalCommandListener: 'command' started.
[2020-07-02 16:22:26 +0200] warning/ExternalCommandListener: This feature is DEPRECATED and will be removed in future releases. Check the roadmap at https://github.com/Icinga/icinga2/milestones
Context:
(0) Activating object 'command' of type 'ExternalCommandListener'
[2020-07-02 16:22:26 +0200] information/CheckerComponent: 'checker' started.
[2020-07-02 16:22:26 +0200] information/ConfigItem: Activated all objects.
[2020-07-02 16:22:26 +0200] information/ApiListener: Reconnecting to endpoint 'monitoring.[...]' via host 'monitoring.[...]' and port '5665'[2020-07-02 16:22:26 +0200] information/ApiListener: New client connection for identity 'monitoring.[...]' to [IP-Address]:5665
[2020-07-02 16:22:26 +0200] information/ApiListener: Requesting new certificate for this Icinga instance from endpoint 'monitoring.[...]'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Sending config updates for endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished sending config file updates for endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Syncing runtime objects to endpoint 'monitoring.[...]'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished syncing runtime objects to endpoint 'monitoring.[...]'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished sending runtime config updates for endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Sending replay log for endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished sending replay log for endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished syncing endpoint 'monitoring.[...]' in zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Finished reconnecting to endpoint 'monitoring.[...]' via host 'monitoring.[...]' and port '5665'
[2020-07-02 16:22:26 +0200] information/ApiListener: Applying config update from endpoint 'monitoring.[...]' of zone 'master'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Received configuration for zone 'global-templates' from endpoint 'monitoring.[...]'. Comparing the timestamp and checksums.
[2020-07-02 16:22:26 +0200] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/global-templates//_etc/services_satellite.conf' for zone 'global-templates'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/global-templates' (1473 Bytes).
[2020-07-02 16:22:26 +0200] information/ApiListener: Received configuration for zone 'monitoring-dev.[...]' from endpoint 'monitoring.[...]'. Comparing the timestamp and checksums.
[2020-07-02 16:22:26 +0200] information/ApiListener: Stage: Updating received configuration file '/var/lib/icinga2/api/zones-stage/monitoring-dev.[...]//_etc/hosts_winTest.conf' for zone 'monitoring-dev.[...]'.
[2020-07-02 16:22:26 +0200] information/ApiListener: Applying configuration file update for path '/var/lib/icinga2/api/zones-stage/monitoring-dev.[...]' (3585 Bytes).
[2020-07-02 16:22:26 +0200] information/ApiListener: Received configuration updates (2) from endpoint 'monitoring.[...]' are different to production, triggering validation and reload.
[2020-07-02 16:22:26 +0200] critical/ApiListener: Config validation failed for staged cluster config sync in '/var/lib/icinga2/api/zones-stage/'. Aborting. Logs: '/var/lib/icinga2/api/zones-stage//startup.log'
**[2020-07-02 16:22:28 +0200] information/ApiListener: New client connection for identity '<Name>' from [IP-Address]:61153 (no Endpoint object found for identity)**
[2020-07-02 16:22:28 +0200] information/JsonRpcConnection: Received certificate request for CN '<Name>' signed by our CA.
[2020-07-02 16:22:28 +0200] information/JsonRpcConnection: The certificate for CN '<Name>' is valid and uptodate. Skipping automated renewal.
[2020-07-02 16:22:36 +0200] information/WorkQueue: #6 (ApiListener, SyncQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
[2020-07-02 16:22:36 +0200] information/WorkQueue: #5 (ApiListener, RelayQueue) items: 0, rate: 0/s (0/min 0/5min 0/15min);
-> [2020-07-02 16:22:28 +0200] information/ApiListener: New client connection for identity ‘’ from [IP-Address]:61153 (no Endpoint object found for identity)
Why I get an Error ? What’s wrong?
Firewall isn’t a problem.
Can you help me please?
Thank you