On Sunday 17 September 2017 at 10:27:55, Gijs Rijnders wrote: > Dear Icinga2 users, > > I have an Icinga2 master node, and I want to monitor other Linux hosts > for apt package availability. I read that I have to install Icinga2 > locally as Satellite on every host, and connect it to the master node. I > installed Icinga2 in satellite mode on some Linux host, and tried to > connect it to the master. It can connect just fine, but it does not > accept connections. I get the following errors: > > [2017-09-17 11:22:22 +0200] warning/JsonRpcConnection: API client > disconnected for identity 'icinga2.master' > [2017-09-17 11:22:37 +0200] information/ApiListener: Reconnecting to API > endpoint 'icinga2.master' via host 'icinga2.master' and port '5665' > [2017-09-17 11:22:37 +0200] warning/ApiListener: Certificate validation > failed for endpoint 'icinga2.master': code 21: unable to verify the > first certificate > Context: > (0) Handling new API client connection > > I ran the 'icinga2 node wizard' on the satellite and all configuration > seems to be correct. What could be wrong? Did I misconfigure something?
Did you run the node wizard on the master first? Have you created the master certificate? See https://www.icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring and make sure you followed each of the steps under "Master Setup" and then "Client/Satellite Setup". Antony. -- Behind the counter a boy with a shaven head stared vacantly into space, a dozen spikes of microsoft protruding from the socket behind his ear. - William Gibson, Neuromancer (1984) Please reply to the list; please *don't* CC me. _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users