]> granicus.if.org Git - icinga2/commitdiff
node setup: Add a note for --endpoint syntax for client-master connection
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 25 May 2016 08:24:18 +0000 (10:24 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 25 May 2016 08:24:18 +0000 (10:24 +0200)
fixes #11793

doc/11-icinga2-client.md

index 0d0b5a2bdbf6681a51fee070a3fa653c58128778..b1c77f9e613bac9bfc148908df3d96b37c99299e 100644 (file)
@@ -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