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

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events