Prometheus
Document writer <olivier.nicolas@insa-lyon.fr>
v1.0, 2023-03-01
After installing prometheus:
~/ $ sudo apt-get -y install prometheus
you will want to set it up.
Edit /etc/prometheus/prometheus.yml
And enter the IP:port of the machines you want to scrape information from,
under the targets field, as below for example.
on those targets you will need to have installed prometheus-node-exporter. |
scrape_configs: - job_name: node # If prometheus-node-exporter is installed, grab stats about the local # machine by default. static_configs: - targets: ['10.0.0.100:9100', '10.0.0.110:9100', '10.0.0.120:9100']