Creating a Check URL Event
- Updated on 05 Mar 2019
- 2 minutes to read
A Check URL event monitors a Web server to confirm that the URL is accessible and the server is running.
To create a Check URL event, navigate to the folder System > Jobs and Events > Events and click the Add Event button.
In the example, we create a Check URL event using the Schedule Event dialog.
To begin, navigate to the folder System > Jobs and Events > Events and click the Add Event button to open the Schedule Event dialog.
Select the Check URL Event option and select the Next button .
Next, in the URL field, enter the URL for the web server to monitor. This field is required, select the Next Button.
Provide an entity name and description for the event. These fields are required.
By default the option to Requeue the operation if it fails is selected. You could also choose to create a task if the event fails. These two options are related to the Check URL event failing, not the Web server failing to return a response, select the Next Button.
The Simple Calendar step lists commonly used intervals for events. Select the option to check the server every hour and click Next .
If we wanted the Check URL event to run on a custom interval, you could choose the Advanced option, click Next , and select from advanced calendar options.
Each Advanced Calendar Option has more information available that is specific to its selection. For example: if you select Weekly Schedule you will receive options for Hour, Minute, run on Day and compute mode.
Once you have made all of your selections, a message displays, alerting you that the event's flow was created, click Done. If you would like to edit the flow select the new event from the list and click Edit Flow from the entity actions menu.
The Flow Designer opens. A flow based on the data you entered in the Schedule Event dialog displays.
The flow input data element, url_data, has been added, and is listed in the Properties panel, in the Flow Data section, in the Flow Input Data box.
You could continue building the flow by adding an appropriate component to the flow for example you could add a Send Notification component and select the Show Mapping Editor link in the Properties panel to map the component to the url_data element.
Save and Close the flow.