pcp
[Top] [All Lists]

Re: [performancecopilot/pcp] pcp.env: _get_pids_by_name returns all pmcd

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: Re: [performancecopilot/pcp] pcp.env: _get_pids_by_name returns all pmcd pids on machine with containers (#101)
From: test-account-0 <notifications@xxxxxxxxxx>
Date: Wed, 03 Aug 2016 00:17:12 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1470208632; bh=QNUlJd6t+TvdxejlOH+6mJ1iN8/LOmVbZo0g5ufY2pA=; h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=0rU2Atmsygd/znVox5CMrMAIYZbvNNg2e8P3z258wACiyta6rsp4xkHaXHfJ4uocI +OlEBCPW5nPxN935Cs2eLoBBFHEpMOo83ivrGorQwzflnsc73H2Kt79CQLOKhIQc1S 4ktrfugNqu7zukiBa/6OtCgc0+gxnvq2dezrdqBg=
In-reply-to: <performancecopilot/pcp/issues/101@xxxxxxxxxx>
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b6345368434f0ab33d2301a5ed55aea8f2ccdf1eb092cf0000000113b95c7892a169ce0a10a16d@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b6345368434f0ab33d2301a5ed55aea8f2ccdf1eb092cf0000000113b95c7892a169ce0a10a16d@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itnz5KsFPpp5uoNX0SOelM7Ll6KkNks5qcEB4gaJpZM4Jaggb>
References: <performancecopilot/pcp/issues/101@xxxxxxxxxx>
Reply-to: performancecopilot/pcp <reply+00bd08b6345368434f0ab33d2301a5ed55aea8f2ccdf1eb092cf0000000113b95c7892a169ce0a10a16d@xxxxxxxxxxxxxxxx>

Because I want to monitor metrics from pcp with a nagios script. These are not docker containers but kind of "normal machines" (one can ssh to them, install stuff and such). I already have automation to set up services and monitoring per host.
I haven't yet checked monitoring containers from outside with pcp, but it would look weird in nagios - all checks on one machine for all containers on this machine instead of on a specific container. And also it is a lot of work to change/write new puppet modules to make it happen automatically.

Apart from that, why the function _get_pids_by_name gets all pids of a specific program and not only those that a parent is pid 1? Is it used not only in init scripts?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [performancecopilot/pcp] pcp.env: _get_pids_by_name returns all pmcd pids on machine with containers (#101), test-account-0 <=