项目作者: SimonRichardson

项目描述 :
Inspect Juju Engine Reports
高级语言: Go
项目地址: git://github.com/SimonRichardson/juju-inspect.git
创建时间: 2020-02-12T12:50:48Z
项目社区:https://github.com/SimonRichardson/juju-inspect

开源协议:GNU Affero General Public License v3.0

下载


juju-inspect

Juju inspect is intended to analyse engine reports from a Juju controller. You
can feed it multiple engine reports and it will tell you various information
about the state of the controllers.

Run

Running it is extremely simple:

  1. go run main.go report_1 report_2 report_3

The output should be something like:

  1. Analysis of Engine Report:
  2. Raft Leader:
  3. machine-2 is the leader.
  4. Mongo Primary:
  5. There are no primaries found.
  6. Pubsub Forwarder:
  7. machine-0 is connected to the following: [machine-1]
  8. machine-1 is connected to the following: [machine-0]
  9. machine-2 is connected to the following: [machine-0 machine-1]