Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jolestar/go-probe
Go-Probe a simple server environment probe.
https://github.com/jolestar/go-probe
golang probe server
Last synced: 3 months ago
JSON representation
Go-Probe a simple server environment probe.
- Host: GitHub
- URL: https://github.com/jolestar/go-probe
- Owner: jolestar
- Created: 2017-07-25T03:29:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T00:43:37.000Z (over 6 years ago)
- Last Synced: 2024-06-19T05:58:24.009Z (7 months ago)
- Topics: golang, probe, server
- Language: Go
- Size: 1.04 MB
- Stars: 5
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Go-Probe
=====[![Build Status](https://travis-ci.org/jolestar/go-probe.svg?branch=master)](https://travis-ci.org/jolestar/go-probe)
go-probe is a simple server environment probe.
## Usage
docker run --name go-probe -p 8080:80 -d jolestar/go-probe
1. open [http://localhost:8080](http://localhost:8080) by browser, will get html result.
2. curl -H "accept:application/yaml" http://localhost:8080
3. curl -H "accept:application/json" http://localhost:8080## Support Probe Function
* Env: show system environment variable
* HostInfo: show host-info, such as: hostname, platform, kernel version
* CpuInfo
* NetworkInfo: network interfaces
* RequestInfo: request remote addr, headers.
* LoadAvg
* MemoryInfo