Help cleaning up after device removal

I added a device which eventually crashed my server since there were alot of ports and other stuff. All server resources were consumed.
I managed to remove it through webgui but i discovered that my disk space became almost full because of this device. RRD folder is at whopping 31G and i would like to remove it.
How can i do this so it doesn’t break anything? Is it as simple as removing directory?

I ended up deleting that directory since i needed disk space. So far nothing to report

Make sure you have clean up options set up along with daily running.

Thanks for the tip. Options were set since earlier but in this case i needed space ASAP.