/var/opt/morpheus/package-repos

Our monitoring software is flagging disk usage, and it appears that the directory /var/opt/morpheus/package-repos is the culprit, reporting in with 39G of usage. Can I remove this directory?

This is where all the agent installers live. Im not sure how many versions you have been upgrading with but its possible you have a bunch of older agent versions no longer needed within there. That folder is otherwise quite important.

I put together a python script to clean it up. It’s located here: morpheus-automation-examples/Python/CleanAgentRepos at main · gomorpheus/morpheus-automation-examples · GitHub

1 Like

I reviewed the Python this afternoon, and ran the script. Reclaimed a lot of space. Thanks!

1 Like