No description
Find a file
2019-05-26 18:26:14 +02:00
.gitignore Add first flask test 2019-04-14 18:57:39 +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-etcd.py Move high score into the class, begin sanitise etcd 2019-05-26 18:26:14 +02:00
game-sql.py Add ungleichapi 2019-05-25 22:45:44 +02:00
game.org Move high score into the class, begin sanitise etcd 2019-05-26 18:26:14 +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
server.py rewrite in game-server-new.py 2019-05-12 00:18:03 +02:00
test-etcd.py add first levels, begin class based view 2019-05-26 00:21:37 +02:00
ungleich.py Add ungleichapi 2019-05-25 22:45:44 +02:00
ungleichapi.py add first levels, begin class based view 2019-05-26 00:21:37 +02:00

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