0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-27 10:29:03 +00:00
No description
Find a file
2014-05-09 23:34:53 +01:00
alerta rename alerta daemon to alerta-app because client is now called alerta 2014-05-09 23:34:53 +01:00
bin rename alerta daemon to alerta-app because client is now called alerta 2014-05-09 23:34:53 +01:00
contrib remove experimental code because it is out of date and confusing 2014-04-10 13:04:05 +01:00
doc update alerta dashboard screenshot 2013-09-30 16:52:43 +01:00
etc use same number of processes as threads 2014-05-02 12:16:37 +01:00
tests update alert test 2014-03-22 16:00:34 +00:00
tools replace alert-aws with alert-cloudwatch 2014-01-16 01:29:41 +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 support python2.6 2013-06-26 23:29:27 +01:00
LICENSE administrivia 2012-04-03 23:29:47 +01:00
Makefile Lots of refactoring 2013-02-17 10:55:54 +00:00
MANIFEST.in some updates for rpmbuild 2014-03-27 20:29:36 +00:00
NOTICE minor typo fixes 2012-04-03 23:49:06 +01:00
pylintrc Make some pylint recommended changes 2012-04-11 12:33:10 +01:00
pypi.md fix pypi command 2014-02-04 20:26:38 +00:00
README.md remove references to config api_host, api_port, api_root 2014-04-10 13:02:59 +01:00
README.rst cosmetic change to README 2013-10-13 13:07:25 +01:00
requirements.txt import correct library 2014-04-03 17:25:14 +01:00
setup.py rename alerta daemon to alerta-app because client is now called alerta 2014-05-09 23:34:53 +01:00
tc-build.sh fix build.py settings during teamcity build 2014-04-07 14:22:31 +01:00
VERSION bump version to 3.0.9 2014-05-02 12:30:27 +01:00

Alerta Release 3.0

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][1].

Requirements

The only requirement is MongoDB. Everything else is optional.

  • [MongoDB][4]

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. YMMV.

  • [RabbitMQ][2]
  • [Redis][3]
  • [MongoDB][4]

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:

$ sudo apt-get install rabbitmq-server

To use MongoDB as the message transport instead of RabbitMQ, add the following to /etc/alerta/alerta.conf:

amqp_url = mongodb://localhost:27017/kombu

And to use Redis as the message transport:

amqp_url = redis://localhost:6379/

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

To use the alert console modify $HOME/.alerta.conf so that the API uses a free port and static content can be found:

[DEFAULT]
endpoint = http://localhost:8080

[alerta-dashboard]
dashboard_dir = /path/to/alerta/dashboard/v2/assets/

For example, if the repo was cloned to /home/foobar/git/alerta then the dashboard_dir directory path will be /home/foobar/git/alerta/dashboard/v2/assets/.

To start alerta simply run:

$ alerta

To run in DEBUG mode and send log output to stderr:

$ alerta --debug --use-stderr
$ alerta-dashboard --debug --use-stderr          <--- listens on port 5000 in dev, 80 in prod

And then the alert console can be found at:

http://localhost:5000/dashboard/index.html
```

To see some test alerts in the console run:

```
$ contrib/examples/create-new-alert.sh
```

More Information
----------------

See the alerta [docs][7]. Feedback welcome.

Contribute
----------

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

http://github.com/guardian/alerta

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.

[1]: <https://github.com/alerta/> "Alerta GitHub Repo"
[2]: <http://www.rabbitmq.com> "RabbitMQ"
[3]: <http://redis.io/> "Redis"
[4]: <https://www.mongodb.org/> "MongoDB"
[5]: <http://www.elasticsearch.org/> "elasticsearch"
[6]: <http://www.elasticsearch.org/overview/kibana/> "Kibana"
[7]: <http://docs.alerta.io/> "Alerta Documentation"