Installation on target system to be analyzed:
- Build:
make pcm-sensor-server.x
- As root start pcm-sensor-server.x:
sudo ./pcm-sensor-server.x
Alternatively one can start pcm-sensor-server as a container from docker hub.
Installation of the grafana front-end (can be on any host system with connectivity to the target system):
- Make sure curl and docker are installed on the host
- In PCM source directory on the host:
cd grafana
- (Download once and) start docker containers on the host:
sh start.sh https://target_system_address:9738
start.sh
script starts telegraf/influxdb/grafana containersstart-prometheus.sh
is an alternative script which starts prometheus + grafana containers:sh start-prometheus.sh target_system_address:9738
- Start your browser at https://host:3000/ and then login with admin user, password admin . Change the password and then click on "Home" (left top corner) -> "Processor Counter Monitor (PCM) Dashboard"
- You can also stop and delete the containers when needed:
sh stop.sh