Skip to content

Commit 82048ed

Browse files
author
Davi Torres
committed
Health Checks and Monitoring
1 parent 9655950 commit 82048ed

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

source/installguide/optional_installation.rst

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,39 @@ For storing certificates, admins can create and configure a java keystore file
114114
and configure the same in the server.properties file as illustrated above.
115115

116116

117+
Health Checks and Monitoring (Optional)
118+
---------------------------------------
119+
120+
CloudStack as a plugin for exporting metrics in the format that Prometheus can consume.
121+
This is done by enabling the following configuration parameters in the Global Settings.
122+
123+
.. parsed-literal::
124+
125+
# cloudmonkey update configuration name=prometheus.exporter.enable value=true
126+
# cloudmonkey update configuration name=prometheus.exporter.port value=9595
127+
# cloudmonkey update configuration name=prometheus.exporter.allowed.ips value="127.0.0.1,192.168.0.10"
128+
129+
.. note::
130+
These settings are available to be configured via the CloudStack UI as well.
131+
CloudStack Management needs to be restarted for the changes to take effect.
132+
Replace the mock IP address 192.168.0.10 with the actual IP address of the Prometheus server.
133+
134+
.. warning::
135+
A list of addresses can be provided as a comma separated list. It does NOT accept CIDR notation.
136+
137+
Then, configure prometheus to start pulling metrics by adding the following configuration to ``/etc/prometheus/prometheus.yml``.
138+
139+
.. parsed-literal::
140+
141+
- job_name: 'management'
142+
static_configs:
143+
- targets: ['192.168.0.20:9595']
144+
145+
.. note::
146+
Replace the mock IP address 192.168.0.20 with the actual IP address of the Management server.
147+
Public dashboards are available in the Grafana repository for visualizing CloudStack Management metrics.
148+
149+
117150
Database Replication (Optional)
118151
-------------------------------
119152

0 commit comments

Comments
 (0)