The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can Opsgenie creat an alert from Json response body?

Nathan Goodacre
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2019

Hey, We have a system which keeps track of when each server last checked in. The data is available by using a restful JSON API. Is it possible for Opsgenie to call the API, and then if the timestamp is older than X, create an alert? Or heartbeat notification?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 25, 2019

Hi @Nathan Goodacre  - it wouldn't be possible for Opsgenie to initiate the connection and check the timestamps. But you could send the alert to Opsgenie by creating an alert through our Alert API https://docs.opsgenie.com/docs/alert-api

 

Also - this does sound like something you could use heartbeat monitoring for. With heartbeat monitoring, you would set up a job or task on your server to ping the heartbeat on a certain interval (like every 10 minutes for example). Then if 10 minutes go by without a ping received, the heartbeat will generate an alert that the heartbeat is expired. Maybe this would be a solution for what you're looking for? https://docs.opsgenie.com/docs/heartbeat-monitoring

TAGS
AUG Leaders

Atlassian Community Events