Go to file
Nico Schottelius e5acec4ba2 ++stuff 2019-05-25 22:18:18 +02:00
.gitignore Add first flask test 2019-04-14 18:57:39 +02:00
Pipfile ++stuff 2019-05-25 22:18:18 +02:00
Pipfile.lock ++stuff 2019-05-25 22:18:18 +02:00
README.md rewrite in game-server-new.py 2019-05-12 00:18:03 +02:00
check-cli.py Fix DF check 2019-04-14 20:30:04 +02:00
check.py Fix DF check 2019-04-14 20:30:04 +02:00
game-server-new.py ++stuff 2019-05-25 22:18:18 +02:00
server.py rewrite in game-server-new.py 2019-05-12 00:18:03 +02:00
test-etcd.py add etcd tests 2019-05-25 22:18:09 +02:00

README.md

Notes to myself

  • Notes in ungleich-marketing.org / Quiz

Objective

This codebase is for preparing the ungleich game, which heavily relies on checking other people's VMs.

The (not so) hidden objective is to create the base for "cmon", our new monitoring system that does not suck.

Planned features (monitoring)

  • full parallel execution
  • history support -> possible grafana interface
  • easy to create and extend checks
  • Requirements: python3 + binaries for certain checks
  • Minimal core logic - checks can check "anything"

Planned features (game)

  • Allow registration
  • Allow deep (i.e. functionality based) checks of services
  • Define points (or monitoring severity)

How to play

Monitoring

Test base:

python check-cli.py

Game (not implemented)

ungleich register --name your-user-name --email your@email --first-name Yourfirstname --last-name YourLastName

ungleich play-game --game register --ip ungleich play-game --game dns-forward --ip

Documentation

  • Raise CheckException on parameter wrong

How to write a check

  • Your command must return with exit code = 0
  • Output will be saved by cmon, but not interpreted

TODOs

  • last result: select checkname where result = true
  • last success: select checkname where result = true