Browse Source

Renamed to gmon

master
Felix 2 years ago
parent
commit
b226ce533b
  1. 1
      .gitignore
  2. 5
      .travis.yml
  3. 16
      README.md
  4. 0
      gmon.go

1
.gitignore

@ -13,3 +13,4 @@
# Binary
ganglia
gmon

5
.travis.yml

@ -1,13 +1,16 @@
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
dist:
- trusty
- xenial
script:
- go build ganglia.go
- go build gmon.go

16
README.md

@ -1,19 +1,19 @@
# ganglia-query
# gmon - ganglia-query
[![Build Status](https://travis-ci.org/grisu48/ganglia-query.svg?branch=master)](https://travis-ci.org/grisu48/ganglia-query)
This is a small go project to read out a `gmond` instance with enabled `tcp` server
This is a small go project to read the current stats provided by a [ganglia](http://ganglia.sourceforge.net/) instance with enabled `tcp` channel (read from `gmond`, thus the name `gmon`).
## Usage
./ganglia REMOTE[:PORT][,REMOTE[:PORT]]
e.g. ./ganglia cluster1 cluster2:8922
./gmon REMOTE[:PORT][,REMOTE[:PORT]]
e.g. ./gmon cluster1 cluster2:8922
ganglia establishes a tcp connection to the `gmond`-server, fetches the XML contents and prints the stats as console-friendly table.
`gmon` establishes a tcp connection to the given `gmond` remote, receives the XML contents and prints the stats as console-friendly table.
### Example
~/git/ganglia-query$ ./ganglia beowulf-cluster server-farm
~/git/ganglia-query$ ./gmon beowulf-cluster server-farm
Cluster: beowulf-cluster
Host Last Update CPU Memory Load (1-5-15)
@ -39,8 +39,8 @@ ganglia establishes a tcp connection to the `gmond`-server, fetches the XML cont
## Compile
go build ganglia
go build gmon
Requirements
* `go >= 1.10.x`
* `go >= 1.8.x`

0
ganglia.go → gmon.go

Loading…
Cancel
Save