Skip to content

bernytt/alerta-ui

 
 

Repository files navigation

简介:

alerta-ui整合了angular-alerta-webui和alerta这2个项目,使其能够在一个独立页面访问
安装完毕后 http://x.x.x.x:8080/ui 访问UI即可

结合Zabbix使用,请参考https://github.com/alerta/zabbix-alerta

Alerta Release 3.3

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.1%
  • HTML 26.3%
  • JavaScript 13.2%
  • Shell 2.3%
  • Other 1.1%