Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcya7-0001Tv-De for pgsql-general@arkaria.postgresql.org; Wed, 11 Nov 2020 22:27:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcya6-0003GF-Bp for pgsql-general@arkaria.postgresql.org; Wed, 11 Nov 2020 22:27:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcya4-0003G8-RR for pgsql-general@lists.postgresql.org; Wed, 11 Nov 2020 22:27:10 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcya1-0000ib-Em for pgsql-general@postgresql.org; Wed, 11 Nov 2020 22:27:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DCD8B5C004D; Wed, 11 Nov 2020 17:26:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 11 Nov 2020 17:26:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=8 0HVOhi34pk09SdWZr4WR1U0eZX2AuKy/6rWf1+cAjE=; b=nYguxyDlegJiWBkhL t7m70nkeVsXxU2gsbZXIhcCT8Pf3z0P2WIn2SIZhaHU3NvUovQ+7Xe4+vsJ9uZst fmZqgEFT49PYlMTChpNnCHS2+9eRvKlj7jOxJdGRTYmkKaBNsm1XJTAGFZA/Btm1 jNmCyYd5sP1BHzcc+ay6hayhVZDzkxC8XbNYFxVVACLDj4UH05P215/eejaJiBkN N6rVVbmGGVPi1l+ypVWFrARu/q8wr1tBIEoW5XmPK19gHKoRClGsRsdMoATz0dO0 Inap0hQYLjoBaWN/QuU2EkIArJ8F+9Ry3T8V79yrsIvYvZy0wFAuhIhsLL933OT3 bPeZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=80HVOhi34pk09SdWZr4WR1U0eZX2AuKy/6rWf1+cA jE=; b=QZyNErzltAg0+UL5ZYIkGqMrtrcYgcj3WF+GuzUXUtCRKgTzZGW5lll0C CmRtZ7HOvJ8JVW4IraHuejFV3a3mxqtzT60Lh3xOj1B+ALo7S91r3ZckWRZX77ba lLXXMiMZGm6s1picHepNG3ikH3q5r2sqv6IzwJQ62M7/dM8r+b6IBPFbRueetYrg +3+M+DasMmP/2uQnJcTghathXUL0Wa6+TjopcRCHj7QLbtT1QtJDLqknbIOlkHDB m2cNg9ilAIqTD+JQy8B+iROuyFw8XrIsrWBENeuDTpl0pnZx32DMZ3AD3VEqfYG7 7hn9ZIKjzMW2Pd45F2Cbd2fmCJQUA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvtddgleelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeegrdelgedrjeefrddvvddvnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from ranger.suse (unknown [74.94.73.222]) by mail.messagingengine.com (Postfix) with ESMTPA id 3FBED3280066; Wed, 11 Nov 2020 17:26:53 -0500 (EST) Subject: Re: Discovering postgres binary directory location To: Raul Kaubi , Postgres General References: From: Adrian Klaver Message-ID: <0d1b4b8f-ff92-0078-3643-ce7453ed50da@aklaver.com> Date: Wed, 11 Nov 2020 14:26:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/11/20 2:22 PM, Raul Kaubi wrote: > Hi > > CentOS 7 > Postgres 9 to 12 > > I am looking ways to universally discover postgresql binary directory > for monitoring purpose. > For example postgres 12, it is: */usr/pgsql-12* pg_config --bindir /usr/local/pgsql12/bin > > So what would be the best way to discover this in specific host. > > Regards > Raul -- Adrian Klaver adrian.klaver@aklaver.com