Skip to content
CloseYourItdocsPages

Documentation / Recipes / Recipes

Site checks with a public status page

CloseYourIt checks that your site answers, alerts you when it falls and shows the status to your customers.

CloseYourIt opens your site at regular intervals. When it stops answering you get an alert, an incident opens by itself, and a public page tells your customers what is going on. Nothing to install on the site: the checks come from outside.

1. Create the project and its environment

  1. In CloseYourIt create a project for the site, for example website.
  2. Declare the production environment on the project: a monitor can only point at a declared environment.

2. Create the monitor

  1. Open Infrastructure → Uptime and press New monitor.
  2. Pick the project website and the environment production.
  3. Check type: HTTP, with the public address of the site, for example https://www.example.com.
  4. Fill in the main fields:
FieldValue to start with
MethodGET
Expected status200
Expected keyworda word that is always on the page, for example the name of your company
Interval (s)60
Failed checks before alert2, the default
SSL expiry warning (days)14, to know in time when the HTTPS certificate is about to expire
  1. Press Create monitor.

Internal or private addresses are refused: the monitor only checks what can be reached from outside.

3. Get alerted when the site falls

A monitor records outages, but alerts nobody by itself.

  1. Open Alerts → Alert rules.
  2. In Ready-made templates pick Tell me if a site goes down: it creates two rules, one for the outage and one for the recovery.

The alert reaches the bell at the top of the app. To get it by email or Telegram too, open Preferences → Notifications, turn on the channel and choose Every time for the site alerts. Outages always get through, even during quiet hours.

4. Publish the status page

  1. Open the monitor and press Publish.
  2. The link of the public page shows up, with Open and Copy. Send it to your customers or put it in your site's footer.

The page shows whether the service works, the availability and the incidents with their updates. Unpublish takes it down whenever you want.

5. Show the status on your site

  1. On the monitor, press Embed.
  2. Copy the Compact badge code: a small strip with the status, for the bottom of your pages. Clicking it opens the full page.
  3. Paste it into the template of your site, where you want it to appear.

The badge refreshes itself on every load. If you unpublish the page, the code already pasted stops showing anything.

6. Try it without breaking the site

  1. Edit the monitor and set Expected keyword to a word the page does not contain.
  2. After two failed checks the incident opens, the alert arrives and the status page shows the outage.
  3. Put the right keyword back: at the next good check the incident closes and the recovery alert arrives.

7. Tell customers what is going on

During a real outage, write the updates on the incident:

  1. On the monitor's page, tick the incident and press Update status.
  2. Pick the phase: Detected, Investigating, Applying fix, Monitoring or Resolved.
  3. Write a message, or keep the ready-made one, and press Post update.

For planned maintenance use the Status banner of the monitor: pick Maintenance, write the message, set Starts at and Ends at, and press Save banner. It appears at the top of the public page only in that window.

Delete on a monitor also erases all its history: checks, incidents and availability. To stop it for a while, use Pause.