tracehost is a bash script that parses a standard hosts files and generates an SVG. The script accepts a standard system hosts file format but actually it only cares about the first host or IP on a line. In fact any line format may be used as long as each line begins with something that can be pinged.

127.0.0.1 localhost # for local people
216.58.213.99 - google
silobrighton.com # Zero waste

The image below is generated as a daily GitLab cron job. Hosts that don’t respond to pings are coloured red.