doraemon

module
v0.0.0-...-e492d5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2021 License: GPL-3.0

README

English | 中文

Doraemon

License

Doraemon is a Prometheus based monitor system ,which are made up of three components——the Rule Engine,the Alert Gateway and the Web-UI.Instead of configuring alarm rules in config file,this system can configure alarm rules dynamically through the Web-UI and integrates many customized alarm functions.

Features

  • Users can configure alarm rules dynamically through the Web-UI.
  • Support flexible alarm strategies such as alarm delays through which can realize the alarm upgrade strategies,alarm groups and duty groups.Users can handle the alarms in their own way by sending the alarms to hooks.
  • Users can confirm the alarms by prometheus tags.
  • Support the maintain groups.
  • In order to reduce the number of alarms,all of which are aggregated by rules.The alarms are aggregated once per cycle and the alarm recovery information are aggregated every minute.
  • LDAP/OAuth 2.0/DB Multiple login mode support for Enterprise Edition.

Architecture

The whole system adopts the separation of front and back ends, in which the front end uses React for data interaction and display.The backend uses the Beego framework for data interface processing and data for MySQL storage.

Architecture

Component

  • Rule Engine:Pull rules from Alert Gateway,and then send the rules to prometheus server to caculate and push the alerts to Alert Gateway.
  • Alert Gateway:Aggregate the alarms and send them to alarm receivers according to their alarm strategies.
  • Web UI:For adding rules,alarm strategies and maintain groups.To confirm alarms and view historical alarm records.

Dependence

Quickly Start

  • Clone

    $ git clone https://github.com/Qihoo360/doraemon.git
    
  • Modify the Configuration File 1.Replace the "localhost" in deployments/docker-compose/conf/config.js with the local physical network card IP. 2.Replace the "localhost" of WebUrl in deployments/docker-compose/conf/app.conf with the local physical network card IP.

  • Start Doraemon

    Start server by docker-compose at Doraemon project.

    $ cd deployments/docker-compose/
    $ docker-compose up -d
    

    With the above command, you can access the Doraemon from http://hostip:32000. The default username is "admin",and the password is "123456".

Instructions

Wiki

Contributor

Directories

Path Synopsis
cmd
alert-gateway/routers
@APIVersion 1.0.0 @Title beego Test API @Description beego has a very cool tools to autogenerate documents for your API @Contact astaxie@gmail.com @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
@APIVersion 1.0.0 @Title beego Test API @Description beego has a very cool tools to autogenerate documents for your API @Contact astaxie@gmail.com @TermsOfServiceUrl http://beego.me/ @License Apache 2.0 @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL