Service Problems with Clients ( Remote Icinga instance <clientInstanceName> is not connected to <masterInstanceName>)

Hey Guys,

I am new to Icinga2 and currently I am struggeling to setup a monitoring to my clients, done via Icinga Director.

I successfully installed icinga2 and icingaweb incl director on my master, was able to setup a monitoring to fresh installed linux client (ubuntu18.04) but I am failing with monitoring a raspberry and a Win10 Client.

From the client point of view, everything seems to be connected but on icingaweb I dont get any update on the services:

The Service are unknown with a message:
Remote Icinga instance ‘WeatherStation’ is not connected to ‘monitoring_srv’

looking on master into the /var/log/icinga2/icinga2.log with grep on my two problem clients I get those entries:

root@monitoring_srv:~# tail -f /var/log/icinga2/icinga2.log |grep -E 'WeatherStation|Win10TsT2'

[2020-03-06 11:40:08 +0100] information/ApiListener: New client connection for identity 'WeatherStation' from [192.168.1.200]:35922
[2020-03-06 11:40:08 +0100] information/ApiListener: Sending config updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:08 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'WeatherStation'.
[2020-03-06 11:40:08 +0100] information/ApiListener: Finished sending config file updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:08 +0100] information/ApiListener: Syncing runtime objects to endpoint 'WeatherStation'.
[2020-03-06 11:40:08 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'WeatherStation'.
[2020-03-06 11:40:08 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:10 +0100] information/ApiListener: New client connection for identity 'Win10TsT2' from [192.168.1.110]:50151
[2020-03-06 11:40:10 +0100] information/ApiListener: Sending config updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.
[2020-03-06 11:40:10 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'Win10TsT2'.
[2020-03-06 11:40:10 +0100] information/ApiListener: Finished sending config file updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.
[2020-03-06 11:40:10 +0100] information/ApiListener: Syncing runtime objects to endpoint 'Win10TsT2'.
[2020-03-06 11:40:10 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'Win10TsT2'.
[2020-03-06 11:40:10 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.
[2020-03-06 11:40:18 +0100] information/ApiListener: New client connection for identity 'WeatherStation' from [192.168.1.200]:35924
[2020-03-06 11:40:18 +0100] information/ApiListener: Sending config updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/ApiListener: Finished sending config file updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/ApiListener: Syncing runtime objects to endpoint 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'WeatherStation' in zone 'WeatherStation'.
[2020-03-06 11:40:18 +0100] information/JsonRpcConnection: No messages for identity 'WeatherStation' have been received in the last 60 seconds.
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'WeatherStation'
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'WeatherStation'
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'WeatherStation'. 7 API clients left.
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'WeatherStation'. 7 API clients left.
[2020-03-06 11:40:18 +0100] information/JsonRpcConnection: No messages for identity 'WeatherStation' have been received in the last 60 seconds.
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'WeatherStation'
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'WeatherStation'
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'WeatherStation'. 6 API clients left.
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'WeatherStation'. 6 API clients left.
[2020-03-06 11:40:18 +0100] information/JsonRpcConnection: No messages for identity 'Win10TsT2' have been received in the last 60 seconds.
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'Win10TsT2'
[2020-03-06 11:40:18 +0100] warning/JsonRpcConnection: API client disconnected for identity 'Win10TsT2'
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'Win10TsT2'. 6 API clients left.
[2020-03-06 11:40:18 +0100] warning/ApiListener: Removing API client for endpoint 'Win10TsT2'. 6 API clients left.
[2020-03-06 11:40:20 +0100] information/ApiListener: New client connection for identity 'Win10TsT2' from [192.168.1.110]:50152
[2020-03-06 11:40:20 +0100] information/ApiListener: Sending config updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.
[2020-03-06 11:40:20 +0100] information/ApiListener: Syncing configuration files for global zone 'director-global' to endpoint 'Win10TsT2'.
[2020-03-06 11:40:20 +0100] information/ApiListener: Finished sending config file updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.
[2020-03-06 11:40:20 +0100] information/ApiListener: Syncing runtime objects to endpoint 'Win10TsT2'.
[2020-03-06 11:40:20 +0100] information/ApiListener: Finished syncing runtime objects to endpoint 'Win10TsT2'.
[2020-03-06 11:40:20 +0100] information/ApiListener: Finished sending runtime config updates for endpoint 'Win10TsT2' in zone 'Win10TsT2'.

BR
Dieter

Hi and welcome,

i edited you post for a better readability. Did you install icinga as agent on your windows/raspi hosts?
Can you please share the host/zone configs for them and also the service config that is not working.

Regards,
Carsten