• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

provisioning/dashboards/H13-Oct-2021-2523

README.mdH A D13-Oct-20211.7 KiB2217

automatic_influxdb.ymlH A D13-Oct-2021437 2824

automatic_prometheus.ymlH A D13-Oct-2021236 1715

prometheus.yml.templateH A D13-Oct-2021918 3024

start-prometheus.shH A D13-Oct-20211,019 3321

start.shH A D13-Oct-20211.1 KiB3423

stop.shH A D13-Oct-2021214 128

telegraf.conf.templateH A D13-Oct-20214.4 KiB11496

README.md

1--------------------------------------------------------------------------------
2Instructions on How To Run PCM Grafana Dashboard
3--------------------------------------------------------------------------------
4
5Installation on target system to be analyzed:
61.  Build: `make pcm-sensor-server.x`
72.  As root start pcm-sensor-server.x: `sudo ./pcm-sensor-server.x`
8
9Alternatively one can start [pcm-sensor-server as a container from docker hub](https://github.com/opcm/pcm/blob/master/DOCKER_README.md).
10
11Installation of the grafana front-end (can be on any *host* system with connectivity to the target system):
121.  Make sure curl and docker are installed on the *host*
132.  In PCM source directory on the *host*: `cd grafana`
143.  (Download once and) start docker containers on the *host*: `sh start.sh http://target_system_address:9738`
15       - `start.sh` script starts telegraf/influxdb/grafana containers
16       - `start-prometheus.sh` is an alternative script which starts prometheus + grafana containers: `sh start-prometheus.sh target_system_address:9738`
17       - Don't use `localhost` to specify the `target_system_address` if the *host* and the target are the same machine because `localhost` resolves to the own private IP address of the docker container when accessed inside the container. The external IP address or hostname should be used instead.
184.  Start your browser at http://*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"
195.  You can also stop and delete the containers when needed: `sh stop.sh`
20
21![pcm grafana output](https://raw.githubusercontent.com/wiki/opcm/pcm/pcm-dashboard-full.png)
22