If I specify a team on the CLI or via the OPSGENIE_TEAM environment variable the team is not forwarded to OpsGenie. To recreate this issue I've created a test event and send it to opsgenie like this:
cat /tmp/test-alert-no-override.conf | sensu-opsgenie-handler --priority P5 --region eu --team Test --auth $APITOKEN
In the OpsGenie Debug Logs I can see that the event was received but the responders are empty
If I specify a team on the CLI or via the OPSGENIE_TEAM environment variable the team is not forwarded to OpsGenie. To recreate this issue I've created a test event and send it to opsgenie like this:
cat /tmp/test-alert-no-override.conf | sensu-opsgenie-handler --priority P5 --region eu --team Test --auth $APITOKEN
In the OpsGenie Debug Logs I can see that the event was received but the responders are empty
with Version 0.7.0 of your plugin the Team selection was working as intended for us.