Score:0

How to send data from bird6 to an API?

cn flag

I have a ubuntu server with bird6 installed that receives block advertisements via BGP, and I intended that these advertisements that the server received were periodically forwarded to an API? Does anyone know how to do this?

(Example) Output of command: show route receive-protocol bgp 192.31.1.3

inet.0: 13 destinations, 13 routes (13 active, 0 holddown, 0 hidden)
  Prefix                  Nexthop              MED     Lclpref    AS path
* 192.70.0.0/22           192.31.1.3                              3000 I
* 192.70.1.0/24           192.31.1.3                              3000 I
* 192.70.2.0/24           192.31.1.3                              3000 I
* 192.70.3.0/24           192.31.1.3                              3000 I
cn flag
Bob
The basic Linux job scheduler is `cron` and to periodically perform tasks is called creating a cron job (specification). That is trivial. - Creating a script to be called from the cronjob to convert the output of a command to whatever format your unspecified API requires and posting that is something that can probably be done with almost any of your preferred scripting/programming languages.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.