Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cisco Meraki Alerts into Opsgenie

Scott Chapman February 15, 2022

Has anyone been able to configure Cisco Meraki webhooks to get Meraki alerts into Opsgenie?  Meraki does have the ability but I'm not sure how to configure Opsgenie to receive them.

 

Thanks!

1 answer

0 votes
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2022

Hi @Scott Chapman ,

 

Opsgenie does not currently have a pre-built integration with Meraki, nor do we have a generic inbound webhook integration that can accept any request and create an alert. Each integration in Opsgenie is designed to handle a specific type of payload, and map the fields of that payload to the Opsgenie alert fields (message, description, alias, etc.).

 

You could leverage the Opsgenie Alert API to create alerts in Opsgenie. This requires that the requests be sent to Opsgenie with the expected payload format

e.g.

2022-02-16_08-51-54.png

 

So if on the Meraki side, you can configure the format of the payload it sends, then you could set it up to send the request to Opsgenie with this format. If not, you may need to use some sort of proxy to receive the request from Meraki, structure the payload in the Opsgenie format, then send the request to Opsgenie to create the alert via API.

 

Alternatively if Meraki can send alerts via email, you could leverage an Email integration in Opsgenie to create alerts.

 

Hope this helps! Let us know if you have anymore questions.

 

Thanks,

Samir

Scott Chapman February 16, 2022

Exactly what I was looking for, thank you for your response Samir!

 

Have a blessed day,

Scott

Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2022

Great, you're welcome Scott!

Dexter LaBora August 25, 2022

Meraki now provides the ability to write custom webhook templates so that you can shape the JSON & headers to fit any service, including OpsGenie

Docs
https://developer.cisco.com/meraki/webhooks/#!payload-templates-overview

 

Quick Example:
headers.liquid

{
"Authorization": "GenieKey {{sharedSecret}}"
}

 body.liquid

{
"message": "{{alertType}}",
"alias": "{{alertTypeId}}",
"description":"describe {{alertType}}",
"responders":[

],
"visibleTo":[

],
"actions": ["AnExampleAction"],
"tags": [],
"details":{{alertData | jsonify}},
"entity":"An example entity",
"priority":"{{alertLevel}}"
}

webhook-template-opsgenie-screenshot.png

There is already an example Jira template if you are curious

https://developer.cisco.com/meraki/webhooks/#!jira-custom

 

 

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events