Introduction
Site24x7 is a provider of website, server, network and application performance monitoring services. Integration with Webhooks enables alerts to be monitored from Site24x7.
The current Site24x7 version verified for integration is dated March 2020.
OpsRamp configuration
Configuration involves:
- Installing the integration
- Configuring the integration
Step 1: Install the integration
To install Site24x7 into the system:
- Go to Setup > Integrations > Integrations.
- From Available Integrations, select Monitoring > Site24x7.
- Click Install.
After the installation, the inbound configuration fields are displayed.
Step 2: Configure the integration
Inbound configurations capture all the required details to call OpsRamp APIs in Site24x7.
Authentication
- Configure the Authentication type to call OpsRamp APIs.
- Select Webhooks as the authentication mechanism to generate the Token and WebHook URL. Both are required to define alert endpoints.
Configuring the map attributes
After installation, the default attribute mappings are:
Site24x7 Property | OpsRamp Property | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
STATUS | Alert state
| ||||||||||
MONITORNAME ($MONITORURL) $INCIDENT_REASON | Alert subject | ||||||||||
MONITORNAME ($MONITORURL) $INCIDENT_REASON FAILED_LOCATIONS : $FAILED_LOCATIONS MONITOR_ID: $MONITOR_ID OUTAGE_TIME_UNIX_FORMAT : $OUTAGE_TIME_UNIX_FORMAT MONITOR_DASHBOARD_LINK :$MONITOR_DASHBOARD_LINK TIMEZONE : $TIMEZONE POLLFREQUENCY : $POLLFREQUENCY INCIDENT_TIME : $INCIDENT_TIME INCIDENT_TIME_ISO : $INCIDENT_TIME_ISO RCA_LINK : $RCA_LINK | Alert description | ||||||||||
MONITORTYPE | Alert metric | ||||||||||
MONITORNAME | Alert device name |
Note
Mappings that can be modified vary depending on the payload.Sample payload
This is a sample payload that is validated:
{
"MONITOR_DASHBOARD_LINK":"https://www.site24x7.in/app/client#/home/monitors/6805000000007017/Summary",
"MONITORTYPE":"URL",
"MONITOR_ID":6805000000007017,
"STATUS":"DOWN",
"MONITORNAME":"test12",
"FAILED_LOCATIONS":"SanFrancisco-US,Dallas-US,Atlanta-US,Boston-US,Phoenix-US,LasVegas-US",
"INCIDENT_REASON":"Request URI does not exist.",
"OUTAGE_TIME_UNIX_FORMAT":"1584597854001",
"MONITORURL":"https://5175f1d6.ngrok.io/",
"TIMEZONE":"Asia/Kolkata",
"POLLFREQUENCY":5,
"INCIDENT_TIME":"March 19, 2020 11:34 AM IST",
"INCIDENT_TIME_ISO":"2020-03-19T11:34:14+0530",
"RCA_LINK":"https://www.site24x7.in/rca.do?id=9t3UbKAYLxDYJ6mUpskbh9kBB9Y1yVNXInTVztwlGeFJUmFYH1lQtsoB%2Bxt2yYPIKLBsDe5Uvd%2FMU5NvcSedZQST3UO8UgP7"
}
Site24x7 configuration
Configuring Site24x7 involves:
- Configuring Webhook
- Configuring Webhook for the monitoring console
Step 1: Configure Webhook
To save alerts with OpsRamp API details in Site24x7:
- Log into Site24x7 Admin UI.
- Go to Admin > Third-Party Integrations and click Webhooks.
- From Third-Party Integrations, click Add Third-Party Integrations.
- From the Webhooks page, enter the Webhook URL copied from OpsRamp inbound configuration.
- Click Save.
Step 2: Configure Webhook for monitoring
Perform the following steps to configure Webhook for monitoring:
Perform the following steps:
- From Site24x7 Home, click Web > Monitor.
- Select the Inventory tab and click Notification Profile.
- From the Edit Notification profile window, do the following:
- Change the Contact Group for status notification from None.
- Select the required Webhook from the drop-down list in Invoke Third-Party Services.
- Click Save.
- Click Save on the Inventory tab.
The alert details are saved in the monitoring console. Site24x7 is now configured.
Viewing alerts
To view the alerts:
- Select the Workspace drop-down option and go to Alerts.
- Search for Site24x7 as the source name to view alerts.
- Click an alert ID.