How do I stop do-agent from automatically reinstalling?

I previously enabled digitalocean’s ‘monitoring’ feature on two of my droplets.

Subsequently. I disabled the monitoring through the control panel, and uninstalled the package using ‘yum remove do-agent’ and ‘rm -f /etc/yum.repos.d/digitalocean-agent.repo’. However, when I reboot the droplet, I see that the yum repository is automatically re-enabled, which I don’t expect.

How can I stop the digitalocean-agent repo from being automatically reinstalled on reboots?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


You may want to submit a support ticket through the control panel and request that the support team take a look at this for you. There have been some changes to how monitoring works, so it’s possible that there’s a glitch or something else causing to reinstall or removal failure. They should be able to help you further though.