Skip to content

Commit

Permalink
Debug the entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
msh100 committed Apr 8, 2024
1 parent 2d28895 commit 9345b2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/entrypoint-msh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ cat /etc/template/telegraf.conf |\
sed "s/_PING_TARGETS/${PING_TARGETS}/" >\
/etc/telegraf.d/telegraf.conf

export FETCH_INTERVAL
export INFLUX_URL
export INFLUX_DB

cat /etc/telegraf.d/telegraf.conf

exec telegraf \
--config "/etc/telegraf.d/telegraf.conf" \
--config-directory "/etc/telegraf.d/"

0 comments on commit 9345b2a

Please sign in to comment.