From 5179f2a77e559999fd667553bc475fdbc9e83fc4 Mon Sep 17 00:00:00 2001 From: aleskxyz <39186039+aleskxyz@users.noreply.github.com> Date: Mon, 28 Aug 2023 11:18:55 +0200 Subject: [PATCH] Change inhibit query sting param to false --- Nagstamon/Servers/Alertmanager/alertmanagerserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nagstamon/Servers/Alertmanager/alertmanagerserver.py b/Nagstamon/Servers/Alertmanager/alertmanagerserver.py index 6ead148ed..cab61547e 100644 --- a/Nagstamon/Servers/Alertmanager/alertmanagerserver.py +++ b/Nagstamon/Servers/Alertmanager/alertmanagerserver.py @@ -37,9 +37,9 @@ class AlertmanagerServer(GenericServer): 'history': '$MONITOR$/#/alerts' } - API_PATH_ALERTS = "/api/v2/alerts" + API_PATH_ALERTS = "/api/v2/alerts?inhibited=false" API_PATH_SILENCES = "/api/v2/silences" - API_FILTERS = '?filter=' + API_FILTERS = '&filter=' # vars specific to alertmanager class map_to_hostname = ''