# prometheus isn't scraping node exporter

**URL:** <https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307>\
**Category:** General Help/Support\
**Created:** [June 12, 2021, 8:48pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307 "2021-06-12T20:48:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lulwa-05](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/lulwa-05/32/162_2.png) [@lulwa-05](https://discuss.prometheus.io/u/lulwa-05)\
**Post date:** [June 12, 2021, 8:48pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/1 "2021-06-12T20:48:32Z")

</div>

So I’m a 100% beginner with Prometheus and node exporter.

I’m doing a project for school where I monitor a server using prometheus and grafana, I managed to install all Prometheus, node exporter, and grafana and connected the servers.

but when I access port 9090 I cant find data from node exporter nor does it show in the target page, mean while when accessing port 9100 it shows full data without any issues.

I’m not sure where I went wrong with the configuration.

I’m using an Ubuntu 16.04 on AWS, all ports has been configured as well to allow access.

I would appreciate if someone could help me in simple terms, as I wrote, this if my first time doing something like this

this is the .yml file

# my global config

global:  
scrape\_interval: 15s # Set the scrape interval to every 15 seconds. Defaul$  
evaluation\_interval: 15s # Evaluate rules every 15 seconds. The default is ev$

# scrape\_timeout is set to the global default (10s).

# Alertmanager configuration

alerting:  
alertmanagers:

- static\_configs:
  - targets:
# - alertmanager:9093

# Load rules once and periodically evaluate them according to the global 'evalu$

rule\_files:

# - “first\_rules.yml”

# - “second\_rules.yml”

# A scrape configuration containing exactly one endpoint to scrape:

# Here it’s Prometheus itself.

scrape\_configs:

# The job name is added as a label `job=<job_name>` to any timeseries scraped$

- job\_name: ‘prometheus’  
static\_configs:

- job\_name: ‘node\_exporter’  
scrape\_interval: 5s  
static\_configs:

---

<div class="post-metadata">

**Author:** ![SuperQ](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/superq/32/4_2.png) [@SuperQ](https://discuss.prometheus.io/u/SuperQ)\
**Post date:** [June 12, 2021, 8:50pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/2 "2021-06-12T20:50:10Z")

</div>

> [@lulwa-05](#):
>
> I’m doing a project for school where I monitor a server using prometheus and grafana, I managed to install all Prometheus, node exporter, and grafana and connected the servers.

How exactly did you install things?

---

<div class="post-metadata">

**Author:** ![lulwa-05](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/lulwa-05/32/162_2.png) [@lulwa-05](https://discuss.prometheus.io/u/lulwa-05)\
**Post date:** [June 12, 2021, 8:54pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/3 "2021-06-12T20:54:03Z")

</div>

I used some online tutorials

> **[Install Prometheus Server on Ubuntu 20.04/18.04 | Debian 10/9 |...](https://computingforgeeks.com/install-prometheus-server-on-debian-ubuntu-linux/)**
>
> How can I install Prometheus on Ubuntu 20.04/18.04 and Debian 10/9 Linux?. Prometheus is a monitoring tool designed for recording real-time metrics in a

> **[How To Install Prometheus on Ubuntu 16.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-prometheus-on-ubuntu-16-04)**
>
> Prometheus is a powerful, open-source monitoring system that collects metrics from your services and stores them in a time-series database. This tutorial teaches you how to install, configure, and secure Prometheus and Node Exporter to generate...

---

<div class="post-metadata">

**Author:** ![lulwa-05](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/lulwa-05/32/162_2.png) [@lulwa-05](https://discuss.prometheus.io/u/lulwa-05)\
**Post date:** [June 15, 2021, 8:28pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/4 "2021-06-15T20:28:09Z")

</div>

anyone can help ?

---

<div class="post-metadata">

**Author:** ![rashid](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rashid](https://discuss.prometheus.io/u/rashid)\
**Post date:** [June 16, 2021, 11:48am UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/5 "2021-06-16T11:48:06Z")

</div>

Yes, I can help you

what is the issue u have

---

<div class="post-metadata">

**Author:** ![rashid](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rashid](https://discuss.prometheus.io/u/rashid)\
**Post date:** [June 16, 2021, 11:49am UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/6 "2021-06-16T11:49:03Z")

</div>

can i help u install and setup prometheus in server

you want to setup prometheus in school

let me know it

---

<div class="post-metadata">

**Author:** ![lulwa-05](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/lulwa-05/32/162_2.png) [@lulwa-05](https://discuss.prometheus.io/u/lulwa-05)\
**Post date:** [June 16, 2021, 12:00pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/7 "2021-06-16T12:00:39Z")

</div>

I installed prometheus & node exporter. but when I access port 9090 I cant find node exporter  
although port 9100 does display data from node exporter

---

<div class="post-metadata">

**Author:** ![lulwa-05](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/lulwa-05/32/162_2.png) [@lulwa-05](https://discuss.prometheus.io/u/lulwa-05)\
**Post date:** [June 16, 2021, 1:43pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/8 "2021-06-16T13:43:00Z")

</div>

I managed to solve the issue, thanks  
I’m still not sure what was wrong but after restarting the service it worked somehow

---

<div class="post-metadata">

**Author:** ![rashid](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@rashid](https://discuss.prometheus.io/u/rashid)\
**Post date:** [June 16, 2021, 2:13pm UTC](https://discuss.prometheus.io/t/prometheus-isnt-scraping-node-exporter/307/9 "2021-06-16T14:13:20Z")

</div>

wow great you solve it
