sensu-plugins / sensu-plugins-opsgenie

Sensu plugins for OpsGenie
http://sensu-plugins.io
MIT License
4 stars 24 forks source link

different priority depending on check result status #36

Open passing opened 6 years ago

passing commented 6 years ago

It would be helpful to be able to make a check set a different OpsGenie priority depending on the check result status. Advantages would be:

right now one can only configure one priority:

"priority": "P1"

configuration of different priorities could look like this:

"priority_critical": "P1",
"priority_warning": "P3",
"priority_unknown": "P4"