1CDIST-TYPE__PROMETHEUS_SERVER(7) cdist CDIST-TYPE__PROMETHEUS_SERVER(7)
2
3
4
6 cdist-type__prometheus_server - install Prometheus
7
9 Install and configure Prometheus (https://prometheus.io/).
10
11 Note that due to significant differences between Prometheus 1.x and
12 2.x, only 2.x is supported. It is your responsibility to make sure that
13 your package manager installs 2.x. (On Devuan Ascii, the parameter
14 --install-from-backports helps.)
15
17 config Prometheus configuration file. It will be saved as
18 /etc/prometheus/prometheus.yml on the target.
19
21 retention-days
22 How long to keep data. Default: 30
23
24 rule-files
25 Path to rule files. They will be installed under
26 /etc/prometheus/<filename>. You need to include rule_files:
27 [/etc/prometheus/<your-pattern>] in the config file if you use
28 this.
29
30 storage-path
31 Where to put data. Default: /data/prometheus. (Directory will be
32 created if needed.)
33
35 install-from-backports
36 Valid on Devuan only. Will enable the backports apt source and
37 install the package from there. Useful for getting a newer ver‐
38 sion.
39
41 PROMPORT=9090
42 ALERTPORT=9093
43
44 __prometheus_server \
45 --install-from-backports \
46 --config "$__manifest/files/prometheus.yml" \
47 --retention-days 14 \
48 --storage-path /data/prometheus \
49 --rule-files "$__manifest/files/*.rules"
50
52 cdist-type__prometheus_alertmanager(7), cdist-type__grafana_dash‐
53 board(7), Prometheus documentation:
54 https://prometheus.io/docs/introduction/overview/
55
57 Kamila Součková <kamila--@--ksp.sk>
58
60 Copyright (C) 2018 Kamila Součková. You can redistribute it and/or mod‐
61 ify it under the terms of the GNU General Public License as published
62 by the Free Software Foundation, either version 3 of the License, or
63 (at your option) any later version.
64
66 ungleich GmbH 2020
67
68
69
70
716.9.4 Dec 21, 2020 CDIST-TYPE__PROMETHEUS_SERVER(7)