A server app for managing and showing the current space status.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/spaceStatus
init
internal
logs
webUI
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md includes the git version in the build Jan 26, 2019
build.sh includes the git version in the build Jan 26, 2019
config.example.toml should work Jan 26, 2019
db-schema.sql
mainframe.io.pem
mysql-docker.sh should work Jan 26, 2019
syncToServer.sh

README.md

Status2

Shows the space status, stores the data in a mysql database for statistics and show some nice stats.

Requirements

  • Go
  • dep

Install

# build binary
dep ensure
./build.sh

# create config
cp config.example.toml config.toml
vim config.toml 

Run

Use the systemd service file in the init/ folder.

./status2 

Error handling

For database errors, the application exists with an error. Mqtt errors terminate the application only on startup. If you use the provided service file, the application will be restarted.