[icinga-checkins] icinga.org: icinga2/master: node setup: Add a note for --endpoint syntax for client-master connection

git at icinga.org git at icinga.org
Wed May 25 10:26:07 CEST 2016

Module: icinga2
Branch: master
Commit: 2356ec021aa8d20d297ebc4b90e306a03ee5ca01
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=2356ec021aa8d20d297ebc4b90e306a03ee5ca01

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed May 25 10:24:18 2016 +0200

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 0d0b5a2..b1c77f9 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,,5665
 Restart Icinga 2 once complete.
     # service icinga2 restart

More information about the icinga-checkins mailing list