Deploy Monitoring Services
Update Prometheus
Prometheus is the Time Series DataBase handler that is at the core of our monitoring solution. It executes as a docker container service and is included with the chi-in-a-box system in the controller node. It periodically fetches metrics from exporter applications via HTTP scraping. Grafana is used then to query metrics from Prometheus for display (dashboards).
Upload Prometheus config files to controller
Upload following files to the exporter directory:
config.json
prometheus.yml
The files can be found at https://github.com/KTH-EXPECA/TestbedConfig/tree/master/chi-site-config/monitoring
Copy the config files to correct Prometheus directory:
Verify that owner of the target files are root:root
Restart the Prometheus server
Verify that the process started without errors
Start ExPECA exporter + collectors
The ExPECA exporter is a custom built exporter that provides metrics for Prometheus. Alongside the exporter, there are "collectors" that are called from the exporter to provide specific metrics.
Upload ExPECA exporter + collector files to controller
Upload following files to the exporter directory:
expeca-exporter.py
expeca-exporter.yml
expeca-ptp-collector.py
expeca-scan-collector.py
expeca-serverscan-collector.py
The files can be found at https://github.com/KTH-EXPECA/TestbedConfig/tree/master/chi-site-config/monitoring
Install Python modules in controller
Run ExPECA exporter as background process in controller
Start node exporter in worker nodes (only needed if worker node is recreated)
Each worker node has a node exporter (open source) running, that provides important node metrics to Prometheus. Examples are disk and memory usage. Note that the controller node already has the node exporter included as a container service, so it needs no node exporter action.
Upload node exporter file to worker node
Upload following file to the exporter directory:
node_exporter-1.5.0.linux-amd64.tar.gz
The file can be found at https://github.com/KTH-EXPECA/TestbedConfig/tree/master/chi-site-config/monitoring
Extract node exporter
Run node exporter as background process
Last updated