integrate disk_polling main code with monitor