Modified setup_monitoring and added provider action.