Installing the bgp.tools agent for Debian/Ubuntu
The agent is installed by the apt repo. We recommend installing in the following way:
# Install the package repo key
curl https://pkg.bgp.tools/repo.key | sudo gpg --yes --dearmor --output /usr/share/keyrings/bgptools.gpg
# Install the apt repo
echo "deb [signed-by=/usr/share/keyrings/bgptools.gpg] https://pkg.bgp.tools/deb/amd64 /" | sudo tee /etc/apt/sources.list.d/bgptools.list
# Update packages
sudo apt update
# Install the agent
sudo apt install bgptools-agent
The agent is started upon install, however you still need to link it to your bgp.tools account, you can do this by running as any user on the system:
# Provision the agent
$ sudo -u bgptools bgp-tools-client-agent
bgp.tools agent - Version: 0a26583d-dev, Built on 2023-03-20-1659 UTC
To link this agent to your bgp.tools account, please go to:
https://bgp.tools/authed/approve-agent?id=xxxxxxx
and setup this agent, You must do this within 15 minutes.
Follow the link and setup the name for the agent. Shortly after that you should have a connected agent!