From 7b33f7727e059ac2eb83ddee9440c446f1a201c0 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Wed, 25 Dec 2024 10:20:26 +0530 Subject: [PATCH] src/common/options/mon.yaml.in: add mon_nvmeofgw_delete_grace This config allows to configure the delay in triggering NVMEOF_GATEWAY_DELETING healthcheck warning, which is triggered when NVMeoF gateways are in DELETEING state for too long (indicating a problem in namespace load-balacing). The default value for this config is 15 mins. Signed-off-by: Vallari Agrawal --- src/common/options/mon.yaml.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/common/options/mon.yaml.in b/src/common/options/mon.yaml.in index ab1634bc154bf..1307030e3fb96 100644 --- a/src/common/options/mon.yaml.in +++ b/src/common/options/mon.yaml.in @@ -91,6 +91,13 @@ options: default: 1000 services: - mon +- name: mon_nvmeofgw_delete_grace + type: secs + level: advanced + desc: Issue NVMEOF_GATEWAY_DELETING health warning after this amount of time has elapsed + default: 15_min + services: + - mon - name: mon_mgr_inactive_grace type: int level: advanced -- 2.39.5