I'm trying to monitor an ethereum network (eth-netstats | eth-net-intelligence-api), I have 2 experimental nodes, and a "monitor" (all are virtual machines), and, when I try to detect information of the nodes, it, just get information of the local machine, so, I started reading the code, and the errors showed in screen, finishing whit the lib/node.js file, it have a variable (process.env) that I think, its not read because, the errors (without modifying the code) shows the default values.
I have already modified the app.json, and created an app2.json in the backend ("eth-net-intelligence-api"), and started them with the pm2, but it not worked, so, I installed a backend in each node and configured it as a localhost, that sends the information to the "monitor" host (this, modifying the lib/node.js file), it worked just to show the nodes in the page (frontend), but, don't show other information
I'm trying to monitor an ethereum network (eth-netstats | eth-net-intelligence-api), I have 2 experimental nodes, and a "monitor" (all are virtual machines), and, when I try to detect information of the nodes, it, just get information of the local machine, so, I started reading the code, and the errors showed in screen, finishing whit the lib/node.js file, it have a variable (process.env) that I think, its not read because, the errors (without modifying the code) shows the default values.
I have already modified the app.json, and created an app2.json in the backend ("eth-net-intelligence-api"), and started them with the pm2, but it not worked, so, I installed a backend in each node and configured it as a localhost, that sends the information to the "monitor" host (this, modifying the lib/node.js file), it worked just to show the nodes in the page (frontend), but, don't show other information
And, this is the structure of the .json files