From 810959e382014de4fdd758ca07b249d16abc0d99 Mon Sep 17 00:00:00 2001 From: Aidaho12 Date: Wed, 5 Dec 2018 04:55:55 +0600 Subject: [PATCH] v3.4 Metrics bug --- app/tools/metrics_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tools/metrics_worker.py b/app/tools/metrics_worker.py index 99072c75..2565c428 100644 --- a/app/tools/metrics_worker.py +++ b/app/tools/metrics_worker.py @@ -26,7 +26,7 @@ def main(serv, port): while True: try: - cmd = "echo show info | nc "+serv+" "+port+" |grep -e 'Curr\|MaxSessRate:\|SessRate:'|awk '{print $2}'" + cmd = "echo show info | nc "+serv+" "+port+" |grep -e 'CurrConns\|CurrSslConns\|MaxSessRate:\|SessRate:'|awk '{print $2}'" readstats = subprocess.check_output([cmd], shell=True) except CalledProcessError as e: print("Command error")