From bae20093cbca163272aa43cd0025dc1296846437 Mon Sep 17 00:00:00 2001 From: Stephen Sun <5379172+stephenxs@users.noreply.github.com> Date: Sat, 11 Jul 2020 14:29:37 +0800 Subject: [PATCH] [watermark] Fix error: BUFFER_POOL_WATERMARK isn't enabled by default (#4882) * Fix error: watermarkstat -t buffer_pool doesn't work Signed-off-by: Stephen Sun --- dockers/docker-orchagent/enable_counters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dockers/docker-orchagent/enable_counters.py b/dockers/docker-orchagent/enable_counters.py index 2a0afb6733f1..7e13f96f84eb 100755 --- a/dockers/docker-orchagent/enable_counters.py +++ b/dockers/docker-orchagent/enable_counters.py @@ -16,6 +16,7 @@ def enable_counters(): enable_counter_group(db, 'PFCWD') enable_counter_group(db, 'PG_WATERMARK') enable_counter_group(db, 'QUEUE_WATERMARK') + enable_counter_group(db, 'BUFFER_POOL_WATERMARK') enable_counter_group(db, 'PORT_BUFFER_DROP') def get_uptime():