This is an automated email from the ASF dual-hosted git repository. dahn pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/main by this push: new 49de488d Added health checks and monitoring to optional installation (#496) 49de488d is described below commit 49de488de57eac9345e4bc644657104c1473d3e4 Author: Davi Torres <90287660+daviftor...@users.noreply.github.com> AuthorDate: Fri Aug 15 09:05:21 2025 -0400 Added health checks and monitoring to optional installation (#496) Co-authored-by: Davi Torres <dtor...@simnet.ca> Co-authored-by: Pearl Dsilva <pearl1...@gmail.com> --- source/installguide/optional_installation.rst | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/source/installguide/optional_installation.rst b/source/installguide/optional_installation.rst index e8820c98..50198f0b 100644 --- a/source/installguide/optional_installation.rst +++ b/source/installguide/optional_installation.rst @@ -114,6 +114,39 @@ For storing certificates, admins can create and configure a java keystore file and configure the same in the server.properties file as illustrated above. +Health Checks and Monitoring (Optional) +--------------------------------------- + +CloudStack has a plugin for exporting metrics in the format that Prometheus can consume. +This is done by enabling the following configuration parameters in the Global Settings. + + .. parsed-literal:: + + # cloudmonkey update configuration name=prometheus.exporter.enable value=true + # cloudmonkey update configuration name=prometheus.exporter.port value=9595 + # cloudmonkey update configuration name=prometheus.exporter.allowed.ips value="127.0.0.1,192.168.0.10" + +.. note:: + These settings are available to be configured via the CloudStack UI as well. + CloudStack Management needs to be restarted for the changes to take effect. + Replace the mock IP address 192.168.0.10 with the actual IP address of the Prometheus server. + +.. warning:: + A list of addresses can be provided as a comma separated list. It does NOT accept CIDR notation. + +Then, configure prometheus to start pulling metrics by adding the following configuration to ``/etc/prometheus/prometheus.yml``. + + .. parsed-literal:: + + - job_name: 'management' + static_configs: + - targets: ['192.168.0.20:9595'] + +.. note:: + Replace the mock IP address 192.168.0.20 with the actual IP address of the Management server. + Public dashboards are available in the Grafana repository for visualizing CloudStack Management metrics. + + Database Replication (Optional) -------------------------------