9 lines
378 B
Text
9 lines
378 B
Text
# {{ 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
|