The el5 packages are no longer receving any updates but are still available for your use.
Oracle 5 and Scientific Linux 5 are not officially supported.
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.
Add repository to yum
Prepare your server for the agent by adding the repo and update the package lists.
sudo nano /etc/yum.repos.d/serverdensity.repo
Paste in the following then press Ctrl+X to save:
[server-density] name=Server Density Repository for Enterprise Linux $releasever - $basearch baseurl=https://archive.serverdensity.com/el/$releasever failovermethod=priority enabled=1 gpgcheck=1
Install the Repository Key
curl -Ls https://archive.serverdensity.com/sd-packaging-el5-public.key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-serverdensity
Install the EPEL repo
sudo yum install epel-release
Install the agent
sudo yum 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