A simplified reimplementation of alerta in golang.
Rethinkdb is used instead of Mongodb for operational simplicity and real-time data 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 run -p 5608:5608 -e RETHINKDB_ADDRESS=your-rethinkdb-host:28015 allen13/golerta:latest
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/...