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

Thomas Thümmler 1ef8a1af37 add pics for K35 and K65 vor 3 Jahren
Crypt e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
File e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
Math e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
Net e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
System e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
config 994e1e5734 update permissions vor 4 Jahren
logs e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
oldfiles a193e0b3fe cleanup some files vor 4 Jahren
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen vor 4 Jahren
pics 1ef8a1af37 add pics for K35 and K65 vor 3 Jahren
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
.htaccess e4310068ea add password vor 3 Jahren
.htpasswd e4310068ea add password vor 3 Jahren
Dockerfile a6912477e2 update Dockerfile vor 4 Jahren
README.md 7a6f7dc34a parallelize polling vor 4 Jahren
SDS_status_channels.php 575d21bfb7 added new channels for OPUS weather stations and K35 and K65 temperatures vor 3 Jahren
SDS_status_functions.php adad440691 added function placePicXY vor 3 Jahren
SDS_status_main.php 771b8237a1 #4 restart without changes vor 3 Jahren
aircoils_convert_csv_to_array.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
aircoils_settings.php 8d283ee2ce updates aircoil and mac-e settings vor 3 Jahren
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base vor 4 Jahren
getADEIData.php edb6e647d1 update PS1/PS2 mappings vor 4 Jahren
getDAQData.php 880cb389b1 update links vor 4 Jahren
getFluxTube.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
index.php c4241590d1 updated title vor 3 Jahren
index_beta.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
list.php e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
mace_settings.php 8d283ee2ce updates aircoil and mac-e settings vor 3 Jahren
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling vor 4 Jahren
poll_HV_data.php 64ed559ced remove auth details, now provided by env vor 3 Jahren
poll_adei_data.php 64ed559ced remove auth details, now provided by env vor 3 Jahren
poll_data.sh 163e0e18fa remove cron, run pure background job vor 4 Jahren

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