Hey All, Just wondering what people are using to monitor the bird process(es)? Has anyone configured Supervise or the like? I have set up a test BIRD VM and have managed to make it Segfault once… :P Cheers Joe
On Mon, Apr 22, 2013 at 02:16:51PM +0800, Joe Wooller wrote:
Just wondering what people are using to monitor the bird process(es)? Has anyone configured Supervise or the like?
Some people start bird from inittab like this to have it respawned after a crash quickly: grand4-router:~# grep bird /etc/inittab BI:23:respawn:/usr/sbin/bird -d -D/dev/null -- Yury
On 04/22/2013 08:16 AM, Joe Wooller wrote:
Hey All,
Just wondering what people are using to monitor the bird process(es)? Has anyone configured Supervise or the like?
I use mmonit, but it needs a PID file that bird didn't provide. I modified the startup script adding the attached line. Bye Giuseppe
On Mon, Apr 22, 2013 at 11:16 AM, Joe Wooller <joe@waia.asn.au> wrote:
Just wondering what people are using to monitor the bird process(es)? Has anyone configured Supervise or the like?
I have set up a test BIRD VM and have managed to make it Segfault once… :P
The choice of monitoring system depends on the platform. For Ubuntu, upstart is perfectly capable of keeping bird alive, and configuring upstart is easy. -- Timur Irmatov
On a similar note, does anyone monitor the process externally, (say via nagios or the like?) I would be interested to see how people monitor the active process, and possibly if anyone monitors sessions and prefixes received, used/filtered? I haven't been able to find any thing out there that suits my needs, so with the assistance of a friend we have come up with this, still in progress though.. https://github.com/dowlingw/bird-tool Cheers Joe On 22/04/2013, at 4:11 PM, Timur Irmatov <irmatov@gmail.com> wrote:
On Mon, Apr 22, 2013 at 11:16 AM, Joe Wooller <joe@waia.asn.au> wrote:
Just wondering what people are using to monitor the bird process(es)? Has anyone configured Supervise or the like?
I have set up a test BIRD VM and have managed to make it Segfault once… :P
The choice of monitoring system depends on the platform. For Ubuntu, upstart is perfectly capable of keeping bird alive, and configuring upstart is easy.
-- Timur Irmatov
!DSPAM:1,5174f0b980748883510186!
On 19:20 Mon 22 Apr , Joe Wooller wrote:
On a similar note, does anyone monitor the process externally, (say via nagios or the like?) I would be interested to see how people monitor the active process, and possibly if anyone monitors sessions and prefixes received, used/filtered?
I haven't been able to find any thing out there that suits my needs, so with the assistance of a friend we have come up with this, still in progress though..
https://github.com/dowlingw/bird-tool
Cheers Joe
We are monitoring the process with icinga & check_mk. Check_mk has a notion of state, so we essentially persist ("inventorize") the admin state of all protocols (up/down) and their status (Connected, Running etc) and if anything changes we get an alert. I could share the check_mk plugin that does all this, if anyone is interested. We also monitor the prefix count directly in the Linux kernel (via /proc/net/fib_triestat and /proc/net/rt6_stats) and use it to score our keepalived processes higher or lower and possibly trigger a failover of the access interface IPs if one router seems to receive significantly less prefixes than the other for some reason. Cheers, Apollon
@Joe, thanks for starting this thread, I was just thinking along this line of making sure bird is running. Apollon, I would love to give your plugin a try. To summarize, I'm deploying Bird on 120 machines (2 nic each) + 6 routers (total of 240 ptp links in a clos configuration) and participate in a single area OSPF. Anyone know whether bird have been being deploy/tested in this use case? thanks, -bn 0216331C On Mon, Apr 22, 2013 at 4:35 AM, Apollon Oikonomopoulos <apollon@skroutz.gr>wrote:
On 19:20 Mon 22 Apr , Joe Wooller wrote:
On a similar note, does anyone monitor the process externally, (say via nagios or the like?) I would be interested to see how people monitor the active process, and possibly if anyone monitors sessions and prefixes received, used/filtered?
I haven't been able to find any thing out there that suits my needs, so with the assistance of a friend we have come up with this, still in progress though..
https://github.com/dowlingw/bird-tool
Cheers Joe
We are monitoring the process with icinga & check_mk. Check_mk has a notion of state, so we essentially persist ("inventorize") the admin state of all protocols (up/down) and their status (Connected, Running etc) and if anything changes we get an alert.
I could share the check_mk plugin that does all this, if anyone is interested.
We also monitor the prefix count directly in the Linux kernel (via /proc/net/fib_triestat and /proc/net/rt6_stats) and use it to score our keepalived processes higher or lower and possibly trigger a failover of the access interface IPs if one router seems to receive significantly less prefixes than the other for some reason.
Cheers, Apollon
If you are interested below is my upstart conf (bird.conf) I am running Ubuntu so I removed the bird init.d script and added this in /etc/init/ <SNIP> description "BIRD Router Daemon" start on runlevel [2345] stop on runlevel [!2345] # An Upstart script to manage the foo service respawn expect fork script . /etc/default/bird exec /usr/sbin/bird $DAEMON_ARGS end script post-start script sleep 5 echo "my-foo service started at `date +"%F %T.%N"`" | mail -s "My-foo Service Started" user@email.com chown root.nagios /var/run/bird.ctl end script </SNIP> This appears to work rather well. That said I am sure there is a much better way of doing it… :) Joe On 23/04/2013, at 12:42 PM, Bao Nguyen <ngqbao@gmail.com> wrote:
@Joe, thanks for starting this thread, I was just thinking along this line of making sure bird is running.
Apollon, I would love to give your plugin a try.
To summarize, I'm deploying Bird on 120 machines (2 nic each) + 6 routers (total of 240 ptp links in a clos configuration) and participate in a single area OSPF. Anyone know whether bird have been being deploy/tested in this use case?
thanks,
-bn 0216331C
On Mon, Apr 22, 2013 at 4:35 AM, Apollon Oikonomopoulos <apollon@skroutz.gr> wrote: On 19:20 Mon 22 Apr , Joe Wooller wrote:
On a similar note, does anyone monitor the process externally, (say via nagios or the like?) I would be interested to see how people monitor the active process, and possibly if anyone monitors sessions and prefixes received, used/filtered?
I haven't been able to find any thing out there that suits my needs, so with the assistance of a friend we have come up with this, still in progress though..
https://github.com/dowlingw/bird-tool
Cheers Joe
We are monitoring the process with icinga & check_mk. Check_mk has a notion of state, so we essentially persist ("inventorize") the admin state of all protocols (up/down) and their status (Connected, Running etc) and if anything changes we get an alert.
I could share the check_mk plugin that does all this, if anyone is interested.
We also monitor the prefix count directly in the Linux kernel (via /proc/net/fib_triestat and /proc/net/rt6_stats) and use it to score our keepalived processes higher or lower and possibly trigger a failover of the access interface IPs if one router seems to receive significantly less prefixes than the other for some reason.
Cheers, Apollon
!DSPAM:1,5176115080744122215783!
On 21:42 Mon 22 Apr , Bao Nguyen wrote:
@Joe, thanks for starting this thread, I was just thinking along this line of making sure bird is running.
Apollon, I would love to give your plugin a try.
Hi, for everyone interested, you can get the plugin at: https://dmesg.gr/check_mk-bird.tar.gz Regards, Apollon
On Wed, Apr 24, 2013 at 05:15:50PM +0300, Apollon Oikonomopoulos wrote:
On 21:42 Mon 22 Apr , Bao Nguyen wrote:
@Joe, thanks for starting this thread, I was just thinking along this line of making sure bird is running.
Apollon, I would love to give your plugin a try.
Hi,
for everyone interested, you can get the plugin at:
Hi Any homepage that could be linked from the wiki? -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On Mon, Apr 22, 2013 at 07:20:53PM +0800, Joe Wooller wrote:
On a similar note, does anyone monitor the process externally, (say via nagios or the like?) I would be interested to see how people monitor the active process, and possibly if anyone monitors sessions and prefixes received, used/filtered?
I haven't been able to find any thing out there that suits my needs, so with the assistance of a friend we have come up with this, still in progress though..
Hello Added link to the BIRD wiki: https://redmine.labs.nic.cz/projects/bird/wiki/Related See this page for other BIRD related tools. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
I installed this package that let me have snmp visibility of the bird process: https://pypi.python.org/pypi/bird-snmp and then I'm using observium to pick up the information from the snmp daemon on the host.
Thanks Andy, I can see that would work well for all things v4, but what about v6? Joe On 23/04/2013, at 9:19 AM, Andy Linton <asjl@lpnz.org> wrote:
I installed this package that let me have snmp visibility of the bird process:
https://pypi.python.org/pypi/bird-snmp
and then I'm using observium to pick up the information from the snmp daemon on the host.
!DSPAM:1,5175e1e880741626818479!
On Tue, Apr 23, 2013 at 1:24 PM, Joe Wooller <joe@waia.asn.au> wrote:
Thanks Andy,
I can see that would work well for all things v4, but what about v6?
Ah - you see the flaw in my plan! It's not a problem exclusive to BIRD. SNMP support for BGP v6 sucks big time. Doesn't work on Quagga either.
Hi, On 04/23, Joe Wooller wrote:
Thanks Andy,
I can see that would work well for all things v4, but what about v6?
Joe
On 23/04/2013, at 9:19 AM, Andy Linton <asjl@lpnz.org> wrote:
I installed this package that let me have snmp visibility of the bird process:
https://pypi.python.org/pypi/bird-snmp
and then I'm using observium to pick up the information from the snmp daemon on the host.
!DSPAM:1,5175e1e880741626818479!
Bird-snmp author here; While v4 has been standardized in BGP4-MIB, v6 is dependent on vendor-specific MIBS. Since bird-snmp is already a hack, I didn't want to clutter the code with vendor-specific hacks. gr, Lex -- LRO-RIPE | 398E38C3 | 748D 6359 389B 4E5A 4A44 82F5 BEC5 07FD 398E 38C3
On Tue, Apr 23, 2013 at 7:21 PM, Lex van Roon <r3boot@r3blog.nl> wrote:
Bird-snmp author here; While v4 has been standardized in BGP4-MIB, v6 is dependent on vendor-specific MIBS. Since bird-snmp is already a hack, I didn't want to clutter the code with vendor-specific hacks.
Thanks for the code - it's useful even without the v6 stuff.
participants (9)
-
Andy Linton -
Apollon Oikonomopoulos -
Bao Nguyen -
Giuseppe Ravasio -
Joe Wooller -
Lex van Roon -
Ondrej Zajicek -
Timur Irmatov -
Yury Shevchuk