Good ways to check bots are alive and well?

What is a good way to automatically check that a bot is alive and responding in Rocket.chat?

Our deployments rely heavily on bot functionality and we want to get an alert if a bot craps itself…

Some of our guys are working on this now as we rely a bit more on bots. The idea is to use hubots build in router to set up and endpoint. We’d just hit that endpoint then with a liveness check.

The biggest thing from what I’ve seen is when the adapter gets disconnected and times out trying to reconnect

I use a simple Nagios/icinga2 script to check if my bots are “online”: