node package manager

hook.io-sitemonitor

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