sensu-plugins / sensu-plugins-opsgenie

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

Add sensu tags in Opsgenie tags #6

Closed yanc0 closed 8 years ago

yanc0 commented 8 years ago

When the Opsgenie handler is triggered, the alert is created with the tags of the sensu client like this way:

"tags": {
    "env": "prod",
    "application": "sensu"
}

In Opsgenie alert, the tags are filled: