Prometheus node-exporter installer
- Clone the repository
git clone
- Change into the diretory
cd prometheus-node-exporter
- Make the installer file executable
chmod +x install_node_exporter.sh
- Run installer script with
sudo
privileges
sudo ./install_node_exporter.sh
Check status of the node-exporter service to make sure it is running
sudo systemctl status node-exporter.service
The output should look like this
● node_exporter.service - Prometheus Node Exporter Loaded: loaded (/etc/systemd/system/node_exporter.service; enabled; vendor preset: enabled) Active: active (running) ... ....
When the exporter is running, open browser and go to http://localhost:9100
or http://<your-server-ip>:9100/metrics
The browser should respond with metrics collected by the exporter.
In case you don't get reponse, please check your firewall.