Skip to content

Commit

Permalink
Merge pull request #961 from aleskxyz/ignore_inhibited_alerts
Browse files Browse the repository at this point in the history
Stop alertmanager to fetch inhibited alerts
  • Loading branch information
HenriWahl authored Sep 21, 2023
2 parents cbde710 + 5179f2a commit 0699195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nagstamon/Servers/Alertmanager/alertmanagerserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 0699195

Please sign in to comment.