Skip to content

robertoduessmann/health-check

Repository files navigation

health-check

Build Status Go Report Card GoDoc

Check your server health easily

Build

go build

Run

Build (above) or download health-check and run:

./health-check

Usage

Just open http://localhost:3000/status in your server :)

Response example

{
	"memory": {
		"total": "12349032 Kb",
		"used": "3490432 Kb",
		"free": "8858600 Kb"
	},
	"disks": [{
		"name": "sda1",
		"total": "1623248 Kb",
		"used": "643480 Kb",
		"free": "979768 Kb"
	}, {
		"name": "sda2",
		"total": "5483946 Kb",
		"used": "5235354 Kb",
		"free": "248592 Kb"
	}],
	"processor": {
		"total": "8.09 %"
	}
}

Installation

If you want to hack on health-check

go get github.com/robertoduessmann/health-check

To make sure all the dependencies are installed

dep ensure

About

Check your server health easily

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages