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

Thomas Thümmler 3b07ae0b4e included new aircoil configs преди 4 години
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 3287336536 new spectrometer picture преди 4 години
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling преди 4 години
.htaccess a8c14716cc Update .htaccess преди 4 години
Dockerfile a6912477e2 update Dockerfile преди 4 години
README.md 7a6f7dc34a parallelize polling преди 4 години
SDS_status_channels.php 1be5e7e75a fixed fpd gate valve status преди 4 години
SDS_status_functions.php 7ed0551595 added functions преди 4 години
SDS_status_main.php e784db4f59 adjusted IE labels преди 4 години
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling преди 4 години
aircoils_settings.php 3b07ae0b4e included new aircoil configs преди 4 години
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 268117ee61 adjusted background image преди 4 години
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 години
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling преди 4 години
poll_HV_data.php de5e78548c fix stuff преди 4 години
poll_adei_data.php 880cb389b1 update links преди 4 години
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')