pcp
[Top] [All Lists]

Re: pmmgr setup

To: thirumal rao <rtrao1985@xxxxxxxxx>
Subject: Re: pmmgr setup
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Sat, 09 Apr 2016 19:55:27 -0400
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CAFwjJrQM=TCMY070RwfqmnkcVxmS9_KBgCthTO6gd7s1iA5xCQ@xxxxxxxxxxxxxx> (thirumal rao's message of "Tue, 29 Mar 2016 17:41:48 -0700")
References: <CAFwjJrQM=TCMY070RwfqmnkcVxmS9_KBgCthTO6gd7s1iA5xCQ@xxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
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

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