Ping VM and save statistics to Mongodb.