Skip to content

smetroid/golerta

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golerta

A simplified reimplementation of alerta in golang.

Rethinkdb is used instead of Mongodb for operational simplicity and real-time data features.

features

  • All-in-one server - static content, api, and continuous queries
  • LDAP Authentication
  • OAuth Authenticaion
  • Alert routing via plugins - current plugins: file, pagerduty
  • Optional alert time outs - if an alert has a timeout field it will escalate to critical if a new alert isn't received within a given amount of time
  • Timed acknowledgements - alerts will reopen after a specified amount of time
  • Flap detection - alerts that continually change severity state will be marked as flapping
  • Select and update alerts from the list view
  • IN DEVELOPMENT: Web sockets on the client side - web browser no longer polls and new alerts are received immediately
  • IN DEVELOPMENT: Fully distributed - Currently the continuous queries can only be run on a single node without duplicating effort.

docker image

docker run -p 5608:5608 -e RETHINKDB_ADDRESS=your-rethinkdb-host:28015 allen13/golerta:latest

development environment

Run rethinkdb in a container on localhost

docker run -d --name rethinkdb -p 8080:8080 -p 28015:28015 rethinkdb

Get golerta code and run it with the example config.

go get github.com/allen13/golerta
cd $GOPATH/github.com/allen13/golerta
go run golerta.go server --config example.toml

Log in using credentials from the forumsys test ldap server

username: gauss
password: password

Run all unit tests:

go test ./app/...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 44.3%
  • HTML 29.0%
  • JavaScript 25.6%
  • CSS 1.1%