File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
qa/suites/orch/cephadm/workunits/task Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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"'
You can’t perform that action at this time.
0 commit comments