I had to write a basic health check for one of the mongo DB and while sifting through their official docs and other resources (like this and this) I learn that ping
ping