Skip to content
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-netping

Build Status MIT License RubyGems :: RMuh Gem Version Coveralls Coverage Code Climate Gemnasium

An IP ping plugin for Lita.

Installation

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

gem "lita-netping"

Configuration

none

Usage

Examples:

ping google.com - Ping google.com via normal ICMP
ping icmp google.com - Ping google.com via normal ICMP (same as above)
ping http://www.google.com - Ping google.com via HTTP
ping tcp://ldap.server:389 - Ping a TCP service running on ldap.server on port 389
ping tcp app.server:8080 - Ping a TCP service running on app.server on port 8080

Supported protocols are:

  • http - Ping a web service. It is usually simplest to just specify the URI like you would in a web browser.
  • icmp - The default if none is specified. This is your standard ping.
  • tcp - Verify that a TCP service is listening and responding. Note that this doesn't guarantee that the service is not misbehaving, just that it responds on the proper port.

Syntax:

ping [protocol] <target> - Ping <target> (either DNS name, IP address, or URI)

Note

This plugin uses the net-ping library, and the ICMP ping uses the "Net::Ping::External" check, so it will use the "ping" equivalent on whatever host it's running on.

License

MIT

About

An IP ping handler for Lita

Topics

Resources

License

Packages

No packages published

Languages