
Checkmate 4.0 adds Connect and heartbeat monitors
The Checkmate team
Checkmate 4.0 is out. Three changes lead it: Checkmate Connect, heartbeat monitors and a new dashboard that is now the first thing you see after signing in.
Start on a dashboard you can arrange
The dashboard is now the default page. Cards show how many monitors are up, which ones are down right now, uptime per monitor and how your monitors split by type. Administrators also get cards for the Checkmate server and its job queue.
Click Arrange to reorder the cards or Edit cards to hide the ones you don't need. Admin cards are hidden from users who aren't admins. The whole page loads from a single API call.

Get alerted when a cron job stops running
Some things can't be checked from the outside: a nightly backup, a billing sync, a cleanup script. Heartbeat monitors turn the check around. Your job requests a ping URL each time it runs. If no ping arrives within the alert window, the monitor goes down and your notifications fire.
A ping can also report a failure or an exit code, so a job that runs but fails marks the monitor down straight away. You can send how long the job took as well.

Each monitor's details page lists its ping URL with ready-made commands to copy: ping on success, ping after a cron job, report an exit code or a failure. If you run a lot of jobs, add ?create=true to the URL and a job creates its own monitor on its first ping.

The heartbeat monitor docs cover the ping key, the URL format and every query parameter.
Reach and back up Checkmate with Connect
Checkmate Connect is a new service you can link your installation to from Settings → Checkmate Connect. It does two things.
Remote access keeps an outbound tunnel open from your server, so you can open Checkmate from anywhere at its Connect address. You don't open inbound ports, set up dynamic DNS or manage certificates. It is off until you turn it on.
Cloud backups copy your database to Connect, encrypted on your server before upload with a recovery key that never leaves it. Back up on demand or every 1, 3 or 7 days, either the full database or configuration only. You can restore a backup onto the same server or onto a new one with your recovery key.

Start with the Connect docs to enroll your server.
Pick up the smaller improvements
- Check interval presets from 1 hour up to 1 day
- Settings shows when a newer release is available
- Monitor list filters live in the URL, so a filtered list survives a refresh and can be shared
- A short "what's new" walkthrough appears once for each user on the dashboard
- Connect is translated into each language Checkmate supports. Missing translations elsewhere in the app were filled in too
See what got fixed
- Permission checks are enforced on proxy settings, tags, status pages and monitor actions. The API and the interface both apply them
- Each status page has a timezone, UTC by default, and shows check times in it
- Docker monitor setup explains which Capture URL to use
- A monitor's type can't be changed after it is created
- Graceful shutdown gives up after 30 seconds. A second stop signal exits at once
Read this before you upgrade
- Tag, status page and proxy actions now need an admin. Users who aren't admins lose access they had before.
- The Docker image now includes
mongodumpandmongorestorefor Connect backups. Source installs need the MongoDB Database Tools to use backups. - There are no new required environment variables.
The full list of changes is in the 4.0.0 release notes. Thanks to all the contributors to this release. Welcome to the four people who made their first contribution in it.
