Using Prometheus and Grafana
You can use the open-source tools Prometheus and Grafana to collect sensor data and visualize it. In
Prometheus, the sensor readings are stored locally as time series data, which can be visualized in graphs
created by Grafana or similar tools This information is displayed on dashboards, and you can create
multiple dashboards as needed.
Requirements for Prometheus and Grafana
▶
Prometheus Requirements:
•
•
Prometheus v2.0 or higher
•
•
Install on a computer in the PRO3X network.
•
•
Reference: https://prometheus.io/docs/introduction/first_steps/
▶
Grafana requirements:
•
•
Grafana v8.1.5 or higher
•
•
Install on a computer in the network of the Prometheus instance.
•
•
Reference: https://grafana.com/grafana/download?pg=get&plcmt=selfmanaged-box1-cta1
Collected Data
For integration into a Prometheus system, the PDU can output all measurements in a Prometheus-
compatible format that can be queried in specific exposition format from the URL: 'https://<PDU_IP>/
cgi-bin/dump_prometheus.cgi'. The URL has one optional parameter, "include_names=1", to include
PDU, inlet and outlet names in the metric labels.
You can use cURL as follows to retrieve the data:
1. curl -k https://username:password@[PDU_IP]/cgi-bin/dump_prometheus.cgi
2. curl -k https://username:password@[PDU_IP]/cgi-bin/dump_prometheus.cgi?include_names=1
285
Need help?
Do you have a question about the Server Technology PRO3X and is the answer not in the manual?