Skip to content

sebt3/watched.back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

watched.back

Status

Overview

Watched aim to become a performance analysis and a monitoring tool. The watched backend collect all the performance metrics and services status from the agents. It is scalable, secure and highly-available already.

Dependencies

This project is based on the following projects :

Other componants

  • watched.agent Collect metrics and monitor services forwarding the information over a REST api.
  • watched.front Provide the interface to the centralized data

build instruction

mkdir build
cd build
cmake ..
make
sudo make install

Complete instructions here.

Current features

  • Collect the agents data and store that in a Mysql database
  • Compute aggregated data
  • Monitor ressources values and create event in the database if it cross configured limits
  • Collect service log and create log events in the database
  • Collect services status, update the database accordingly and historize
  • Collect services metrics
  • Scalable : the work-load can be splitted in sub-groups of backend
  • Secure : support SSL agents and can conect to mysql over SSL
  • Highly Available
  • Plugin (C++ or Lua) for alerting
    • email

TODO

  • Detect missing Host and build an availability table for them
  • build aggregate on availability of : service, host, agent and backend
  • Code improvement (agentClient.cpp:38)
  • Add support for alert on Host failed (alerter.cpp:186)
  • Add support for alert on agent failed (alerter.cpp:188)
  • Add support for alert on backend failed (agentManager.cpp:89)
  • Support the since flag (servicesClient.cpp:12)
  • Update aggregate tables with missing columns (statAggregator.cpp:78), (statAggregator.cpp:85), (statAggregator.cpp:91)
  • add support for sigusr1 which reload configs et reopen log