https://github.com/jolestar/go-probe
Go-Probe a simple server environment probe.
https://github.com/jolestar/go-probe
golang probe server
Last synced: 9 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-19T00:43:37.000Z (about 8 years ago)
- Last Synced: 2025-03-26T16:38:54.981Z (about 1 year ago)
- Topics: golang, probe, server
- Language: Go
- Size: 1.04 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Go-Probe
=====
[](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