Alerta server WSGI application
The Alerta monitoring tool was developed with the following aims in mind:
Related projects can be found on the Alerta Org Repo at <https://github.com/alerta/>.
The only mandatory dependency is MongoDB. Everything else is optional.
A messaging transport that supports AMQP is required if it is wanted to send notifications to alert subscribers. It is recommended to use RabbitMQ, but Redis and even MongoDB have been tested and shown to work.
Note: The default settings use MongoDB so that no additional configuration is required.
To install MongoDB on Debian/Ubuntu run:
$ sudo apt-get install -y mongodb-org $ mongod
To install the Alerta server and client run:
$ pip install alerta-server alerta $ alertad
To install the web console run:
$ wget -O alerta-web.tgz https://github.com/alerta/angular-alerta-webui/tarball/master $ tar zxvf alerta-web.tgz $ cd alerta-angular-alerta-webui-*/app $ python -m SimpleHTTPServer 8000 >> browse to http://localhost:8000
To configure the alertad server override the default settings in /etc/alertad.conf or using ALERTA_SVR_CONF_FILE environment variable:
$ ALERTA_SVR_CONF_FILE=~/.alertad.conf $ echo "DEBUG=True" > $ALERTA_SVR_CONF_FILE
More information on configuration and other aspects of alerta can be found at <http://docs.alerta.io>
To run the tests use:
$ ALERTA_SVR_CONF_FILE= nosetests
Alerta can be deployed to the cloud easily using Heroku <https://github.com/alerta/heroku-api-alerta>, AWS EC2 <https://github.com/alerta/alerta-cloudformation>, or RedHat OpenShift <https://github.com/alerta/openshift-api-alerta>
Alerta monitoring system and console Copyright 2012-2016 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
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.