Re: Is the current max packet length available via the API?

2018-04-05 Thread Shawn Heisey
On 4/5/2018 3:44 AM, Andor Molnar wrote: You can get the current jute.maxbuffer setting from a running ZooKeeper instance by querying ZooKeeperServerBean via JMX. I'm not sure how I would do that in a client program.  It might be trivial, but it's not something I've ever done. Currently ther

Re: Which metrics to monitor?

2018-04-05 Thread Nikhil Bafna
I'm also interested in the answer to this. On Thu 5 Apr, 2018, 7:30 PM Mark Bonetti, wrote: > Hi, > I'm building a monitoring system for Zookeeper and want to set up default > alerts (threshold or anomaly) on 2-3 key metrics everyone who uses > Zookeeper typically wants to alert on. > Importantl

Which metrics to monitor?

2018-04-05 Thread Mark Bonetti
Hi, I'm building a monitoring system for Zookeeper and want to set up default alerts (threshold or anomaly) on 2-3 key metrics everyone who uses Zookeeper typically wants to alert on. Importantly, alert rules have to be generally useful, so can't be on metrics whose values vary wildly based on the

RE: zookeeper node can't join the cluster

2018-04-05 Thread Rashwan, Abderahman
Hi, Could it be something to do with Proxmox containers? --- Could be but I tried VMs as well and gave me the same error Which ZooKeeper version are u running? Zookeeper version: 3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT Looks like you restarted

Re: zookeeper node can't join the cluster

2018-04-05 Thread Andor Molnar
Hi, Could it be something to do with Proxmox containers? Which ZooKeeper version are u running? Looks like you restarted zk01 and it was trying to connect to itself. (zk001/172.31.254.56:3888) Would you please attach your Zk config files too? Regards, Andor On Wed, Apr 4, 2018 at 10:51 PM,

Re: Is the current max packet length available via the API?

2018-04-05 Thread Andor Molnar
Hi Shawn, You can get the current jute.maxbuffer setting from a running ZooKeeper instance by querying ZooKeeperServerBean via JMX. Currently there're 2 usage of the setting in ZK: 1) server-client communication which is by default 4MB, 2) server-server communication which is by default 1MB. The