Closed rabingogo closed 10 years ago
Hello,
There are two modes to node-monitor - one where you place this in your app
var Monitor = require('monitor');
Monitor.start();
The other mode is a process or script that monitors that process. If you've gone through the steps in the README.md of the node-monitor project, you'll have played with this a bit.
The monitor-dashboard server runs in the second mode - as a monitor client to your application.
Each component on the dashboard is connected to an app to monitor. When you place a new component onto the dashboard, it asks for the server name and probe to connect with. Start by running monitor-dashboard on the same machine as your app, as this is the simplest configuration.
Monitoring applications on different servers has security issues that are outlined in node-monitor. If you have problems connecting, let me know and I can help work through the issues.
Thanks lorenwest!
Dear lorenwest,
I'm able to run node-monitor(to monitor my own app) and monitor-dashboard independently. And according to what I understand, monitor-dashboard is monitoring the process it started. But I cannot figure out how to use monitor-dashboard to monitor my own app.
Could you give me some directions? Or if there's any misunderstand, please let me know.
Thanks a lot in advance.