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

Thomas Thümmler 9cc62e1ba4 added beam line_mos picture hace 3 años
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
config 994e1e5734 update permissions hace 4 años
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
oldfiles a193e0b3fe cleanup some files hace 4 años
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen hace 4 años
pics 9cc62e1ba4 added beam line_mos picture hace 3 años
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
.htaccess a8c14716cc Update .htaccess hace 4 años
Dockerfile a6912477e2 update Dockerfile hace 4 años
README.md 7a6f7dc34a parallelize polling hace 4 años
SDS_status_channels.php b5d9f24f1f added ion monitor channels hace 3 años
SDS_status_functions.php adad440691 added function placePicXY hace 3 años
SDS_status_main.php 8496c0d38b nothing hace 3 años
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
aircoils_settings.php 8d283ee2ce updates aircoil and mac-e settings hace 3 años
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base hace 4 años
getADEIData.php edb6e647d1 update PS1/PS2 mappings hace 4 años
getDAQData.php 880cb389b1 update links hace 4 años
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
index.php c4241590d1 updated title hace 3 años
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
mace_settings.php 8d283ee2ce updates aircoil and mac-e settings hace 3 años
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling hace 4 años
poll_HV_data.php 10663fc955 updated 2020 password hace 4 años
poll_adei_data.php 4336c59a48 update for 2020 password hace 4 años
poll_data.sh 163e0e18fa remove cron, run pure background job hace 4 años

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