Skip to content

This is a simple node script that queries a hbase REST server and either sends out an email alerting the recipient of it's response (using nodemailer) and reboots if no nodes are active or if it's unable to resolve google.com

Notifications You must be signed in to change notification settings

gearsix/hbase-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edgenode-monitor

Contents

  1. Overview
  2. Install
  3. Notes (important)
  4. Authors
  5. Changelog

Overview

This is a simple node script that queries a hbase REST server and either sends out an email alerting the recipient of it's response (using nodemailer) or reboots if no nodes are active or if it's unable to resolve google.com

Install

  1. Install Node.JS
  2. Install Node dependencies
	npm install
  1. Change the settings.json to fit your requirements
    • The settings in this file are blank by default
  2. Run it as a service on your cluster

Read Notes

Notes

This was designed for a specific usecase and hasn't been tested on any other systems. Consequently, it might not work on other systems. I don't see why not though, provided the settings.json is set right. Honestly, I'm mostly hosting this here for archiving. Someone might find it useful though.

Author

Changelog

See git log (I tried to keep it tidy)

About

This is a simple node script that queries a hbase REST server and either sends out an email alerting the recipient of it's response (using nodemailer) and reboots if no nodes are active or if it's unable to resolve google.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published