Change EPS for Telegraf

This commit is contained in:
Mike Reeves
2021-04-19 13:17:02 -04:00
parent f5b0411772
commit 54322f5e9d

View File

@@ -17,7 +17,7 @@
THEGREP=$(ps -ef | grep $0 | grep -v grep)
if [ ! $THEGREP ]; then
if [ ! "$THEGREP" ]; then
PREVCOUNTFILE='/tmp/beatseps.txt'
EVENTCOUNTCURRENT="$(curl -s localhost:5066/stats | jq '.libbeat.output.events.acked')"