Question

Trying to install DigitalOcean Agent on droplet that has inbound rules

I’d really like to install and get DigitalOcean’s Agent feature working on one of my droplets that has inbound rules. Is there some static IP that I can post in as the source?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Accepted Answer

The DigitalOcean monitoring agent should not need inbound firewall rules to function. Though it does require outbound TCP access on ports 80 and 443 to authenticate to the Monitoring service and to send metrics.

The agent need to be able to access the DigitalOcean metadata API at: http://169.254.169.254/metadata/v1/ as well as the metrics service itself at https://sonar.digitalocean.com. Additionally, in order to allow the agent to update itself https://repos.sonar.digitalocean.com

You can find their current IP addresses using: dig +short sonar.digitalocean.com and dig +short repos.sonar.digitalocean.com on the command line. Currently those are 162.243.188.200 and 151.101.21.7 respectively.