health-check

command module
v0.0.0-...-a2a58e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2017 License: MIT Imports: 5 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL