Re: Setting PMWEB Dashboard

"Chandana De Silva" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Hello Frank

Thanks for the quick suggestion.

I changed my host to fedora 24, and installed the latest PCP, including web api and grafana.

I was able to construct a new dashboard with the data I wanted.

That part works well, provided there is only a small number of archives.

However, it is not possible to save the new dashboard, most likely because the dashboards are in /usr/share/pcp/webapps/grafana/app/dashboards which is not writable. I guess there is more than one way to fix this, happy to help.

I used the Save->Dashboard JSON option and copy+pasted it as a new dot json file in /usr/share/pcp/webapps/grafana/app/dashboards.

I can now use http://pmlog.xyz:44323/grafana/index.html#/dashboard/file/replication-test.json ( http://pmlog.xyz:44323/grafana/index.html#/dashboard/file/replication-test.json ) to distribute to anyone who wants to view the graps.

Thanks for your help on this.

One final question : This dashboard has to work correctly all the time, but the target is a specific archive, like "pmlogger/pwdb1~2Eprd~2Emel/20161024~2E06~2E17". This is not much use, as the target is bound to change overnight, or when pmlogger encounters a problem, and generates a new archive.

Currently, I am running a script which creates a set of hard links to the newest archive set, and using the hard link as the taget. Softlinks do not work.

Is there a better alternative ?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.