DeemOpen / zkui

A UI dashboard that allows CRUD operations on Zookeeper.
2.36k stars 977 forks source link

Monitor page is empty #2

Closed royjs closed 9 years ago

royjs commented 9 years ago

Hi,

I installed Zookeeper UI on AWS and I have a problem. The Monitor web page is empty, it shows the IPs of all servers but not the servers status.

I investigated a little and I think I found the problem. I noticed that the "status" and "envi" commands are sent trough netcat. The problem is that it's using the -q option which is not supported on RedHat based distributions.

E.g. /bin/sh -c 'echo stat' | nc -q5 127.0.0.1 2181 returns nc: invalid option -- 'q'

The -q option should be used only when supported.