Using PCP and telemetry for puppet nodes

Hello,

When using pcp and telemetry, it seems i can only monitor the foreman server .
I can’t really figure out how to monitor the nodes through a centralized location with vector or grafana . Can you clarify ab bit for me how to proceed ?

Hello,

if you want to use PCP for monitoring of your infrastructure, then you simply need to deploy PCP on one (monitoring) server (I suggest CentOS 8.0 with the latest PCP version) and then install pmcd on all nodes you want to monitor. Then configure pmlogger on the monitoring server to connect to the nodes and sample data every minute (or how you like it) storing it in /var/log/pcp/pmlogger/hostname directory.

Then use grafana (which was upgraded to latest version in CentOS 8) to access the data. You can use Vector directly to see realtime data from the hosts, or use Grafana-Vector data source as well. You need to ask on PCP mailing lists for the details, but this is the gist of the deployment.