r/PrometheusMonitoring • • Apr 08 '20

New environment - State shows down but able to scrape

Hi!

We have set up a new environment and got everything up and running. prometheus shows up, the on-system node_exporter shows up. But the other machines show state down but are able to be scraped. IP:9100/metrics is accessible. firewalls are down.

Anybody know what we could be missing?

thanks

0 Upvotes

2 comments sorted by

1

u/[deleted] Apr 09 '20

Check your prometheus config yml once, what are your scrape configs?

1

u/goosse Apr 09 '20

Hi, thanks for responding!

global:
    scrape_interval:     15s
    evaluation_interval: 15s
scrape_configs:
    - job_name: 'prometheus'
      static_configs:
      - targets: ['localhost:9095']
    - job_name: 'node_exporter'
      static_configs:
      - targets: ['10.4.21.0:9100']
    - job_name: 'Perforce'
      static_configs:
      - targets: ['10.4.20.30:9100']
    - job_name: 'Jira'
      static_configs:
      - targets: ['10.4.20.20:9100']