The Ubuntu Precise packages are no longer receiving any updates, but are still available for your use.
You can install the agent automatically using our shell script, or with our Puppet, Chef, Ansible and Salt modules. See automatically scaling and deploying the agent.
- A device created in your server density account (Find out how to create a device in the UI)
- sudo (root access) is required but the agent runs as its own user (sd-agent) once installed.
- The agent requires sysstat to be installed to collect some key metrics. This will be installed as a dependency during installation.
- Our repository requires that apt-transport-https be installed before adding to your sources list. You can install apt-transport-https with the command:
apt-get install apt-transport-https
Add repository to apt
echo "deb https://archive.serverdensity.com/ubuntu/ all main" | sudo tee /etc/apt/sources.list.d/sd-agent.list
Download and install our key
curl -Ls https://archive.serverdensity.com/sd-packaging-public.key | sudo apt-key add -
Update the package lists
sudo apt-get update -y
Install the agent
sudo apt-get install sd-agent
Configure the agent
sudo nano -w /etc/sd-agent/config.cfg
Enter the following values. Other settings are optional.
Restart the agent after any config changes:
sudo /etc/init.d/sd-agent restart