Skip to content

Commit 5ecc740

Browse files
authored
Merge pull request ceph#59373 from rhcs-dashboard/test-ms-alertmanager-v2
qa/task: update alertmanager endpoints version Reviewed-by: Adam King <adking@redhat.com>
2 parents e0b3453 + ac998b5 commit 5ecc740

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qa/suites/orch/cephadm/workunits/task/test_monitoring_stack_basic.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ tasks:
6161
curl -s http://${PROM_IP}:9095/api/v1/alerts
6262
curl -s http://${PROM_IP}:9095/api/v1/alerts | jq -e '.data | .alerts | .[] | select(.labels | .alertname == "CephMonDown") | .state == "firing"'
6363
# check alertmanager endpoints are responsive and mon down alert is active
64-
curl -s http://${ALERTM_IP}:9093/api/v1/status
65-
curl -s http://${ALERTM_IP}:9093/api/v1/alerts
66-
curl -s http://${ALERTM_IP}:9093/api/v1/alerts | jq -e '.data | .[] | select(.labels | .alertname == "CephMonDown") | .status | .state == "active"'
64+
curl -s http://${ALERTM_IP}:9093/api/v2/status
65+
curl -s http://${ALERTM_IP}:9093/api/v2/alerts
66+
curl -s http://${ALERTM_IP}:9093/api/v2/alerts | jq -e '.[] | select(.labels | .alertname == "CephMonDown") | .status | .state == "active"'

0 commit comments

Comments
 (0)