Hi everyone,
I Followed the documentation and created a Opsgenie notification. The message is sent to Opsgenie, but presents a error:

This occurrers just on PROBLEM events.
But OK events don't pute a note in Opsgenie and I don't know if is related for the first error.
If I change the line:
to:
The error doesn't appears, but of course I can't do this...
Regards,
Déo
I Followed the documentation and created a Opsgenie notification. The message is sent to Opsgenie, but presents a error:
Opsgenie notification failed : TypeError: cannot read property 'id' of undefined
This occurrers just on PROBLEM events.
But OK events don't pute a note in Opsgenie and I don't know if is related for the first error.
If I change the line:
Code:
result.tags.opsgenie_issue_key = params.web + '/alert/detail/' + resp.data.id + '/details';
Code:
result.tags.opsgenie_issue_key = params.web + '/alert/detail/' + '/details';
Regards,
Déo
Comment