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,554,345
Community Members
 
Community Events
184
Community Groups

How to poll other API regularly

There seems to be no Meraki integration in OpsGenie?

I'd like to receive notifications when a Meraki AP or Switch goes offline. The email notification is pretty ugly, batching multiple devices into a single email, which makes it impossible to track up/down for individual devices?

Meraki does offer an API call which looks much easier to parse:
https://api.meraki.com/api/v0/organizations/<XXXX>/deviceStatuses

This returns (properly authenticated, of course) a nice JSON status of all my devices, including a "status" key.

Is it possible to (a) regularly call this authenticated API directly from OpsGenie and (b) parse the JSON into just the parts I want to see and alert on? 

Or am I barking up the wrong tree and not understanding OpsGenie at all?

1 answer

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

Hi @Ingo Dean !

 

Opsgenie does not currently have a pre-built integration with Meraki, however we do have a feature request for this.

 

Alerts are created in Opsgenie by other tools sending alerts to Opsgenie. So there isn't a way to set-up Opsgenie to poll Merkai for alerts via their API. You could set-up some sort custom solution with a script to poll Meraki for alerts via API, and then create the alerts in Opsgenie via our Alert API.

For example you could set-up a cron job that runs every X minutes that executes a script to poll Meraki for alerts via their API, and then if there are alerts, create them in Opsgenie via API.

But there isn't a way for Opsgenie to poll/pull alerts from other tools, alerts need to be sent to Opsgenie.

 

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

 

Thanks,

Samir

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events