Installing Node Exporter on ubuntu 22.04 LTS

Node-exporter is an open source agent tool that exposes the system metrics, and later on we can configure the node exporter endpoint with Prometheus to make queries and create dashboards as per our requirements. We will have to make automation for node export installation using bash sell script while working in DevOps and SRE environments, so I have created the node-exporter bash script to automate the installation on Ubuntu server. 

In this post, We will install node exporter on ubuntu server.

Step 1: Create a node-exporter bash shell script

We need to use the given command to create file.


copy paste the following command.


sudo apt-get update
sudo apt-get install prometheus-node-exporter -y
sudo systemctl status prometheus-node-exporter

Save and exit from the text editor.

Step 2: Execute the Script

We need to given execute permission on bash script file and later on We can install the node exporter.

To give execute permission.

sudo chmod +x

To, execute script.

sudo sh

After installation of the node-exporter package, We should get system metrics on http://localhost:9100 or http://IP_ADDESSS:9100, Please keep in mind port 9100 is the default port for node-exporter.


We have successfully automate the node-exporter package on ubuntu server, Kindly report in case you are facing defeculties with follwing details.

  • OS name
  • OS version
  • Package name
  • Logs – Error / Warning / failed

Get in touch with our new devops tools based website-

Installing Node Exporter on ubuntu 22.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top