Skip to content

Fclem/infra_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infra_monitor

a generic services monitoring system that can update a remote status page service like StatusPage.io or StatusCake.com Supports 'update' scheme (on local check status change), or 'PUSH' scheme (send a GET request at regular interval if local check status is ON, i.e. heartbeat) This is a generic module, meant to be implemented for other status page services.

How to start :

my_implementation_folder="my_implentation"
mkdir $my_implementation_folder && cd $my_implementation_folder
git clone https://github.com/Fclem/infra_monitor.git

Then add from infra_monitor import * at the top of your code. Existing implementations :

Checks are loaded from config.ini, which contains all parameters, like urls, keys, refresh_interval, etc

Currently supported checks types :

  • url : if HTTP GET to url returns HTTP 200
  • tcp : if connection to TCP host port is successful
  • ping : if remote host replies to ICMP ping (through system's ping command)

To be supported checks types :

  • docker : if a named docker container is running

About

a generic services monitoring system that updates statuspage.io components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages