fixes, prometheus, lots of stuff
[distro-setup] / filesystem / etc / default / prometheus-alertmanager
1 # Set the command-line arguments to pass to the server.
2 # default:
3 #ARGS=""
4
5 # from its README: If running Alertmanager in high availability mode is not
6 # desired, setting --cluster.listen-address= prevents Alertmanager from
7 # listening to incoming peer requests.
8 # Why the fuck is that in the readme, not the docs below?
9 # If you don't add that, it will fail to start on boot because
10 # it doesn't wait for network.target, and gives this error message:
11 # component=cluster err="couldn't deduce an advertise address: no private IP found, explicit advertise addr not provided"
12
13
14 ARGS="--cluster.listen-address= --web.listen-address=127.0.0.1:9093"
15
16 # this file is from version 0.21
17
18 # The alert manager supports the following options:
19
20 # --config.file="/etc/prometheus/alertmanager.yml"
21 # Alertmanager configuration file name.
22 # --storage.path="/var/lib/prometheus/alertmanager/"
23 # Base path for data storage.
24 # --data.retention=120h
25 # How long to keep data for.
26 # --alerts.gc-interval=30m
27 # Interval between alert GC.
28 # --log.level=info
29 # Only log messages with the given severity or above.
30 # --web.external-url=WEB.EXTERNAL-URL
31 # The URL under which Alertmanager is externally reachable (for example,
32 # if Alertmanager is served via a reverse proxy). Used for generating
33 # relative and absolute links back to Alertmanager itself. If the URL has
34 # a path portion, it will be used to prefix all HTTP endpoints served by
35 # Alertmanager. If omitted, relevant URL components will be derived
36 # automatically.
37 # --web.route-prefix=WEB.ROUTE-PREFIX
38 # Prefix for the internal routes of web endpoints. Defaults to path of
39 # --web.external-url.
40 # --web.listen-address=":9093"
41 # Address to listen on for the web interface and API.
42 # --web.ui-path="/usr/share/prometheus/alertmanager/ui/"
43 # Path to static UI directory.
44 # --template.default="/usr/share/prometheus/alertmanager/default.tmpl"
45 # Path to default notification template.
46 # --cluster.listen-address="0.0.0.0:9094"
47 # Listen address for cluster.
48 # --cluster.advertise-address=CLUSTER.ADVERTISE-ADDRESS
49 # Explicit address to advertise in cluster.
50 # --cluster.peer=CLUSTER.PEER ...
51 # Initial peers (may be repeated).
52 # --cluster.peer-timeout=15s
53 # Time to wait between peers to send notifications.
54 # --cluster.gossip-interval=200ms
55 # Interval between sending gossip messages. By lowering this value (more
56 # frequent) gossip messages are propagated across the cluster more
57 # quickly at the expense of increased bandwidth.
58 # --cluster.pushpull-interval=1m0s
59 # Interval for gossip state syncs. Setting this interval lower (more
60 # frequent) will increase convergence speeds across larger clusters at
61 # the expense of increased bandwidth usage.
62 # --cluster.tcp-timeout=10s Timeout for establishing a stream connection
63 # with a remote node for a full state sync, and for stream read and write
64 # operations.
65 # --cluster.probe-timeout=500ms
66 # Timeout to wait for an ack from a probed node before assuming it is
67 # unhealthy. This should be set to 99-percentile of RTT (round-trip time)
68 # on your network.
69 # --cluster.probe-interval=1s
70 # Interval between random node probes. Setting this lower (more frequent)
71 # will cause the cluster to detect failed nodes more quickly at the
72 # expense of increased bandwidth usage.
73 # --cluster.settle-timeout=1m0s
74 # Maximum time to wait for cluster connections to settle before
75 # evaluating notifications.
76 # --cluster.reconnect-interval=10s
77 # Interval between attempting to reconnect to lost peers.
78 # --cluster.reconnect-timeout=6h0m0s
79 # Length of time to attempt to reconnect to a lost peer.