iri-mon 0.10.0
IRI monitor
IRI Monitor is a command line tool for monitoring IOTA's Initial Reference Implementation (IRI). It allows you to identify if a node is synced and if your neighbors are active. This tool reads from the iri config file and uses the getNodeInfo and getNeighbors API calls.
Contents
Usage
Options
Command:
# Help command
./iri-mon --help
# Version
./iri-mon --version
# Config file
./iri-mon -c /path/to/iri.ini
Status
Command:
./iri-mon
Example result:
IRI Monitor - Status
----------------------------------------
Version: 1.6.1-RELEASE
Running: true
Synced: true [1028189 / 1028189]
ZeroMQ: enabled
Testnet: no
Debug: no
Tips: 429
Transactons to request: 57
Neighbors
Command:
./iri-mon neighbors
Example result:
IRI Monitor - Neighbors
----------------------------------------
Configured neighbors: 5
Connected neighbors: 5
[udp] - 127.0.0.1:14600
State: active
Transactions: [all: 22018, new: 65, invalid: 0, stale: 12017, random requests: 184, send: 14792]
...
Milestones
Command:
./iri-mon milestones
Example result:
IRI Monitor - Milestones
----------------------------------------
Start Index: 1027365
Latest Index: 1028189
Latest Solid Subtangle Index: 1028189
Latest Milestone: WBGORFDDLTXBZP9YOACTZLKNPTUEZN9HRQLYRNQPRLYMZGPVCIBOLELOZFUYKUXZNTIGARLGDKHOZ9999
Latest Solid Subtangle Milestone: WBGORFDDLTXBZP9YOACTZLKNPTUEZN9HRQLYRNQPRLYMZGPVCIBOLELOZFUYKUXZNTIGARLGDKHOZ9999
Ports
Command:
./iri-mon ports
Example result:
IRI Monitor - Ports
----------------------------------------
HTTP API Port: 14265
TCP Receiver Port: 15600
UDP Receiver Port: 14600
ZeroMQ Port: 5556
Development
Dependencies
Installation
-
Clone this repository
git clone git@github.com:TangledIT/iri-mon.git
-
Run
shards build
to build executable -
Find executable in
bin/
folder
Contributing
- Fork it (https://github.com/tangledit/iri-mon/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- TangledIT - creator and maintainer
Repository
iri-mon
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- over 5 years ago
- March 17, 2019
License
MIT License
Links
Synced at
Fri, 08 Nov 2024 00:38:19 GMT
Languages