From aea3931546ee0dd513eb41f48a9f0f3126766ebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Thu, 4 Mar 2021 22:42:35 +0100 Subject: [PATCH] Add log message --- hbase-exporter | 1 + 1 file changed, 1 insertion(+) diff --git a/hbase-exporter b/hbase-exporter index 0035c33..c0432e7 100755 --- a/hbase-exporter +++ b/hbase-exporter @@ -157,6 +157,7 @@ class zk(): re_mode = re.compile(r'^Mode:\s*(.+?)\s*$') for address in address_list: + logging.info("Probing zookeeper at address: " + address) cmd = 'echo stat | nc ' + address + ' 2181' p = Popen(['/bin/sh', '-c', cmd], stdout=PIPE, stderr=PIPE, close_fds=False) output, error = p.communicate()