[Bug 264348] Telegraf: Add child pid option
Date: Mon, 30 May 2022 12:10:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264348 Bug ID: 264348 Summary: Telegraf: Add child pid option Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: kglushen@yandex-team.ru Created attachment 234323 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234323&action=edit Diff file Hello, team! We have scenarios of monitoring Telegraf status with "outputs.health" module. If the telegraf process doesn't respond on the specified port, we want to restart with kill command. For the sake of safety it would be great to have the telegraf PID stored by daemon instead of filtering lsof,ps or similar utilities' outputs. Is it possible to add '-p' option to the daemon configuration file to store PID? Kindly see suggested patch in attachments. -- You are receiving this mail because: You are the assignee for the bug.