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

Thomas Thümmler 723679d744 add mac-e filter config arrays %!s(int64=3) %!d(string=hai) anos
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
config 994e1e5734 update permissions %!s(int64=4) %!d(string=hai) anos
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
oldfiles a193e0b3fe cleanup some files %!s(int64=4) %!d(string=hai) anos
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen %!s(int64=4) %!d(string=hai) anos
pics 0bb8ed71dc updated electrode background picture %!s(int64=4) %!d(string=hai) anos
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
.htaccess a8c14716cc Update .htaccess %!s(int64=4) %!d(string=hai) anos
Dockerfile a6912477e2 update Dockerfile %!s(int64=4) %!d(string=hai) anos
README.md 7a6f7dc34a parallelize polling %!s(int64=4) %!d(string=hai) anos
SDS_status_channels.php 4e50aa6f70 updated HV monitoring channels %!s(int64=4) %!d(string=hai) anos
SDS_status_functions.php 7ed0551595 added functions %!s(int64=4) %!d(string=hai) anos
SDS_status_main.php be9d278be1 changed divider channel description %!s(int64=3) %!d(string=hai) anos
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
aircoils_settings.php 116c091e7b updated air-coil settings %!s(int64=3) %!d(string=hai) anos
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base %!s(int64=4) %!d(string=hai) anos
getADEIData.php edb6e647d1 update PS1/PS2 mappings %!s(int64=4) %!d(string=hai) anos
getDAQData.php 880cb389b1 update links %!s(int64=4) %!d(string=hai) anos
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
index.php 40892eebaa changed section to system %!s(int64=4) %!d(string=hai) anos
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
mace_settings.php 723679d744 add mac-e filter config arrays %!s(int64=3) %!d(string=hai) anos
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling %!s(int64=4) %!d(string=hai) anos
poll_HV_data.php 10663fc955 updated 2020 password %!s(int64=4) %!d(string=hai) anos
poll_adei_data.php 4336c59a48 update for 2020 password %!s(int64=4) %!d(string=hai) anos
poll_data.sh 163e0e18fa remove cron, run pure background job %!s(int64=4) %!d(string=hai) anos

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