If you no longer want to monitor a server, you can remove the agent and delete the server from InfraBeacon.
Removing the agent from your server
Run the removal script as root:
curl -fsSL https://infrabeacon.io/tools/server-agent/remove.sh | sudo bash
This will:
- Remove the cron job from
/etc/cron.d/ib-agent
- Delete the agent script from
/usr/local/bin/ib-agent
- Delete the config file from
/etc/ib-agent.conf
- Remove the state directory
/var/lib/ib-agent
The log file at /var/log/ib-agent.log is left in place so you can check it if needed. You can delete it manually if you wish.
Deleting the server from InfraBeacon
- Go to your Account page
- Find the server in the Server Monitoring section
- Select Delete next to the server
Deleting a server queues it for removal. Older data is deleted in the background. This may take a few moments for servers with a lot of history.