1
0
mirror of https://github.com/byReqz/status.git synced 2024-11-24 00:14:56 +00:00
simple script to act as a status page
Go to file
2021-09-21 10:26:55 +02:00
docker-compose.yml add compose and server version 2021-09-20 19:13:30 +02:00
LICENSE Initial commit 2021-09-19 10:16:29 +00:00
README.md add line about status-server 2021-09-20 19:26:44 +02:00
status-server.sh change default waiting time + expand readme 2021-09-20 19:25:23 +02:00
status.sh make error handling prettier 2021-09-21 10:26:55 +02:00

status

simple script to act as a status page

how to run

the script uses the environment values ping_hosts and http_hosts to select the targets, if youre running them from the cli, you most likely need to export them before like

export ping_hosts="localhost localhost" && export http_hosts="https://duck.com https://google.com" && ./status.sh
  • do not quote individual hosts
  • https needs to specified most of the time to avoid 308s

the status-server.sh file includes a loop at the end which is needed in my docker setup, nothing else is different

for running the script in docker, see the included compose file