Add monitoring function in provisioning of machine