Update 6-distributed-monitoring.md

If you omit the Common name (CN) icinga2 uses the hostname instead, which can differ from FQDN.
This commit is contained in:
Winfried Angele 2017-06-01 16:13:40 +02:00 committed by GitHub
parent 83fd633e33
commit 8fecdce3c0
1 changed files with 2 additions and 0 deletions

View File

@ -2513,6 +2513,7 @@ Pass the following details to the `node setup` CLI command:
Parameter | Description Parameter | Description
--------------------|-------------------- --------------------|--------------------
Common name (CN) | **Optional.** Specified with the `--cn` parameter. By convention this should be the host's FQDN.
Request ticket | **Required.** Add the previously generated [ticket number](6-distributed-monitoring.md#distributed-monitoring-setup-csr-auto-signing). Request ticket | **Required.** Add the previously generated [ticket number](6-distributed-monitoring.md#distributed-monitoring-setup-csr-auto-signing).
Trusted master certicate | **Required.** Add the previously fetched trusted master certificate (this step means that you've verified its origin). Trusted master certicate | **Required.** Add the previously fetched trusted master certificate (this step means that you've verified its origin).
Master endpoint | **Required.** Specify the master's endpoint name. Master endpoint | **Required.** Specify the master's endpoint name.
@ -2524,6 +2525,7 @@ Pass the following details to the `node setup` CLI command:
Example: Example:
[root@icinga2-client1.localdomain /]# icinga2 node setup --ticket ead2d570e18c78abf285d6b85524970a0f69c22d \ [root@icinga2-client1.localdomain /]# icinga2 node setup --ticket ead2d570e18c78abf285d6b85524970a0f69c22d \
--cn icinga2-client1.localdomain \
--endpoint icinga2-master1.localdomain \ --endpoint icinga2-master1.localdomain \
--zone icinga2-client1.localdomain \ --zone icinga2-client1.localdomain \
--master_host icinga2-master1.localdomain \ --master_host icinga2-master1.localdomain \