Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lita-uptimerobot

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lita-uptimerobot

  • 0.1.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 24 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc