Skip to content

civichacker/lita-uptimerobot

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Handler for lita bot for interacting with uptimerobot service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages