stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

Fixed pause/unpause all alerts at once #115

Closed liptanbiswas closed 5 years ago

liptanbiswas commented 5 years ago

Fixes #114. As we can not use admin credentials, we can loop through all alerts and pause/unpause them one by one. I don't see any other way as it would be useless to use admin credentials just for this. Also, in order to use admin API, username and password needs to be supplied as basic auth.