Prometheus Configuration - Bosch rexroth ActiveShuttle System Manual

Hide thumbs Also See for rexroth ActiveShuttle:
Table of Contents

Advertisement

46
$ nano docker-compose.yml
[...]
alertmanager:
    [...]
    volumes:
        - /path-within-server/
alertmanager/alertmanager.yml:/
alertmanager/alertmanager.yml
    [...]
[...]
12 Alert Manager configuration

Prometheus configuration

Prometheus service is used for aggregating the data from servers as well as from the Docker using the services
cAdvisor and Node exporter. The Prometheus service is then used as a data source for visualizing the aggregated
data in Grafana.
$ nano prometheus.yml
[...]
static_configs:
- targets: [ 'cadvisor:8080', xyz:
         
8080, abc:8080] // where xyz and abc are
two different servers
[...]
RA91390962 AB-V1.3.3, en
ILS, ActiveShuttle | Server deployment
1. Copy the folder alertmanager and its content from
the sample configuration folder to the deployment
folder.
2. Make sure that the folder has read permissions for
other users:
sudo chmod -R 777 alertmanager.
3. Change the deployment path in the
file.
compose.yml
 The content of this folder is volume-mounted
within the alert manager Docker-Container.
1. Copy the folder prometheus from the sample
configuration folder to the deployment folder.
2. Make sure that the folder has read permissions for
other users: 
sudo chmod -R 777 prometheus.
3. Open the
prometheus.yml
targets under the Job name called
.
cAdvisor
Notice!
The targets are cAdvisor instances running on every
server (physical or virtual).
If the current deployment contains a single Node
then only one target will be mentioned here.
4. To include multiple targets, separate them with
comma.
docker-
and add all the cAdvisor
server-

Advertisement

Table of Contents
loading

Table of Contents