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

Thomas Thuemmler 5569ce9f1f modified to skip macos system files 2 weeks ago
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
config 994e1e5734 update permissions 4 years ago
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
oldfiles 04b23fa096 some code cleanup 2 years ago
patchpanel 4c92efabf6 minor change 1 year ago
pics 7cad3230cc updated ground switch 1 month ago
.gitignore 5569ce9f1f modified to skip macos system files 2 weeks ago
.htaccess 9c165f162d Remove `htpasswd` (mount from OpenShift) 2 years ago
CorporateESC-Bold.woff 79d373b0ed Font 2 years ago
CorporateESC-Bold.woff2 b5b53e80c8 KATRIN logo font 2 years ago
Dockerfile a6912477e2 update Dockerfile 4 years ago
README.md 7a6f7dc34a parallelize polling 4 years ago
SDS_status_channels.php 7122d40b29 fixed severe bug in channel list 2 months ago
SDS_status_functions.php 04b23fa096 some code cleanup 2 years ago
SDS_status_main.php 8a3c2a53e8 updated PS HV display 2 weeks ago
aircoils_settings.php 04b23fa096 some code cleanup 2 years ago
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base 4 years ago
index.php c01beed9ae removed iframe with raspberry shake, due to high cpu load 3 months ago
index_beta.php 04b23fa096 some code cleanup 2 years ago
list.php 04b23fa096 some code cleanup 2 years ago
mace_settings.php 04b23fa096 some code cleanup 2 years ago
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 years ago
poll_HV_data.php 540876b13a fixed a bug not polling the identical time intervals for both DVMs, now identical 5 months ago
poll_adei_data.php cdb76d389e remove sleeps 1 year ago
poll_data.sh aa95777525 Add feature to pull patchpanel relations from KaLi database 2 years ago
poll_database.php cdb76d389e remove sleeps 1 year ago
stylesheet.css ab04861c05 Style sheet for updated page layout 2 years ago
update_database.php bd27ed5057 fixes + tuning, add author field 1 year ago

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')