pcp
[Top] [All Lists]

Re: pmmgr setup

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: pmmgr setup
From: thirumal rao <rtrao1985@xxxxxxxxx>
Date: Sat, 9 Apr 2016 17:10:31 -0700
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=QOCTGXJ3v7roQ9zbxA3v0hdScSxr8Pi+g2zsK4wQGHQ=; b=wgxTF/WRGqolcOl/uk+ejxGbHznm8nAtCIeAXkiQYTJcNE62xzI08517Vcj4rl9PGe ORaWjZVFBn5vkW2YDGwYrOojAPvADf5Ve9Ftu7rMruvvsBOZNxAx1bmrCa8xnhFEflMF 4bgNO4XxBASUDjQ3esqR2RrMtqEXGUh4rI66kV3jyP0pKUtjOBjqBqY0XzdMFaYtG0yV BRoK+qXNFbpgn6UKdYuVH98SjH65QVrQb7dlNk+9eb+NyIEz4Xgr2c0sPFqlfKkILQye L0LtOfFimCm2ChFb0S77mbg+klypMc5/BNEKF8FMcFDEGLnF7WYtx8gIx/7V5g+VDLJI Kr/A==
In-reply-to: <y0mr3eeuykw.fsf@xxxxxxxx>
References: <CAFwjJrQM=TCMY070RwfqmnkcVxmS9_KBgCthTO6gd7s1iA5xCQ@xxxxxxxxxxxxxx> <y0mr3eeuykw.fsf@xxxxxxxx>
Hi Frank,Â

Thanks to your blog, pmmgr is up and running... I am absolutely loving it !


Would be great if you write (or have already written) on influxDB setup for PCP...Â

Thanks
Thirumal


On Sat, Apr 9, 2016 at 4:55 PM, Frank Ch. Eigler <fche@xxxxxxxxxx> wrote:

Hi -

rtrao1985 wrote:

> [...]Â Was very excited to learn about grafana and pmmgr
> capabilities. However, I am finding it difficult to get one source
> which provides installation and configuration details for an end to
> end setup of various PCP modules (pmlogger, pmcd, pmmgr, grafana,
> etc., ) in a distributed infrastructure for an enterprise. [...]

We could certainly outline it in a more formal place. But informally
speaking, there's very little to do to configure such a thing:

- on central server, install and activate pmmgr, pmwebd; open
 firewall (pmwebd tcp/44323); install webapps
- on each target machine, install and activate pmcd; open firewall
 (pmcd tcp/44321)
- configure the central pmmgr to locate the target machines, by some mixture
 of listing target host names or addresses in /etc/pcp/pmmgr/target-host
 or target discovery directives in /etc/pcp/pmmgr/target-discover
 (see [man pmmgr])

That's literally all there's to it. Then you start getting grafana
etc. data at http://server:44323/ with the default dashboards.

For customized grafana dashboards, you'd use grafana's built-in editor
or emacs, export the FOO.json file, then install it on the server
under /usr/share/pcp/webapps/grafana/app/dashboards/FOO.json; then
your browser / grafana will see it as
http://server:44323/grafana/index.html#/dashboard/file/FOO.json

- FChE



--
"Peace cannot be kept by force. It can only be achieved by understanding."

http://www.raoathisbest.blogspot.com

<Prev in Thread] Current Thread [Next in Thread>