{"id":17415,"date":"2026-03-02T09:39:05","date_gmt":"2026-03-02T04:09:05","guid":{"rendered":"https:\/\/www.skynats.com\/blog\/?p=17415"},"modified":"2026-03-02T09:39:09","modified_gmt":"2026-03-02T04:09:09","slug":"how-install-node-exporter-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-install-node-exporter-on-ubuntu\/","title":{"rendered":"How Install node exporter on Ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Node Exporter is a <a href=\"https:\/\/prometheus.io\/\" type=\"link\" id=\"https:\/\/prometheus.io\/\" target=\"_blank\" rel=\"noopener\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Prometheus<\/mark><\/a> exporter that exposes hardware and OS metrics such as CPU, memory, disk usage, and network statistics. Prometheus scrapes these metrics to monitor your server performance. Installing node exporter on ubuntu enables you to collect and visualize these system metrics efficiently for better infrastructure monitoring.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-download-node-exporter\"><strong>Download Node Exporter<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the official Prometheus download page: Prometheus Node Exporter Releases<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Or use wget with the latest version link. For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Replace VERSION with the latest stable version\nVERSION=\"1.7.2\"\nwget https:\/\/github.com\/prometheus\/node_exporter\/releases\/download\/v${VERSION}\/node_exporter-${VERSION}.linux-amd64.tar.gz\nExtract Node Exporter\ntar xvfz node_exporter-version.linux-amd64.tar.gz\ncd node_exporter-version.linux-amd64<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You will see the node_exporter binary.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-nbsp-create-a-node-exporter-user\"><strong>&nbsp;Create a Node Exporter User<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For security, run Node Exporter under a non-root user:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo useradd -rs \/bin\/false node_exporter\nMove Binary to \/usr\/local\/bin\nsudo mv node_exporter \/usr\/local\/bin\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check by:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>node_exporter --version<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-create-a-systemd-service\"><strong>Create a Systemd Service<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create a service file so Node Exporter can run in the background and start at boot:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo vim\/etc\/systemd\/system\/node_exporter.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following content:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\nDescription=Node Exporter\nWants=network-online.target\nAfter=network-online.target\n\n&#91;Service]\nUser=node_exporter\nGroup=node_exporter\nType=simple\nExecStart=\/usr\/local\/bin\/node_exporter\n\n&#91;Install]\nWantedBy=multi-user.target\nStep 6: Reload Systemd and Start Node Exporter\nsudo systemctl daemon-reload\nsudo systemctl start node_exporter\nsudo systemctl enable node_exporter<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check status:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status node_exporter<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-verify-node-exporter\"><strong>Verify Node Exporter<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Open your browser and navigate to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:\/\/&lt;server-ip>:9100\/metrics<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You should see Prometheus-formatted metrics like CPU usage, memory stats, disk IO, and more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-configure-prometheus-to-scrape-node-exporter\"><strong>Configure Prometheus to Scrape Node Exporter<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Edit Prometheus config file (prometheus.yml):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scrape_configs:\n  - job_name: 'node_exporter'\n    static_configs:\n      - targets: &#91;'&lt;server-ip>:9100']<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Reload Prometheus:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart prometheus<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify in Prometheus UI under Targets.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Need expert help with Installing node exporter on ubuntu? Our certified engineers at Skynats deliver reliable <a href=\"https:\/\/www.skynats.com\/devops-support\">DevOps Support Services<\/a> to ensure seamless monitoring, secure configuration, and peak server performance. From setup to optimization and ongoing maintenance, we\u2019ve got your infrastructure covered 24\/7.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Contact us today and let our DevOps experts handle your server monitoring the right way!<br><br><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Node Exporter is a Prometheus exporter that exposes hardware and OS metrics such as CPU, memory, disk usage, and network statistics. Prometheus scrapes these metrics to monitor your server performance. Installing node exporter on ubuntu enables you to collect and visualize these system metrics efficiently for better infrastructure monitoring. Download Node Exporter Go to the [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1064,1248,1249,1143,1250,1251],"class_list":["post-17415","post","type-post","status-publish","format-standard","hentry","category-blog","tag-devops-support-services","tag-installing-node-exporter","tag-installing-node-exporter-on-ubuntu","tag-node-exporter","tag-prometheus-node","tag-verify-node-exporter"],"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=17415"}],"version-history":[{"count":1,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17415\/revisions"}],"predecessor-version":[{"id":17416,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/17415\/revisions\/17416"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=17415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=17415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=17415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}