blackbox exporter file, not actually using yet
[distro-setup] / filesystem / etc / systemd / system / prometheus-blackbox-exporter.service.d / override.conf
1 ### DEPLOYED BY ANSBILE. CHANGES WILL BE OVERWRITTEN.
2 # apparently alertmanager failes to start when the internet is down:
3 # Mar 10 13:20:09 kd prometheus-alertmanager[2719]: level=error ts=2022-03-10T18:20:09.907Z caller=main.go:243 msg="unable to initialize gossip mesh" err="create memberlist: Failed to get final advertise address: No private IP address found, and explicit IP not provided"
4
5 [Unit]
6 # needed to continually restart
7 StartLimitIntervalSec=0
8
9 [Service]
10 Restart=always
11 # time to sleep before restarting a service
12 RestartSec=300
13
14 # empty signifies to replace the existing value
15 ExecStart=
16 ExecStart=/usr/local/bin/blackbox_exporter $ARGS