a Hook for monitoring web-sites. super awesome for ping applications
Pull request Compare This branch is 1 commit behind andrewjstone:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
ReadMe.md
config.json
package.json

ReadMe.md

hook.io-sitemonitor

a Hook for pinging sites. useful for determining if a site is online or offline.

Installation

 npm install hook.io-sitemonitor -g

Usage

 hookio-sitemonitor

Hook Events Names

siteDown event emitted when a site goes down

siteUp event emitted when a site comes back online from being down

Hook config.json settings

{ 
  "sites": [
   {
     "name": "Google",
     "url": "http://google.com/"
   },
   {
     "name": "Github",
     "url": "http://www.github.com/"
   }
  ]
}

Required Hooks