From nobody Mon May 30 12:10:21 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 52BF717F30B0 for ; Mon, 30 May 2022 12:10:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LBZ3x6Mnfz3Cwr for ; Mon, 30 May 2022 12:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B870B16C41 for ; Mon, 30 May 2022 12:10:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24UCALRl097651 for ; Mon, 30 May 2022 12:10:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24UCALst097650 for ports-bugs@FreeBSD.org; Mon, 30 May 2022 12:10:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264348] Telegraf: Add child pid option Date: Mon, 30 May 2022 12:10:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kglushen@yandex-team.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653912621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4abUNe7sOANvpzHLKCvEzkMxMGbgVzuUmYaze4BG+yo=; b=kKegjBdjElG0jHuQvcde3+GIE5RHGj2iRbcYeL+oC7xOH34gD4uognv50q+s2HP2UT6omj 0ttL30dzpHz5q1tCMt+e2fdAGLwY3bMBcmhyZ5nju+Y51MgHEnejHWAUbEEfUWK7W/CG4Z 2wa261FWd9sTyNAxFO5kAvfPJ1MolEjc3hHD7MK7AqthRdacWoCHbLx/MawbNHdOBbZJxW +2/YkZZyVH4cExMZT1cKIYEeG9dVfhJMVmap0O6eU/npI/gNcgjgB6fPGvuTz6vQp6BNHU 0TsQ0rxF0R+ge7o8iWLxH27SdgTOf5Myi60QUPOM6NA02Z+DYMDAGZBMd9cs6A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653912621; a=rsa-sha256; cv=none; b=nkcBs1+vp35a61BrN6iZV9AZBfRd2JWk5FKoHHsGPHSi6uZDbpMry+8eUD3wGmR+mrW0ke u3EVIajvwRteoSlEb/62EmgNKgkxv2aQw6Zjx1u3e1YxisG0jvWJMbrJUyZg1yzOeTJxk5 uh7ukUsF2bpzlh2s/+wD3dfur5jgm6uO9BHOmSKwtxOsD5baKKeZ9xrUFALud0+4P5NRhx 7REWIKMIq7syvgwFn5RH4II4pNlfwxRV11ycz5aNSVYlFIwSaxYe1LhkQpoANDNAiTY5hk op1he7oeo4uT439B/1r1qS6djS4ombfguAQCrUZ5Z4ERlDqJ23awFBa9iqtDug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=