Skip to content

Doraemon is a Prometheus based monitor system

License

Notifications You must be signed in to change notification settings

ICEMintChocolate/doraemon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Doraemon is a Prometheus based monitor system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 48.7%
  • Go 38.8%
  • CSS 7.8%
  • TSQL 2.4%
  • Python 1.1%
  • Dockerfile 0.7%
  • Other 0.5%