Giter Club home page Giter Club logo

Comments (9)

armando-migliaccio avatar armando-migliaccio commented on June 3, 2024

Steps to repro:

  1. start the exporter and bird
  2. call curl -I http://<your-url>/metrics
  3. curl returns something like
HTTP/1.1 200 OK
Content-Length: 14272
Content-Type: text/plain; version=0.0.4
Date: Tue, 06 Aug 2019 20:03:47 GMT
  1. stop bird
  2. observe the following error in the exporter log:
dial unix /var/run/bird.ctl: connect: connection refused  source="metric_collector.go:78"
  1. Poke the metrics URL with curl to see the following:
HTTP/1.1 200 OK
Content-Length: 0
Content-Type: text/plain; version=0.0.4
Date: Tue, 06 Aug 2019 20:03:31 GMT

from bird_exporter.

armando-migliaccio avatar armando-migliaccio commented on June 3, 2024

@czerwonk thanks for ack-ing the issue! Any help I can provide, I'd love to help!

from bird_exporter.

ashepelev avatar ashepelev commented on June 3, 2024

I have the same behavior
I have bird socket located in the other path. So I specify the path -bird.socket /var/run/bird/bird.ctl but still get the same problem.
curl returns 200 OK, exporter returns level=error msg="dial unix /var/run/bird.ctl: connect: no such file or directory" source="metric_collector.go:78

from bird_exporter.

ashepelev avatar ashepelev commented on June 3, 2024

I have the same behavior
I have bird socket located in the other path. So I specify the path -bird.socket /var/run/bird/bird.ctl but still get the same problem.
curl returns 200 OK, exporter returns level=error msg="dial unix /var/run/bird.ctl: connect: no such file or directory" source="metric_collector.go:78

sorry, wrong arguments syntax. I've missed = between arg and value

from bird_exporter.

tzockt avatar tzockt commented on June 3, 2024

Hi,
I habe the same Problem. I have bird socket located in the other path. So I specify the path -bird.socket /var/run/bird/bird6.ctl but still get the same problem.
Version: 1.2.5
Exporter log: ERRO[0005] dial unix /var/run/bird.ctl: connect: no such file or directory source="metric_collector.go:84"

from bird_exporter.

czerwonk avatar czerwonk commented on June 3, 2024

Hi,

i will have a look into this issue.

from bird_exporter.

czerwonk avatar czerwonk commented on June 3, 2024

@tzockt if you want to specify an bird6 socket path:
./bird_exporter -bird.socket6=/path/to/bird6-socket
if you want to use it for bird6 only, you have to disable the scraping of bird4:
./bird_exporter -bird.socket6=/path/to/bird6-socket -bird.ipv4=false

from bird_exporter.

tzockt avatar tzockt commented on June 3, 2024

@czerwonk
thx it works :)

from bird_exporter.

ecbaldwin avatar ecbaldwin commented on June 3, 2024

I believe this issue may have been closed in err. It appears the resolution just before it got closed addressed @tzockt 's misconfiguration which was not related to the original bug. Unless I missed something.

from bird_exporter.

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.