Skip to content

Commit

Permalink
Merge pull request #2143 from amnonh/address_ports
Browse files Browse the repository at this point in the history
upgrade-guide-from-monitoring-4.x-to-monitoring-4.y: Warn about breaking changes with targets ports
  • Loading branch information
amnonh authored Jan 3, 2024
2 parents d3ed507 + f57c81c commit 84b4393
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,25 @@ Replace “y” with the new minor release number, for example, 4.0.1.zip
Setting the server's files
--------------------------

Copy the ``scylla_servers.yml`` and ``scylla_manager_servers.yml`` from the version that is already installed.
Copy the target files ``scylla_servers.yml`` and ``scylla_manager_servers.yml`` from the version that is already installed.

.. code-block:: bash
cp /path/to/monitoring/4.x.a/prometheus/scylla_servers.yml prometheus/
cp /path/to/monitoring/4.x.a/prometheus/scylla_manager_servers.yml.yml prometheus/
Validate the port numbers
^^^^^^^^^^^^^^^^^^^^^^^^^
ScyllaDB-monitoring reads from ScyllaDB itself, from node_exporter for OS-related metrics, and from the ScyllaDB Manager agent.

Almost always, those targets use their default ports, and all share the same IP.
If you use the default port number, we recommend using the target file without ports and letting ScyllaDB monitoring add the default port number.
If the ScyllaDB Mmanager agent and node_exporter are running next to ScyllaDB on the same host (the default installation), use one target file for scylla_server, and the ScyllaDB monitoring will use that file with the correct ports for each target.

.. caution::

As of SyllaDB Monitoring 4.5, Specifying the node_exporter file (the -n flag) with the wrong ports will prevent ScyllaDB Monitoring from reading the metrics.

Validate the new version is running the correct version
-------------------------------------------------------

Expand Down

0 comments on commit 84b4393

Please sign in to comment.