written in Java, to monitor data in MongoDB