ansible-role-grafana/files/influxdb.monit

10 lines
378 B
Text
Raw Normal View History

2022-12-27 10:43:32 +01:00
# {{ ansible_managed }}
check process influxdb
matching "/usr/bin/influxd -config /etc/influxdb/influxdb.conf"
group database
start program = "/usr/sbin/service influxd start"
stop program = "/usr/sbin/service influxd stop"
if failed host localhost port 8088 with timeout 15 seconds for 3 times within 4 cycles then restart
if 5 restarts with 5 cycles then timeout