Re: Setting PMWEB Dashboard
"Frank Ch. Eigler" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Hi - > 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. Did you try the "multichart.js" scripted-dashboard URL? I ask because with that flavour, there is no need to save the JSON file; the URL alone is enough to recreate the chart. > 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 [...] Yes, that should work for hand-made dashboards. > 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 [...] Use wildcards in the first slot of the graphite metric names instead of that hard-coded name. *pmlogger*pwdb1*prd*mel* would probably do. (The scripted-dashboard URLs can also accept such wildcards.) - FChE -=-=-=-=-=-=-=-=-=-=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#14581): https://groups.io/g/pcp/message/14581 View All Messages In Topic (6): https://groups.io/g/pcp/topic/2962803 Mute This Topic: https://groups.io/mt/2962803?uid=174580 New Topic: https://groups.io/g/pcp/post Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-