Date: Mon, 30 May 2022 12:10:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264348] Telegraf: Add child pid option Message-ID: <bug-264348-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264348 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=3D234323&action= =3Dedit Diff file Hello, team! We have scenarios of monitoring Telegraf status with "outputs.health" modul= e. 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.=20 Is it possible to add '-p' option to the daemon configuration file to store PID? Kindly see suggested patch in attachments. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264348-7788>