Add telegraf-entrypoint.sh to render telegraf.conf from the template (replacing @@HOST_TAG_BLOCK@@ and @@ZFS_BLOCK@@ markers via awk) and exec telegraf. Add test-telegraf-entrypoint.sh with 8 offline tests (10 assertions) covering marker substitution and required-env validation. Fix run() stderr redirect from >/dev/null 2>&1 to >/dev/null so that entrypoint error output reaches the T6-T8 assertion captures. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| telegraf.conf.tpl | ||