In asp core its pretty easy to add health check to your app to check if other services are running and or check if disk space have reached a defined limite... this article descr