I have a $10 server running a redis instance.
I have tried to update my graphs for better understanding of server but its not getting updated.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Make sure you have DigitalOcean Agent installed on your Droplet. You can do this by executing the following command:

  • curl -sSL https://agent.digitalocean.com/install.sh | sh

If you already have it, verify the service’s status:

  • sudo systemctl status do-agent

The output contains information about the process, along with its status, which should report active (running).

systemctl output
● do-agent.service - DigitalOcean agent Loaded: loaded (/lib/systemd/system/do-agent.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2018-01-18 19:16:17 UTC; 14s ago Main PID: 2272 (do-agent) Tasks: 5 Memory: 4.8M CPU: 165ms CGroup: /system.slice/do-agent.service └─2272 /opt/digitalocean/bin/do-agent -log_syslog

If it’s not running or you still have problems, try to get some logs and open a support ticket.
You can find logs in the syslog file, which contains logs for your system and applications.

  • sudo nano /var/log/syslog

The do-agent-related entries should look like this:

Sample logs
... Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Do-Agent version 0.5.1 Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Do-Agent build HEAD.c799b1e Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Architecture: amd64 Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Operating System: linux Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Local Repository Path Override: /run/digitalocean-agent Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 Checking for newer version of do-agent Jan 18 19:16:17 ubuntu-s-1vcpu-1gb-ams3-01 do-agent[2272]: 2018/01/18 19:16:17 No repository update available ...
Submit an Answer