sensu-plugins / sensu-plugins-opsgenie

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

Use responders API field #84

Closed bodgit closed 2 years ago

bodgit commented 3 years ago

Create a responders field from the users, teams, escalations, and schedules values in Sensu. The teams value can be used as before and the other three work the same way. The correct type key is added for you.

Because the old recipients value could contain any of the above, I haven't tried to map it to the new values so this is a backwards incompatible change as it won't use it any longer, however the teams value still works as before.

Pull Request Checklist

Fixes #83

General

New Plugins

Purpose

Known Compatibility Issues

The existing teams value is still used but the recipients value is no longer used. Instead users, escalations and schedules should be utilised.