Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to poll other API regularly

Ingo Dean I'm New Here Jan 10, 2022

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 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
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

2,368 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you