nats-top icon indicating copy to clipboard operation
nats-top copied to clipboard

Monitor all NATS servers in a cluster

Open glycerine opened this issue 8 years ago • 7 comments

So I've been running a little 2 node cluster, and watching one of the nodes with nats-top.

It was very surprising to see two out of the three clients disappear. But then I checked and realized that those two had simply failed over to the other gnatsd in the cluster. I had to verify this was the case by firing up a separate nats-top instance and pointing it at the other node in the cluster.

It would be of great utility and convenience to be able to monitor an entire cluster from one nats-top display.

Hence this suggestion: have one nats-top connect to all gnatsd in a cluster and provide information on all of them. I really want to see all that information in one place to not be panicked that some service has died unexpectedly.

glycerine avatar Feb 24 '16 23:02 glycerine

And thanks again for nats-top. It rocks!

glycerine avatar Feb 25 '16 00:02 glycerine

Hi,

Any update on that ? I mostly a 4 nodes cluster and have to connect to all of them each time, is not really convenient.

Thanks

shinji62 avatar May 16 '16 06:05 shinji62

@shinji62 think this would be a good addition, other servers could possibly be discovered via /routez/ if not set explicit as well. I will make updates soon to have this built into nats-top, thanks for the feedback 👍

wallyqs avatar May 16 '16 16:05 wallyqs

Ping. Hi @wallyqs! By chance is this in progress? If not, could you provide an outline of how it could be done? I don't really understand how /routez and related internal stuff works.

glycerine avatar Dec 31 '16 15:12 glycerine

Bump. Is there a plan or an alternative for that?

oren-nonamesecurity avatar Dec 17 '23 11:12 oren-nonamesecurity

I was also surprised to see that this tool only returns data on the server it is connected to. It would be nice if could connect to all servers in the cluster.

jsirianni avatar Mar 16 '24 17:03 jsirianni