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

Jan Behrens 04b23fa096 some code cleanup 2 年 前
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 04b23fa096 some code cleanup 2 年 前
patchpanel 0e8d025814 'patchpanel/ringstoadei.txt' löschen 4 年 前
pics 4a4aa09095 'pics/SDS_status_main.php' löschen 2 年 前
.gitignore e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 年 前
.htaccess e4310068ea add password 3 年 前
.htpasswd fc0e9ed8b8 update 2021 password 3 年 前
Dockerfile a6912477e2 update Dockerfile 4 年 前
README.md 7a6f7dc34a parallelize polling 4 年 前
SDS_status_channels.php 04b23fa096 some code cleanup 2 年 前
SDS_status_functions.php 04b23fa096 some code cleanup 2 年 前
SDS_status_main.php 04b23fa096 some code cleanup 2 年 前
aircoils_settings.php 04b23fa096 some code cleanup 2 年 前
docker-compose.yml fde13e12a9 try BORA style with Docker + php/apache base 4 年 前
index.php 04b23fa096 some code cleanup 2 年 前
index_beta.php 04b23fa096 some code cleanup 2 年 前
list.php 04b23fa096 some code cleanup 2 年 前
mace_settings.php 04b23fa096 some code cleanup 2 年 前
openssl.cnf e2e1770925 update Dockerfile, switch to ubuntu base, use cron for polling 4 年 前
poll_HV_data.php 04b23fa096 some code cleanup 2 年 前
poll_adei_data.php 04b23fa096 some code cleanup 2 年 前
poll_data.sh aa95777525 Add feature to pull patchpanel relations from KaLi database 2 年 前
poll_database.php aa95777525 Add feature to pull patchpanel relations from KaLi database 2 年 前

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