0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-29 03:11:34 +00:00
No description
Find a file
2014-12-16 12:02:02 +00:00
alerta move webhooks to separate view 2014-12-16 12:01:37 +00:00
contrib move irssi config to contrib repo 2014-12-15 16:39:58 +00:00
docs update docs 2014-12-15 11:31:53 +00:00
scripts move webhooks to separate view 2014-12-16 12:01:37 +00:00
tests fix tests 2014-12-15 21:11:00 +00:00
.gitignore rename alerta daemon to alerta-app because client is now called alerta 2014-05-09 23:34:53 +01:00
.travis.yml fix tests 2014-12-15 21:11:00 +00:00
alerta-server.spec alerta cmd line 2014-09-24 17:14:04 +01:00
app.json use free tier mongolab 2014-09-23 22:37:36 +01:00
LICENSE administrivia 2012-04-03 23:29:47 +01:00
Makefile fix tests 2014-12-15 21:11:00 +00:00
MANIFEST.in add VERSION file to manifest 2014-08-14 16:54:36 +01:00
NOTICE minor typo fixes 2012-04-03 23:49:06 +01:00
Procfile load by module 2014-09-23 23:25:35 +01:00
pylintrc Make some pylint recommended changes 2012-04-11 12:33:10 +01:00
README.md fix readme reference 2014-12-15 17:06:45 +00:00
README.rst cosmetic change to README 2013-10-13 13:07:25 +01:00
requirements.txt add alerta client package to requirements 2014-09-23 23:29:57 +01:00
setup.py fix and enhance the example plug-ins 2014-10-13 11:13:55 +01:00
tc-build.sh read version from file 2014-09-24 15:41:41 +01:00
VERSION bump version to 3.3.0 2014-12-16 12:02:02 +00:00

Alerta Release 3.2

Build Status

The alerta monitoring tool was developed with the following aims in mind:

  • distributed and de-coupled so that it is SCALABLE
  • minimal CONFIGURATION that easily accepts alerts from any source
  • quick at-a-glance VISUALISATION with drill-down to detail

console

More screenshots are available here

Related projects can be found here.

Requirements

The only requirement is MongoDB. Everything else is optional.

  • MongoDB

Optional

A messaging transport that supports AMQP is required for notification to alert subscribers. It is recommended to use RabbitMQ, but Redis and even MongoDB have been tested and shown to work.

  • RabbitMQ
  • Redis
  • MongoDB

Note: The default setting uses MongoDB so that no additional configuration is required.

Installation

To install and configure on Debian/Ubuntu:

$ sudo apt-get update
$ sudo apt-get install mongodb-server

To use RabbitMQ as the message transport instead of the default MongoDB install the additional packages:

$ sudo apt-get install rabbitmq-server

To install from git:

$ git clone https://github.com/guardian/alerta.git alerta
$ cd alerta
$ sudo pip install -r requirements.txt
$ sudo python setup.py install

Configuration

The configuration file format has changed in Release 3.2 to a python settings.py file. To override default settings in this file create /etc/alertad.conf or set ALERTA_SVR_CONF_FILE environment variable to ~/.alertad.conf or ~/.config/alertad or something similar. Make sure to to export the environment variable before running the server, like so:

export ALERTA_SVR_CONF_FILE=~/.alertad.conf

The default configuration should work. If you are using RabbitMQ change the AMQP_URL setting to:

AMQP_URL = 'amqp://guest:guest@localhost:5672//'

Running

To start the alerta server simply run:

$ alertad

To send some test alerts run:

$ contrib/examples/create-alerts.sh

To view alerts in a terminal run:

$ alerta query

To view alerts in a web console install the Alerta Web UI

Deploy to the Cloud

Deploy

More Information

See the alerta docs. Documentation is a work in progress. Feedback welcome.

Contribute

If you'd like to contribute to Alerta, start by forking this repo on GitHub.

http://github.com/guardian/alerta

Create a branch for your work and then send us a pull request.

License

Alerta monitoring system and console
Copyright 2012 Guardian News & Media

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.