Get started with Opsgenie as a user
Learn how to configure your profile, get notifications from Opsgenie and view on-call schedules.
Opsgenie has a webhook integration with Site24x7. Use the integration to send Site24x7 alerts to Opsgenie’s API with detailed information. Opsgenie acts as a dispatcher for Site24x7 alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
When an alert is created in Site24x7, an alert is also created in Opsgenie automatically through the integration.
When the status of the alert is up again, the related alert is automatically closed in Opsgenie.
This document describes how to configure the integration and details of data that Opsgenie receives from Site24x7.
If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.
Go to Teams and select your team.
Select Integrations on the left navigation and then select Add integration.
Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.
Go to Settings > Integrations. Search for Site24x7 and select Add.
Specify who is notified of Site24x7 alerts using the Responders field. Auto-complete suggestions are provided as you type.
Copy the API URL.
Select Save Integration.
In Site24x7, go to the Admin page and select "Third Party Integration".
Click Webhooks to set up a webhook-based integration.
Paste the URL copied previously into "Hook URL" field.
Select "POST" as HTTP Method.
Make sure "Send Incident Parameters" is checked.
Make sure "Post as JSON" is checked.
The integration level must contain the desired monitor(s) in order to use the Opsgenie Site24x7 integration.
Click Save.
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
"tags": "prod, critical",
"INCIDENT_REASON": "Response time from Miami - US exceeded 2000 ms.",
"STATUS": "TROUBLE",
"MONITORURL": "http://www.nexusguard.com",
"INCIDENT_TIME": "May 6, 2015 9:25 AM HKT",
"MONITORNAME": "www.nexusguard.com",
"FAILED_LOCATIONS": "California-US,NewYork-US,LosAngeles-US,London-UK,Miami-US",
"MONITORTYPE": "URL",
"INCIDENT_TIME_ISO": "2015-15-06T09:25:25-0800",
"MONITOR_DASHBOARD_LINK": "https://www.site24x7.com/app/client#/home/monitors/254XXXXXXXXXX5203/Summary",
"MONITOR_ID": "254XXXXXXXX3",
"POLLFREQUENCY": 15,
"RCA_LINK": "https://www.site24x7.com/rca.do?XXXXXXXXXXXXXXXXXXXXXXXX%2BuYuZG5OO3TFi771h4%XXXXXXXXXXXXXXXX13d%2F4nD%2Bat2OCY%3D",
"TIMEZONE": "US/Pacific"
}
This payload is parsed by Opsgenie as:
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[
"incident_reason": "Response time from Miami - US exceeded 2000 ms.",
"status": "TROUBLE",
"monitor_url": "http://www.nexusguard.com",
"incident_time": "May 6, 2015 9:25 AM HKT",
"incident_time_iso": "2015-15-06T09:25:25-0800",
"monitor_name": "www.nexusguard.com",
"monitor_id": "254XXXXXXXX3",
"rca_link":"https://www.site24x7.com/rca.do?XXXXXXXXXXXXXXXXXXXXXXXX%2BuYuZG5OO3TFi771h4%XXXXXXXXXXXXXXXX13d%2F4nD%2Bat2OCY%3D", "monitor_dashboard_link":"https://www.site24x7.com/app/client#/home/monitors/254XXXXXXXXXX5203/Summary",
"failed_locations": "California-US,NewYork-US,LosAngeles-US,London-UK,Miami-US",
"timezone":"US/Pacific",
"pollfrequency":"15",
"monitor_type": "URL",
"tags": ["prod", "critical"]
]
Was this helpful?