# Add target node-exporter

Adding target’s using node-exporter

We can add targets which are nothing the nodes we wish to monitor in our `Prometheus` server.

1. To add the target we have to modify `vi /etc/prometheus/prometheus.yml` and the target sections of the `static_config` section.
    

I have added my personal machine to the targets sections in the screenshot below. Note, that you should know your target machine’s IP address and port 9100 should open it. Make sure to maintain proper indentation too and save the file.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1735213835008/9b3d990a-feff-4b7f-9e96-b0f12f4ab464.png align="center")

2. Now we have added the IP address in the prometheus.yml file, it’s time to download the appropriate node and exporter and start it on the target machine from this link. [https://github.com/prometheus/node\_exporter/releases](https://github.com/prometheus/node_exporter/releases)
    
3. To Verify whether the targeted machine is to be monitored or not, Hit this endpoint `http://lcoalhost:9090/targets`
    
4. ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1735214226671/db126d4a-e36a-420a-a8a4-6dae8c04432a.png align="center")
    
    You can verify its metrics too using `http://<target-IP>:9090/targets` in my case. `http://10.228.3.232:9100/metrics`
    
5. ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1735214380138/13b6ab91-6035-49e4-b068-fcb26dca5087.png align="center")
