Hey Rexcily,
You could potentially handle the timeout and then reconnect. However in the case of monitoring, it would be more helpful to have this handled programmatically rather than with the atlas cli.
What are you trying to monitor? CPU, Memory, Oplog, etc?
-Ryan
2 Likes