NerdTools

Fast, free online tools for sysadmins, developers, and nerds.

Server Monitoring

Removing the server agent

If you no longer want to monitor a server, you can remove the agent and delete the server from NerdTools.

Removing the agent from your server

Run the removal script as root:

curl -fsSL https://nerdtools.co.uk/tools/server-agent/remove.sh | sudo bash

This will:

  • Remove the cron job from /etc/cron.d/nerdtools-agent
  • Delete the agent script from /usr/local/bin/nerdtools-agent
  • Delete the config file from /etc/nerdtools-agent.conf
  • Remove the state directory /var/lib/nerdtools-agent

The log file at /var/log/nerdtools-agent.log is left in place so you can review it if needed. Delete it manually if you wish.

Deleting the server from NerdTools

  1. Go to your Account page
  2. Find the server in the Server Monitoring section
  3. Click the Delete button next to the server

Deleting a server queues it for removal. Historical data is purged in the background, which may take a few moments for servers with a lot of history.

Back to all articles