Skip to main content

Hosting · Method

Monitoring a website: what to check, and how often

· 3 min read

A website that is down is rarely noticed right away. Most of the time, someone outside lets you know, hours later. Monitoring a site is about finding out before they do. Here is what I check on the sites monitored by Argos, how often, and the settings that prevent false alarms.

What to monitor#

Four points cover the essentials:

PointQuestion askedFrequency
UptimeDoes the site respond?Every 5 minutes
Response timeHow fast?At every check
CertificateIs it valid, and until when?Once a day
AccessibilityAre common issues fixed, or are there new ones?Once a week

The frequency depends on how fast each point can change. An outage happens from one minute to the next; a certificate expires on a date known months in advance; a site's accessibility mostly changes when the site is modified.

Uptime, without false alarms#

Checking that a site responds seems simple: you request the page and look at the response. In practice, four settings matter.

A single error is not enough. Networks have passing glitches. If every error triggered an alert, you would end up ignoring them all. Argos only declares an outage after two failures in a row: after the first failure, it tries again less than a minute later. If the second attempt fails too, an alert goes out, just one. Another follows when the site comes back, with the length of the outage.

Not every error is an outage. A page protected by a password (code 401), forbidden (403) or asking you to slow down (429) proves that the server is responding. These responses do not count as failures. A 500 error, a timeout or a rejected certificate does.

A maximum delay is set. A site that takes more than 15 seconds to respond is considered failed: for the person visiting it, it does not work.

The content is not downloaded. To know whether the site responds, the response header is enough. Not downloading the whole page makes the check lighter, for the monitored site and for the tool.

Response time#

Measured at every check, response time is less about raising alerts than about spotting trends. A curve that slowly rises over several weeks often signals a problem before the outage: a growing database, an overloaded host, a plugin that is too heavy.

Argos shows uptime over 24 hours, 7 days and 30 days, with the response time chart. The accessibility analysis only runs after the measurements, so as not to distort the recorded times.

The certificate#

An expired certificate makes browsers show visitors a security warning, and they hesitate to continue. Certificates usually renew automatically, but that renewal can fail silently.

One check a day is enough. It records the end date and the issuer, and checks that browsers recognize the certificate. Alerts go out:

  • 14 days before expiration, to have time to understand the problem;
  • 3 days before, if nothing has changed;
  • at expiration, or as soon as the certificate is no longer recognized.

Each threshold triggers only one alert. The counter resets when the certificate is renewed.

Accessibility#

Once a week, Argos analyzes up to twenty pages of each site: the monitored page, the accessibility statement, the links on the home page, then the site map. It records the issues that can be detected automatically, mapped to the criteria of the RGAA (the French accessibility standard), and compares each analysis with the previous one.

This analysis does not replace an audit: many criteria require a human eye. It shows whether a fixed issue comes back, or whether a new page brings new ones. The site's Digital accessibility section explains what an automated tool can and cannot check.

Reporting#

So that the results get read, Argos prepares a monthly report for each site: uptime, outages and how long they lasted, average response time, certificate status, accessibility compared with the previous month. It can be printed or saved as a PDF, to be passed on as is.

A precaution on the monitoring side#

A tool that fetches pages on the internet can, if badly configured, be used to reach machines it should not see: the server's internal network, for example. All of Argos's requests go through a safeguard that refuses private addresses and unusual ports, checks the address at connection time, and checks every redirect again.

One last detail, specific to the hosting: on a shared server, an application with no visits is put to sleep after a while. A scheduled task wakes Argos up every five minutes. Without it, monitoring would stop without warning.

Request access to the tools

Access is free, by invitation. Write through the contact form and say which tools you are interested in.