https://github.com/fabryprog/node-monitor-iota-mam
Node Monitor using IOTA MAM
https://github.com/fabryprog/node-monitor-iota-mam
docker iota iota-mam monitor monitoring-tool nodejs
Last synced: 3 months ago
JSON representation
Node Monitor using IOTA MAM
- Host: GitHub
- URL: https://github.com/fabryprog/node-monitor-iota-mam
- Owner: Fabryprog
- Created: 2018-10-09T19:34:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T22:22:48.000Z (over 6 years ago)
- Last Synced: 2025-02-12T08:57:12.001Z (4 months ago)
- Topics: docker, iota, iota-mam, monitor, monitoring-tool, nodejs
- Language: JavaScript
- Homepage:
- Size: 256 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-monitor-iota-mam
Node Monitor using IOTA MAM# Config
Config file must contains:
* destinationAddress
* to send initial information and root MAM
* host
* Iota Node Host
* port
* Iota Node Port
* id
* Node ID
* intervale
* Interval in millis# Run
* Nodejs
* Build
> npm install* Run
> nodejs index.js* Docker
* Build
> docker build -t node-monitor-iota-mam .* Run
> docker run --name monitor -v /etc/hostname:/etc/hostname:ro -v $PWD/config.json:/opt/monitor/config.json -d node-monitor-iota-mam# How to work
## First step
Monitor create a transaction to configured destination address to indicate ROOT MAM Address
## Second step
Every 30 seconds monitor will send statistics to ROOT MAM Address# Example
1. https://thetangle.org/transaction/PBUCHWQHGGWFHHRZKMOORXRZK9XHNAUFJXCHQBVCSRVUWYCLXPOB9FOZI9UIABMCOQLBEQJEVGAC99999
2. https://mam.tangle.army/fetch?address=9GKWBZ9TGBKAYUEWPROACYWLYHEJSEGBQBUDMJHSAAOUKAQAFVXSARWQFN9PFLCWOYBWIRAVRHYTDRALB