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
|