simple script to act as a status page
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nils a50a1d5518
merge changes into status-server
1 year ago
LICENSE Initial commit 1 year ago
README.md add line about status-server 1 year ago
docker-compose.yml add compose and server version 1 year ago
status-server.sh merge changes into status-server 1 year ago
status.sh make error handling prettier 1 year ago

README.md

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