Device Down Callback URLUsually when Alertra detects that your web site is down, you want a technical person on your staff to be notified via SMS, Instant Message (IM), or email. The staff person would then look at the type of error and attempt to resolve the problem and bring the server back up. But in some environments action can be taken automatically if the proper system can be notified of the problem. In addition, some customers may want an external record of an outage. The Callback URL feature can be used in both situations. Setting a Callback URL The Callback URL can be configured on the Device Setup screen in the Advanced Settings section. The URL will be called when the device is initially marked down. And will be called every time the device is marked down. The URL is not called on device up. Important: The callback URL should not point to a resource located on the device being monitored. If the monitored device is down, the callback URL will fail too. Ideally the callback URL should not be on the same network since the device may be down because the network it is connected to is down. The URL you supply will be called with parameters that the server can use to determine which device is down and what the problem is. All of the parameter names are prefixed with 'alertra_' so they won't conflict with any parameters you include in the callback URL.
Processing the Callback This feature is designed to be open to development by you. The server processing the callback can do whatever is needed with the information. Here is some simple PHP code that takes the callback information and writes it to a log file. callback.php
Summary The callback URL function can be used to perform custom processing in response to a server outage. The URL is called on each device down event. You can configure a callback URL by setting the Callback URL field of the Device Setup page. |
|
Website Monitoring · Features · FAQ · Pricing · About Us · Contact Us |
|
Website Monitor · Website Monitoring Service · Site Monitoring · Monitoring Service · Web Site Monitoring |
|