Static status page generator
Find a file
Kage1 44ca8dc1f3 ${IPv} var interfering with timeout
The ${IPv} var for the ping and port commands were after the wait parameter causing ping and nc to fail due to an invalid parameter. Moved the var to the beginning of the var string like the curl test.
2021-03-29 19:42:29 -05:00
checks.list Quote every variables 2021-03-29 22:34:49 +02:00
incidents.list Initial commit 2021-03-27 23:27:40 +01:00
LICENSE Initial commit 2021-03-27 23:27:40 +01:00
README.md Add IPv6 support 2021-03-29 20:55:23 +02:00
tinystatus ${IPv} var interfering with timeout 2021-03-29 19:42:29 -05:00

Tinystatus

tinystatus generate an html status page via shell script.

Features

  • Parallel checks
  • HTTP, ping, port checks
  • HTTP expected status code (401, ...)
  • Minimal dependencies (curl, nc and coreutils)
  • Easy configuration and customisation
  • Incident history (manual)

Demo

An example site is available here.

Setup

To install tinystatus:

  • Clone the repository and go to the created directory
  • Edit the checks file checks.list
  • To add incidents or maintenance, edit incidents.list
  • Generate status page ./tinystatus > index.html
  • Serve the page with your favorite web server

Configuration file

The syntax of checks.list file is:

Command | Expected Code | Status Text | Host to check

Command can be:

  • http - Check http status
  • ping - Check ping status
  • port - Check open port status

There are also http4, http6, ping4, ping6, port4, port6 for IPv4 or IPv6 only check.