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

Thomas Thümmler bc6c064783 added 2.7G Kr setting for MAC-E filter пре 2 година
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 a193e0b3fe cleanup some files пре 4 година
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen пре 4 година
pics 90eee5bd9e added pics for post regulation пре 3 година
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
.htaccess e4310068ea add password пре 3 година
.htpasswd fc0e9ed8b8 update 2021 password пре 3 година
Dockerfile a6912477e2 update Dockerfile пре 4 година
README.md 7a6f7dc34a parallelize polling пре 4 година
SDS_status_channels.php c47a5519a7 updated channel list for aircoil voltages пре 2 година
SDS_status_functions.php 294d81b71e added placeBoxRight пре 3 година
SDS_status_main.php e90c03550b restart пре 2 година
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
aircoils_settings.php bc31c123ad updated MAX setting for air coils пре 3 година
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base пре 4 година
getADEIData.php edb6e647d1 update PS1/PS2 mappings пре 4 година
getDAQData.php 880cb389b1 update links пре 4 година
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
index.php 11022c9cda restart пре 3 година
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
mace_settings.php bc6c064783 added 2.7G Kr setting for MAC-E filter пре 2 година
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling пре 4 година
poll_HV_data.php 64ed559ced remove auth details, now provided by env пре 3 година
poll_adei_data.php 64ed559ced remove auth details, now provided by env пре 3 година
poll_data.sh 163e0e18fa remove cron, run pure background job пре 4 година

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