Closed KamarajuKusumanchi closed 1 year ago
FWIW, I was able to get it installed from https://repos-droplet.digitalocean.com/install.sh .
it looks like do-agent and droplet-agent are two different things (do-agent does metrics and droplet-agent is used to support additional features (such as the web console)), so I'm not sure you installed do-agent via the droplet-agent script?
Also weirdly I hit that same error as you, but a few minutes ago I tried running the install script again and it worked that time?
Hey @KamarajuKusumanchi , thanks for reporting this! It looks like our script was trying to pull a gpg key that was recently rotated - this should now be resolved. Feel free to re-open if you're still experiencing issues installing the agent.
it looks like do-agent and droplet-agent are two different things (do-agent does metrics and droplet-agent is used to support additional features (such as the web console)), so I'm not sure you installed do-agent via the droplet-agent script?
Ok. I did not know that do-agent and droplet-agent are two different things. I was under the impression that they are same. Thanks for pointing it out.
Hey @KamarajuKusumanchi , thanks for reporting this! It looks like our script was trying to pull a gpg key that was recently rotated - this should now be resolved. Feel free to re-open if you're still experiencing issues installing the agent.
Confirm that it works now. I ran
$ curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
and it installed the do-agent.
$ dpkg -l do-agent | grep ^ii
ii do-agent 3.15.2 amd64 DigitalOcean stats collector
Describe the problem
I used the instructions in https://docs.digitalocean.com/products/monitoring/how-to/install-agent/ to install the DigitalOcean Metrics Agent. But the installation fails with the following error.
Expected behavior
Installation should succeed without any errors.
Additional information
FWIW, I was able to get it installed from https://repos-droplet.digitalocean.com/install.sh .
System Information
Distribution and version:
do-agent information:
Paste the entire output
/opt/digitalocean/bin/do-agent --version
:Ubuntu, Debian
apt-cache policy do-agent
:Conclusion
Please either fix the documentation with the correct link or fix the https://repos.insights.digitalocean.com/install.sh script?