systemd unit and ospf script

Rohrmann Sascha Rohrmann at citkomm.de
Tue May 3 15:06:25 CEST 2016


Hi,

I recently noticed, that there isn't a systemd unit for bird.
That's why I want to share mine. You could add them into the bird package @ondrej
Further information: you need to put this into /etc/systemd/system

Furthermore I wrote a script in perl which basicly activates or disables the originating of the default-route into the ospf area relating to incoming BGP routes.
The needed perl module is from this page: https://github.com/stephank/nagios-bird
You need to download birdctl.pm and put it in the same folder as the script.
Next you need to adjust the ENV variable to your folder.

As a little extra I created a systemd unit for my script.
You need to adjust the path here, too.

Greetings, Sascha.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160503/351f6c52/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bird.service
Type: application/octet-stream
Size: 234 bytes
Desc: bird.service
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160503/351f6c52/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_bgp.pl
Type: application/octet-stream
Size: 4467 bytes
Desc: check_bgp.pl
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160503/351f6c52/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkbgp.service
Type: application/octet-stream
Size: 263 bytes
Desc: checkbgp.service
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20160503/351f6c52/attachment-0002.obj>


More information about the Bird-users mailing list