# Good ways to check bots are alive and well?

**URL:** <https://forums.rocket.chat/t/good-ways-to-check-bots-are-alive-and-well/259>\
**Category:** BOTs Special Interest Panel\
**Created:** [February 26, 2018, 6:42am UTC](https://forums.rocket.chat/t/good-ways-to-check-bots-are-alive-and-well/259 "2018-02-26T06:42:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![foxy1](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/foxy1/32/78_2.png) [@foxy1](https://forums.rocket.chat/u/foxy1)\
**Post date:** [February 26, 2018, 6:42am UTC](https://forums.rocket.chat/t/good-ways-to-check-bots-are-alive-and-well/259/1 "2018-02-26T06:42:22Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [February 27, 2018, 1:00am UTC](https://forums.rocket.chat/t/good-ways-to-check-bots-are-alive-and-well/259/2 "2018-02-27T01:00:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![localguru](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/localguru/32/12_2.png) [@localguru](https://forums.rocket.chat/u/localguru)\
**Post date:** [September 30, 2018, 7:36pm UTC](https://forums.rocket.chat/t/good-ways-to-check-bots-are-alive-and-well/259/3 "2018-09-30T19:36:53Z")

</div>

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

> **[localguru/check\_rocketchat\_user\_status](https://github.com/localguru/check_rocketchat_user_status)**
>
> A Nagios/Icinga2 plugin to check the online status of a Rocket.Chat user - localguru/check\_rocketchat\_user\_status
