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

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

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