Skip to content

Server status application for a client, hosted on a Raspberry Pi running dht-22 temperature and humidity sensors. Flask web server serves interactive front end.

Daniel-Wh/serverStatus

Repository files navigation

Server Status

Simple flask app with front end that provides ping updates for various servers.
To use, fork repo, replace ips in text file, open a terminal in the directory and run pip install -r requirements.txt, you will also need to run NPM install to get the packages for the temperature reading.
The application can run without temperature input if you're just interested in getting internal ip connection logs
Run the flask
When the front end is loaded through a browser it will refresh the page's content each minute

Recent Updates

Added a text file logging system
Updated UI to reflect which ports are up
Added sqlite database for server info
Added endpoints to remove and add server
Added endpoint to reset (primarily for testing)
Added temperature and humidity logging system from node.js for pi 4, application will ultimately be placed in server room and will monitor temps
Dynamically adjust which servers are being monitored at UI
Update UI with temp history, current temp of server room, and humidity. Created endpoints to serve Bokeh interactive visualization

Client requests

Visual log of uptime and recent changes on page (clickable to expand, not necessarily on page all the time)
database to maintain historical downtime information on servers
Look for hooks into freeNAS logging to generate text on page of most recent events in data backups
dockerize instead of using forever

About

Server status application for a client, hosted on a Raspberry Pi running dht-22 temperature and humidity sensors. Flask web server serves interactive front end.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published