Monitoring can be used to watch your site's uptime and status. To get things going, you'll need to add a Monitor.
Adding a Monitor
- Navigate to the Monitor overview page by clicking Monitoring in the left navigation bar.
- Click Create Monitor.
- Now, enter a name for your Monitor.
- Next, select the Source and Enter the URL you wish to monitor then select the request type you want to use. If you're unsure of what to select here, it's most likely that you'll use GET.
- Select the locations you wish to monitor from. We typically recommend that you select at least 3. However, if your users are concentrated around a specific geographic area, you may want only to pick locations in that area to ensure your tests are relevant. Too many monitors and your server may not be able to handle all the requests at once - requests are issued simultaneously from every location every 5 minutes.
While the China location is available, you may see errors from this location due to restrictions on the internet by the Chinese government. If you consistently see errors with the China location, you may want to disable this from the monitor.
- Now, select the IP version you want to use for testing. Checks will only be completed with this IP version. If you need to test both IPv4 and IPv6, you'll need to create two monitors. If you're unsure, you should select IPv4.
- Then, adjust the timeout if required. We typically recommend leaving this at 10s. Checks that reach the timeout value will be considered failures. If the check fails, it will be completed again before a failure status is set. There is a hard limit of 20s before timeout, even if a higher value is entered in this input box.
- Finally, there are options available for basic authentication and request body content. If your monitor destination requires basic authentication, go ahead and enter your username and password here. If you're testing with a POST request, you can add a request body here too.
- Once the monitor is added to your account, the checks will be queued on the backend. Checks currently run every 5 minutes and are executed at the same time from all locations. Once a check has run, you'll begin to see data in your account for each monitoring location.
Viewing Properties of a Selected Monitor
After creating a monitor, the Monitoring tab will show you that monitor, and the current status. Please note, it may take several minutes before the monitor displays information, as we have to send the request, and receive a response. You can select the Monitor to view more details about its working properties.
- Reporting will contain all of the information about response time for the source you are monitoring. This tab displays a graph for the average response time across all of the selected Monitor locations and the Response by location below that.
- Locations will contain information about all the locations from which you are polling your website. This will contain the physical location we are polling form, the provider of the polling service, the Average Response Time over the past hour, and the last Status Code that was received from your website.
- Alerting will contain any alerts you have set up for this monitor and the trigger rules for the alert, how many locations at one time will trigger this alert, and how you will be alerted. You also have the option to turn on or off this alert.
- Errors will show any errors reported by StackPath's Monitoring locations, what kind of error was received, and the number of locations that are reporting the error.
Your monitor is now up and running; you will be able to log in and view the Status of your Server. To fully take advantage of Monitoring you should set up Service Check Alerts, so you can be notified of issues when away from the control panel.