Repository is archived
No commit activity in last 3 years
No release in over 3 years
Originally built in 2015, this plugin intendes to help DevOps teams incorportate the UpTime Robot monitoring solution into their ChatOps. Civic Hacker has not affilitation with the company the runs UpTimeRobot. We just throught it would be useful to the community.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 12.3, >= 12.3.3
~> 3.0, >= 3.0.0

Runtime

~> 4.2
 Project Readme

lita-uptimerobot Gem Version

lita-uptimerobot is a handler for Lita that gives your bot commands for retrieving monitor statuses and uptime ratios from uptimerobot.com

Installation

Add lita-uptimerobot to your Lita instance's Gemfile:

gem "lita-uptimerobot"

Configuration

Required attributes

  • api_key (String) – Your master API key from your uptimerobot.com dashboard.

Example

Lita.configure do |config|
    config.handlers.uptimerobot.api_key= ENV["UPTIME_API_KEY"]
end

Usage

Commands are called in the with the uptime prefix what can be optionally with the upt abbreviation. There's no need to prefix the command with your bot name.

uptime mysite (displays uptime and status for a monitor that matches)
upt all (displays uptime and statuses for all configured monitors)
upt example.com 15d (displays status and uptime for example.com where uptime is averaged over 15 days)

License

MIT