bird_exporter icon indicating copy to clipboard operation
bird_exporter copied to clipboard

bird2 compatibility issues

Open mayeter opened this issue 3 years ago • 2 comments

Hi, recently I've moved to bird2 and got a couple problems with it.

  • Installing with apt was failing due to dependencies since bird2 is not accepted instead of bird. I had to install it manually.
  • I am trying to modify ARGS but not sure if doing it correctly? I am getting a blank page. From the syslog only thing I can see is /run/bird/bird6.ctl is not running error. I aware of it is not running and couldn't disable -bird.ipv6 option. What is the exact syntax? I've tried commenting out, -bird.ipv6=false, -bird.ipv6 false, none of them seems to work.

Thanks in advance.

mayeter avatar Jan 09 '22 22:01 mayeter

Are you sure, youre using the bird2 flag?

  -bird.v2
        Bird major version >= 2.0 (multi channel protocols)

We use Bird2 with this exporter and we only set -bird.socket for ipv4 and ipv6 to work.

Full line

bird_exporter -bird.v2 -format.new=true -format.description-labels=true -bird.socket=/var/run/bird/bird.ctl -web.listen-address=127.0.0.1:9324 -proto.direct=false -proto.kernel=false -proto.static=false

valcryst avatar Jan 20 '22 12:01 valcryst

Hi, it works when disabled ipv6 or enabled birdv2. Looks like my typo. But the other problem still bothers me. I am downloading package and installing with "dpkg -i --ignore-depends=bird"

mayeter avatar Jan 22 '22 19:01 mayeter