SDS status monitor https://status-sds.kaas.kit.edu/

Thomas Thümmler 7d46b24715 K65 now hidden пре 1 година
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
config 994e1e5734 update permissions пре 4 година
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
oldfiles 04b23fa096 some code cleanup пре 2 година
patchpanel 4c92efabf6 minor change пре 1 година
pics 1b03cd92b0 updated HV switch pic пре 1 година
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
.htaccess 9c165f162d Remove `htpasswd` (mount from OpenShift) пре 2 година
CorporateESC-Bold.woff 79d373b0ed Font пре 2 година
CorporateESC-Bold.woff2 b5b53e80c8 KATRIN logo font пре 2 година
Dockerfile a6912477e2 update Dockerfile пре 4 година
README.md 7a6f7dc34a parallelize polling пре 4 година
SDS_status_channels.php 78fa5d18da changes K35 temperature channel from 134 to 135, temporarily пре 1 година
SDS_status_functions.php 04b23fa096 some code cleanup пре 2 година
SDS_status_main.php 7d46b24715 K65 now hidden пре 1 година
aircoils_settings.php 04b23fa096 some code cleanup пре 2 година
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base пре 4 година
index.php ba1bed8852 trigger restart, noch change пре 1 година
index_beta.php 04b23fa096 some code cleanup пре 2 година
list.php 04b23fa096 some code cleanup пре 2 година
mace_settings.php 04b23fa096 some code cleanup пре 2 година
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
poll_HV_data.php bd27ed5057 fixes + tuning, add author field пре 1 година
poll_adei_data.php cdb76d389e remove sleeps пре 1 година
poll_data.sh aa95777525 Add feature to pull patchpanel relations from KaLi database пре 2 година
poll_database.php cdb76d389e remove sleeps пре 1 година
stylesheet.css ab04861c05 Style sheet for updated page layout пре 2 година
update_database.php bd27ed5057 fixes + tuning, add author field пре 1 година

README.md

SDS status monitor

  • Runs on Apache + PHP
  • Website served by Apache process
  • Data is polled in background at regular intervals
  • Needs write access to www directory for caching

Docker

Setup builds on Ubuntu 18.04 (bionic) and starts server + polling process.

Build & run locally:

docker build -t sds-status-monitor .
docker run -p 8001:80 --name sds-status sds-status-monitor
docker rm -f sds-status    # terminates container

Runtime arguments:

  • POLL_INTERVAL - polling interval for background process (default: 60 seconds)
  • POLL_SCRIPTS - list of PHP scripts to run in parallel for polling (default: 'poll_adei_data.php poll_HV_data.php')