From 2356ec021aa8d20d297ebc4b90e306a03ee5ca01 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 25 May 2016 10:24:18 +0200 Subject: [PATCH] node setup: Add a note for --endpoint syntax for client-master connection fixes #11793 --- doc/11-icinga2-client.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/11-icinga2-client.md b/doc/11-icinga2-client.md index 0d0b5a2bd..b1c77f9e6 100644 --- a/doc/11-icinga2-client.md +++ b/doc/11-icinga2-client.md @@ -370,6 +370,7 @@ Required information: * The client common name (CN). Use the FQDN, e.g. `icinga2-node2.localdomain`. * The master host and zone name. Pass that to `pki save-cert` as `--host` parameter for example. + * Optional: Master endpoint host and port information for the `--endpoint` parameter. * The client ticket number generated on the master (`icinga2 pki ticket --cn icinga2-node2.localdomain`) Generate a new local self-signed certificate. @@ -408,6 +409,11 @@ the previously stored trusted master certificate. --master_host icinga2-node1.localdomain \ --trustedcert /etc/icinga2/pki/trusted-master.crt +In case the client should connect to the master node, you'll +need to modify the `--endpoint` parameter using the format `cn,host,port`. + + --endpoint icinga2-node1.localdomain,192.168.56.101,5665 + Restart Icinga 2 once complete. # service icinga2 restart