curl: (6) Could not resolve host: bash. - Upgrade from the Legacy Metrics Agent to the Current Agent
Following this guide https://www.digitalocean.com/docs/monitoring/how-to/upgrade-legacy-agent/.
Successfully uninstalled the legacy metrics agent.
When I reach step 2.
curl -sSL https://insights.nyc3.cdn.digitaloceanspaces.com/install.sh | sudo bash
I receive an error:
curl: (6) Could not resolve host: bash.
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.