<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Node Exporter on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/node-exporter/</link><description>Recent content in Node Exporter on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Sat, 24 May 2025 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/node-exporter/atom.xml" rel="self" type="application/rss+xml"/><item><title>Adding Scrape Credentials to Node Exporter</title><link>https://www.chenshaowen.com/en/blog/how-to-add-basic-auth-for-node-exporter.html</link><pubDate>Sat, 24 May 2025 00:00:00 +0000</pubDate><atom:modified>Sat, 24 May 2025 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/how-to-add-basic-auth-for-node-exporter.html</guid><description>1. Background Node Exporter is a common component in the Prometheus ecosystem for collecting host metrics, but by default it does not provide access authentication. This article describes how to add basic authentication to Node Exporter in a Kubernetes environment to improve security.
2. Configuring Credentials for Node Exporter 2.1 Generating an Encrypted Password Use the htpasswd tool to generate an encrypted password:</description><dc:creator>WeChat Official Account</dc:creator><category>exporter</category><category>Collector</category><category>Security</category><category>Kubernetes</category><category>Prometheus</category><category>Monitoring</category><category>Operations</category><category>Learning</category><category>Node Exporter</category><category>Basic Auth</category><category>Authentication</category></item></channel></rss>