An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

        

# go-monitor

![CPU route example](readme/cpu.png)
![Memory route example](readme/memory.png)

## 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`.