https://github.com/karmek-k/go-monitor
Machine usage statistics via a JSON API! Supports HTTP Basic authentication.
https://github.com/karmek-k/go-monitor
Last synced: 3 months ago
JSON representation
Machine usage statistics via a JSON API! Supports HTTP Basic authentication.
- Host: GitHub
- URL: https://github.com/karmek-k/go-monitor
- Owner: karmek-k
- License: mit
- Created: 2021-11-03T20:52:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T20:09:43.000Z (over 3 years ago)
- Last Synced: 2025-01-11T01:50:25.733Z (5 months ago)
- Language: Go
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-monitor

## Building
```
go build -o go-monitor
chmod +x go-monitor
```## Running
`go-monitor` requires you to provide a username and password for authentication.
```bash
# on linux:
GO_MONITOR_LOGIN=user GO_MONITOR_PASSWORD=pass ./go-monitor
```This will set the username to `user` and the password to `pass`.