Skip to content

Usage: UptimeMonitorBot

Camilo Sperberg edited this page Dec 14, 2016 · 6 revisions

The UptimeMonitorBot is still in active development, but will inform you ASAP if one of your servers isn't reachable. It uses the uptimerobot.com API for that.

General usage

Interpretation of output

This bot will mainly send you 2 type of messages, one for when one of the monitored sites goes down, which will use a red circle (🔴), and the other one that will notify you when one of the monitored sites goes back up, this will cite (if available) the original down message and will begin with a blue circle (🔵).

The important bits of information are always displayed in a bold font. A typical up and down message will look like the following:

Preview of notifications

The only caveat is that a reason may not always be available, depending on what's wrong on your network. The output may differ slightly from the above screenshot, but the text and intent itself should remain pretty self-explanatory.

Available commands

The following list of commands are enabled for this bot:

  • /start: Gives you a warm welcome and will display the notification URL.
  • /setup: A step-by-step introduction on how to register at uptimerobot.com, create a monitor and a alert contact, used by this bot.
  • /get_notify_url: Displays the notification URL to be used in uptimerobot.com.
  • /regenerate_notify_url: Will regenerate the notification URL. Use this option with care, as this will invalidate the previous set URL! This will ask for confirmation before performing the operation.
  • /help: Displays the help, such as bot commands and general usage instructions.

Future plans

  • Full integration with UptimeRobot.com's API. Right now, it is just a listener to events.
  • More integration to other platforms that offer the same kind of service.

Is your bot also monitored for downtime?

Yes it is. I have however enabled the mails so that I get an actual notification from uptimerobot.com itself instead of relying on a perhaps down bot. This way I always and quickly know when something is going wrong.

Clone this wiki locally