ZMON Controller
ZMON Controller is the frontend UI and REST API for Zalando's open-source platform monitoring tool.
Running Locally
Please use the main ZMON repository to start a Vagrant demo box.
Make sure the provided Vagrant-Box is up and all services are running.
$ ./run-dev.sh
Now point your browser to https://localhost:8444/
To test service worker code locally in Chrome:
/opt/google/chrome/chrome --unsafety-treat-insecure-origin-as-secure --ignore-certificate-errors
Running Unit and Database Tests
This will require Docker and automatically starts a local PostgreSQL database:
$ ./test.sh
Running E2E Tests
This will require npm
$ ./e2e-test.sh
Building the Docker Image
$ sudo pip3 install scm-source
$ scm-source -f target/scm-source.json
$ docker build -t zmon-controller .
See also the ZMON Documentation.
Database API schema
find . -name '*sql' | sort -V | xargs cat > schema_os.sql
Iconsets
https://www.iconfinder.com/iconsets/CrystalClear by Everaldo Coelho