Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usage of node-monitor and node-monitor-dashboard in multiple VM setting #26

Open
anilkun opened this issue Aug 5, 2015 · 2 comments
Open

Comments

@anilkun
Copy link

anilkun commented Aug 5, 2015

Hi Lorenwest,

Great work !!

I went through the documentation and got the node-monitor and monitor-dashboard up and configured the node-dashboard to listen to localhost. I am able to see details of node-monitor process in probe viewer.

My aim is to monitor nodejs applications running on multiple VMs. So to achieve this, should I run node-monitor on all the VMs and have the node-monitor-dashboard run on a separate VM and in the UI select the servers where the node-monitor is running ?

Or, can I run node-monitor on a single VM and use 'accept external connections' setting to listen to nodejs process on other VMs ? I am confused on the exact usage of node-monitor.

Since the cloud environment I am using has auto scaling capability. So how can I use node-monitor/dashboard in scale up and scale down scenarios ?

Thanks in advance.

@lorenwest
Copy link
Owner

You have the correct understanding. Node-monitor must be included in every app server that you want exposed to the monitor-dashboard. One VM has monitor-dashboard, and it's configured to listen to the nodes running node-monitor.

As for dynamic configuration, my advise is to get 2-3 nodes running and see where you want to be dynamic. You have options for dynamically creating configuration json files, triggering reloads, restarting the dashboard server, and sending push messages to the browser - all depending on how fast you need the update, and how much work you want to put into polling/eventing.

@anilkun
Copy link
Author

anilkun commented Aug 6, 2015

Thank you Lorenwest. I will get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants