Update README.md
Costa Tsaousis committed
Oct 16, 2023 at 00:51 UTC
fb2709cc92f13563c71f9880c1dd338094557355
1 file changed
+11
-5
collectors/systemd-journal.plugin/README.md
+11
-5
@@ -578,15 +578,21 @@ chmod 755 systemd-journal-self-signed-certs.sh
578
Edit the script and at its top, set your settings:
579
580
```sh
581
-# set the server name
581
+# The directory to save the generated certificates (and everything about this certificate authority).
582
+# This is only used on the node generating the certificates (usually on the journals server).
583
+DIR="/etc/ssl/systemd-journal-remote"
584
+
585
+# The journals centralization server name (the CN of the server certificate).
586
SERVER="server-hostname"
587
584
-# Define all the names or IPs this server is reachable
585
-# journal clients can use any of them to connect to this server
588
+# All the DNS names or IPs this server is reachable at (the certificate will include them).
589
+# Journal clients can use any of them to connect to this server.
590
+# systemd-journal-upload validates its URL= hostname, against this list.
591
SERVER_ALIASES=("DNS:server-hostname1" "DNS:server-hostname2" "IP:1.2.3.4" "IP:10.1.1.1" "IP:172.16.1.1")
592
588
-# Define all the names of the clients who will be sending data to the server
589
-# These names are used by journal-remote to name the files in /var/log/journal/remote/
593
+# All the names of the journal clients that will be sending logs to the server (the CNs of their certificates).
594
+# These names are used by systemd-journal-remote to name the journal files in /var/log/journal/remote/.
595
+# Also the remote hosts will be presented using these names on Netdata dashboards.
596
CLIENTS=("vm1" "vm2" "vm3" "add_as_may_as_needed")
597
```
598