![]() ![]() # 3.Configure the Node Exporter as a Prometheus target You can see all the server metrics by visiting your server URL on /metrics as shown below. Now, node exporter would be exporting metrics on port 9100. Lets Check the Status of Node Exorter: sudo systemctl status node_exporter node exporter ![]() Now lets start and enable the node_exporter service using below commands sudo systemctl daemon-reload sudo systemctl enable node_exporter sudo systemctl start node_exporter Paste the below content in your service file sudo useradd -rs /bin/false node_exporter # 2.Create a node_exporter service file in the /etc/systemd/system directory sudo nano /etc/systemd/system/node_rvice sudo mv node_exporter-*.*-amd64/node_exporter /usr/local/bin/Ĭreate a node_exporter user to run the node exporter service. Move the binary file of node exporter to /usr/local/bin location. Unzip the downloaded the file using below command tar xvfz node_exporter-*.* Now lets run the copied URL with wget command cd /tmp wget Now right click on node exporter and copy link address node exporter To install Node Exporter first navigate to Prometheus official download page, Scroll down and you will get node_exporter section and then select Linux OS for amd64. Node Exporter collects the metrics of your system such as Memory usage, CPU usage, RAM, disk space, etc. #1.Download and Install Prometheus Node Exporter on Linux Security Groups Configured on EC2 Instances
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |