Skip to content

A simply Go application to see if the breaker in my garage blew.

Notifications You must be signed in to change notification settings

scottbarnesg/power-monitor

Repository files navigation

Power Monitor

A simple application written in Go that send a notification if a client fails to check in with a server.

Usage

Compile the binary

make build

Set up the configuration

Copy example.yml to config.yml, and update config.yml to contain appropriate values for sending email alerts.

Run the server

./power-monitor -server

Run the server in docker

docker-compose build
docker-compose up -d

Run the client

./power-monitor -client -hostname localhost -port 8000 -name test

Local Development

Run tests

make test

About

A simply Go application to see if the breaker in my garage blew.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published