From ef0b325ba0202d9d2a4f87c73c635207f117351e Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 23 Feb 2023 11:04:02 -0500 Subject: [PATCH] Fix ZK check location --- node-daemon/plugins/zkpr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/plugins/zkpr b/node-daemon/plugins/zkpr index 6cf3ee53..61e06423 100644 --- a/node-daemon/plugins/zkpr +++ b/node-daemon/plugins/zkpr @@ -79,7 +79,7 @@ class MonitoringPluginScript(MonitoringPlugin): try: zk_conn = KazooClient(hosts=[f"{self.this_node.name}:2181"], timeout=1, read_only=True) zk_conn.start(timeout=1) - data = zk_conn.get('/primary_node') + data = zk_conn.get('/schema/version') except Exception as e: health_delta = 50 message = f"Failed to connect to Zookeeper: {e}"