IPM
IOTA Peer Manager.
IPM is a nodejs program for monitoring and managing IOTA peers connected with your IOTA Reference Implementation (IRI) To learn more about IOTA, please visit iota.org
How to install
To install this package,
npm i -g iota-pm
How to run
** Note: Before running this program, you should run your IOTA IRI or at least have a known IRI URI which is accessible. **
iota-pm
iota-pm [--iri=iri_api_url] [--port=IP:your_local_port] [--refresh=interval]
-i --iri = The API endpoint for IOTA IRI implementation (Full Node).
-p --port = Local server IP and port where the dashboard web server should be running
-r --refresh = Refresh interval in seconds for IRI statistics gathering (default 10s)
-h --help = print this message
Example.
iota-pm -i http://127.0.0.1:14800 -p 127.0.0.1:8888
IPM will connect to IOTA endpoint and produce the status at localhost port 8888
To view the dashboard, simply open a browser and point to http://127.0.0.1:8888
As a daemon using systemd
Copy the file located in systemd/iota-pm.service to /etc/systemd/system/iota-pm.service, modifying the parameters to match your setup.
Run systemctl daemon-reload
for reloading your configuration. From here on you can use normal start/stop/status commands to manage iota-pm as a daemon.
Persistent Tag
Any custom tag assigned to a peer will be saved inside user's home directory in file iota-pm.conf In Windows this will be C:\Users\username and Linux it will be $HOME. If none of these could be found, it will try to create the file in current working directory.
Peer management
The program doesn't manages peers configured in IRI config files. If you delete or add a peer via the UI, please make sure to update it also in the IRI config.
Donation
If you like the project and wish to see more features being added, please consider donating at address mentioned below
https://gist.github.com/akashgoswami/a7f0ae2daa1c97e4060e9c7296cfa7f3