lorenwest / monitor-dashboard

Dashboards for the Node.js monitor project
https://lorenwest.github.com/monitor-dashboard
MIT License
204 stars 28 forks source link

unable to connect node js server with dashboard #16

Open ohm40019 opened 9 years ago

ohm40019 commented 9 years ago

Hi , We are runing our nodejs application on 4 clusster , How i can connect my alll process with dashboard?

regardsm, Om

lorenwest commented 9 years ago

Create a new page, drop in whatever component you want (start with app viewer), configure it to the name of your server, repeat. You can put all servers on one page, or create a separate page for each server. Or both.

ohm40019 commented 9 years ago

How can i send data to that component? how can i add new server to dashboard.

lorenwest commented 9 years ago

When the component is dropped onto the page, it has a configuration dialog box (click the component title to open the dialog box). Most components have a server dropdown. If your server isn't listed in the dropdown, save the component with another server, then open the dialog again and press the view source button on the bottom of the component settings dialog. That should let you change the server to the one you want.

That last piece is fairly unpleasant, and it's something we're working on fixing...

lorenwest commented 9 years ago

Once your server is configured for the component, just opening the page gets the component connected to the server, where the component can gather data from the server. The component type determines which data it needs from the server.