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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,730
Community Members
 
Community Events
176
Community Groups

Cisco Meraki Alerts into Opsgenie

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 Feb 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

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

 

Have a blessed day,

Scott

Samir Atlassian Team Feb 16, 2022

Great, you're welcome Scott!

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

Atlassian Community Events