stack-orchestrator/stack_orchestrator/data/config/host-metrics
Prathamesh Musale f898d65983 host-metrics: entrypoint + offline tests
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>
2026-05-11 10:50:13 +00:00
..
scripts host-metrics: entrypoint + offline tests 2026-05-11 10:50:13 +00:00
telegraf.conf.tpl host-metrics: remove marker mentions from template comments 2026-05-11 10:45:49 +00:00