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

Thomas Thümmler d67608f3b4 icon for dew point il y a 2 ans
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
config 994e1e5734 update permissions il y a 4 ans
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
oldfiles a193e0b3fe cleanup some files il y a 4 ans
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen il y a 4 ans
pics d67608f3b4 icon for dew point il y a 2 ans
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
.htaccess e4310068ea add password il y a 3 ans
.htpasswd fc0e9ed8b8 update 2021 password il y a 3 ans
Dockerfile a6912477e2 update Dockerfile il y a 4 ans
README.md 7a6f7dc34a parallelize polling il y a 4 ans
SDS_status_channels.php 3dd5dc3e01 added APR status indicator il y a 2 ans
SDS_status_functions.php 294d81b71e added placeBoxRight il y a 3 ans
SDS_status_main.php 512077fcd2 force restart il y a 2 ans
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
aircoils_settings.php bc31c123ad updated MAX setting for air coils il y a 3 ans
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base il y a 4 ans
getADEIData.php edb6e647d1 update PS1/PS2 mappings il y a 4 ans
getDAQData.php 880cb389b1 update links il y a 4 ans
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
index.php 11022c9cda restart il y a 3 ans
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
mace_settings.php bc6c064783 added 2.7G Kr setting for MAC-E filter il y a 2 ans
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling il y a 4 ans
poll_HV_data.php 64ed559ced remove auth details, now provided by env il y a 3 ans
poll_adei_data.php 64ed559ced remove auth details, now provided by env il y a 3 ans
poll_data.sh 163e0e18fa remove cron, run pure background job il y a 4 ans

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