this is posted to Gist:
https://gist.github.com/ag88/65db5434158683e43d1cc77c337ebdb5
Introduction
Rpi-monitor
https://github.com/XavierBerger/RPi-Monitor
is a very nice app for monitoring sbc (single board computers/ actually bigger computers as well) like RPi on a web.
it gives you a quick look at various system metrics cpu load, uptime, temperatures etc and more on a nice web page.
and on top, makes nice time series graphs for the same, practically a dashboard.