Git Product home page Git Product logo

monitor's Introduction

Monitor

A Monitor for java-tron

Monitor is a open source monitor for java-tron. It's useful for monitoring nodes of java-tron.

Features

  • Node block number does not update alarm;
  • Witness lost block alarm.
  • Witness list change alarm.
  • Proposed value change alarm.
  • Witness lost block daily report.

Getting Started

docker pull sasaxie/tron-monitor

docker run -d \
  --name docker-influxdb-grafana-monitor \
  -p 3003:3003 \
  -p 3004:8083 \
  -p 8086:8086 \
  -p 22022:22 \
  -p 8080:8080 \
  -v $PWD/influxdb:/var/lib/influxdb \
  -v $PWD/grafana:/var/lib/grafana \
  -v $PWD/monitor:/root/go/bin/conf \
  sasaxie/tron-monitor

Grafana

Open http://localhost:3003

Username: root
Password: root

Modify /etc/grafana/grafana.ini root_url=http://[your ip]:3003

InfluxDB

Web Interface

Open http://localhost:3004

Username: root
Password: root
Port: 8086

Configuration

nodes.json

{
  "addresses": [
    {
      "ip": "127.0.0.1",
      "grpcPort": 50051,
      "httpPort": 8090,
      "type": "full_node",
      "tag": "MainNet",
      "monitor": "NowBlock,BlockMissed"
    }
  ]
}

Type:

  • full_node
  • mti_full_node
  • witness_node
  • sr_witness_node
  • sr_witness_b_node
  • gr_witness_node
  • solidity_node

Monitor type:

  • NowBlock
  • BlockMissed

Show

node-detail.png

monitor's People

Contributors

sasaxie avatar xiechang33 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

timothyckw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.