Coder Social home page Coder Social logo

Comments (5)

github-actions avatar github-actions commented on May 26, 2024

Awesome! Thanks for taking the time to open an issue. We will have a look and answer as soon as we can.' first issue

from prometheus.

robert197 avatar robert197 commented on May 26, 2024

@MahmoodKamali

i was having similar issue

can you go into prometheus container with docker-compose exec prometheus sh
and then run ping node-exporter?

You should see something like:

/prometheus $ ping node-exporter
PING node-exporter (192.168.224.3): 56 data bytes
ping: permission denied (are you root?)

If you are not seeing an IP like in the example above. Please check if your docker-compose prometheus service has "node-exporter" defined in links:

and also try to use the default network instead of the configured.

from prometheus.

MahmoodKamali avatar MahmoodKamali commented on May 26, 2024

ping node-exporter

Thanks for replying. From within the container, the Ip is reachable, however, no data could be got.

/prometheus $ ping node-exporter
PING node-exporter (172.26.0.2): 56 data bytes
ping: permission denied (are you root?)
/prometheus $

from prometheus.

n1ckyrush avatar n1ckyrush commented on May 26, 2024

Thanks for replying. From within the container, the Ip is reachable, however, no data could be got.

Because you need to add -u 0 to docker-compose exec to be able to run ping.

I had the same issue, the fix was easy, I changed prometheus/prometheus.yml.
I removed this piece:

dns_sd_configs:
    - names:
      - 'tasks.cadvisor'
      type: 'A'
      port: 8100

and added (actually, uncommented) this piece:

static_configs:
    - targets: ['cadvisor:8080']

I guess there is some issue with name resolving, so I just explicitly put cadvisor container name and its port.

from prometheus.

github-actions avatar github-actions commented on May 26, 2024

This issue has seen no activity and is marked as stale

from prometheus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.