Skip to content

icha024/web-hawk

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

web-hawk

Build Status

Status monitoring tool inspired by BitBucket's status page

ScreenShot

To Run

  1. Start a static web server, eg.

static-server

  1. Start RethinkDB, eg if using Docker:

docker run --name some-rethink -v "$PWD:/data" -ti -p 8080:8080 -p 28015:28015 rethinkdb

  1. Build and run the app, ports and CORS settings are optional.

go build && ./web-hawk -PORT=3001 -CORS=http://localhost:9080

Options

Usage of ./web-hawk:
  -CORS string
    	CORS URL to configure.
  -DB_ADDDRESS string
    	Address of RethinkDB instance (default "localhost:28015")
  -DB_NAME string
    	Name of RethinkDB database (default "hawk")
  -DB_PASSWORD string
    	Password of RethinkDB user (default "hawkpassw0rd")
  -DB_USERNAME string
    	Username of RethinkDB user (default "web-hawk")
  -POLL_TIME string
    	Time (in seconds) between service status polls. '0' will disable server from polling. (default "300")
  -PORT string
    	Port to host service on. (default "8080")
  -TWITTER string
    	Comma separated list of Twitter params (consumerKey,consumerSecret,accessToken,accessSecret,username)
  -URLS string
    	Comma seperated URLs list to monitor (default "http://localhost:7070/up, http://www.clianz.com/")
  -URL_CLEANERS string
    	Part of URL to strip for converting to friendly name. (default "http://, https://, www.")

ToDo

  • Charts for historic data
  • Twitter news integration
  • Notifications
  • Cache and compress server response
  • DB clean up for old data
  • Script to automate DB initialization

Licence

EPL

About

Aggregated Status Monitoring Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published