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

Jan Behrens f4b9da270b move patchpanel data to subdirectory před 4 roky
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
config 7a6f7dc34a parallelize polling před 4 roky
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
patchpanel f4b9da270b move patchpanel data to subdirectory před 4 roky
pics e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
.htaccess a8c14716cc Update .htaccess před 4 roky
Dockerfile 88905d496f cleanup před 4 roky
Example.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
README.md 7a6f7dc34a parallelize polling před 4 roky
SDS_status_channels.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
SDS_status_functions.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
SDS_status_main.php 880cb389b1 update links před 4 roky
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
aircoils_settings.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
bla.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base před 4 roky
getADEIData.php 880cb389b1 update links před 4 roky
getDAQData.php 880cb389b1 update links před 4 roky
getDAQDataOld.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_GD.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_GD_old.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_cw.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_cw_old.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
index_old.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
poll_HV_data.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
poll_HV_data_old.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
poll_adei_data.php 880cb389b1 update links před 4 roky
poll_data.sh 163e0e18fa remove cron, run pure background job před 4 roky
test single read.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
testit.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky
testit_read.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling před 4 roky

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