What this guide covers
WatchZit is a free, open-source (AGPLv3) monitoring system for networks and servers, with one web console on your own server. There are no licence keys and no price per site or check; MaxZit sells optional support. Two check types do the work here: Web page (HTTP) fetches a page, and TLS certificate reads the certificate of any TLS port. Both are added to a device, so a web site is a device with its host name as the address.
What you need
- A virtual machine with 2 CPUs, 2 GB of memory and a 16 GB disk on VMware, Proxmox VE or Hyper-V — or a 64-bit Debian 12+, Ubuntu 22.04+, AlmaLinux or Rocky Linux 9+ server with PostgreSQL 13+.
- The addresses of the sites and pages to watch, and for each a short text that is always on the page when it works (a heading, the name of the shop).
- For the view from outside: a small Linux or Windows computer outside your network — a small cloud VM is enough — for a remote collector.
Install and sign in
Import the appliance from the download page (OVA, qcow2, VHDX or ISO), or run the install script on a Linux server of your own:
curl -fsSL https://github.com/Max-Zit/watchzit/releases/latest/download/install.sh | sudo sh
Open https://<server>:8443, enter the setup token, create the first administrator and set up two-factor sign-in. To send alerts by email, set up the Email server (SMTP) under Settings → Notifications first.
Add the web site as a device
- Under Groups, add a group such as Websites.
- Under Devices → Add a device, give the Name (Shop), the host name as the Address (
www.example.com— an IP address or host name), a Type such as Other and the Group. - Decide about Ping (ICMP): response time and packet loss every minute. Untick it when the host does not answer pings. Keep in mind that a device is down only when all of its checks are down, and the availability report counts that time; if the host still answers pings while the site shows an error, the device is only partly down. For a site whose availability you report, give the device only its web checks.
- Click Add device.
Add the Web page (HTTP) check
On the device page, click Add a check and choose the Type Web page (HTTP):
| Field | What to enter |
|---|---|
| Address (URL) | Optional: the page to fetch, such as https://www.example.com/shop/. Empty: the device's address over HTTPS. |
| Expected status | Optional: one status code (100–599), such as 200. Empty: any status below 400 counts as up. |
| Text on the page | Optional, up to 200 characters: the check is down when the text is not on the page. |
| Accept certificates that are not trusted (self-signed) | Tick it only for internal pages with a self-signed certificate; otherwise an untrusted certificate makes the check fail. |
| Interval (seconds) | 10 to 3,600; empty means every 60 seconds. |
| Timeout (ms) | 2,000 by default, up to 30,000. A page that takes longer counts as no answer, so raise it for slow pages. |
Click Add check. Each run sends a GET request, follows up to five redirects and stores three values with their graphs: Status code, Response time and, for HTTPS, Certificate valid (days). The check is down when the status is 400 or higher (or not the expected one), when the text is missing, or when no answer comes within the timeout; the result names the reason, for example the status with "(expected 200)". The text is looked for in the HTML the server sends (the first 2 MB), and upper and lower case count.
Certificate expiry
Two triggers watch certificates from the start, for Web page (HTTP) and TLS certificate checks:
| Trigger | When | Severity |
|---|---|---|
| Certificate expires soon | fewer than 21 days | warning |
| Certificate expires | fewer than 7 days | critical |
To be told earlier, edit them under Problems → Triggers and change the Threshold in days. If certificates renew by themselves, a warning a few weeks ahead shows that the renewal failed while there is still time.
Add a TLS certificate check for anything that is not a web page — a mail server on port 465 or 993, LDAPS on 636, an appliance on 8443 — or to see the trust apart from the page:
- Port: 443 when empty. The port must speak TLS from the start; ports that switch to TLS with STARTTLS are not read.
- Server name (optional): the name the certificate is for, when the device address is an IP. With a host name as the address, that name is used.
- Only count the days (the certificate may be self-signed): report the days without checking the trust.
The result reads like www.example.com, valid until 2027-02-10 (79 days). The check is down when the certificate has expired or, unless you ticked the last option, when it is not trusted for that name; it also stores the Handshake time. The days are those of the server's own certificate, not of the intermediate certificates in the chain.
Pages behind a sign-in
For a shop's checkout or an application behind a sign-in, add a Web scenario (several steps) check. The Steps are one per line — the method and address, then after | the expected status, the text the page must contain and the form data:
GET /login | 200 | Sign in
POST /login | 302 | | user=monitor&password={secret}
GET /dashboard | 200 | Welcome
{secret} is the Password of the check, stored encrypted. Cookies are kept from step to step, so the sign-in stays signed in. The check measures the time of all steps and stores Steps passed; the alert names the step that failed. Use a monitoring account that may do nothing else.
Many sites: a group and a template
- Under Templates, add a template such as Website and choose Other under For these kinds of devices.
- Add its checks: Web page (HTTP) with Address (URL) left empty — each device then uses its own address over HTTPS — and a TLS certificate check.
- Under Apply to, choose the group Websites. Applying adds only the checks a device does not have yet, so applying again does no harm.
Leave Apply to new devices of these kinds by itself off unless all devices of that type are web sites. In the device list, Change selected: moves many devices into the group, pauses them or applies the template at once.
Alerts and notifications
- Check down (warning) opens when one check is down for 1 minute, Device down (critical) when all checks of the device are down for 1 minute. A problem closes by itself when the check is up again.
- Slow pages: click the bell button next to the check on the device page. It adds a trigger for that check alone: Value Response time, Condition above, a Threshold in ms and For at least (minutes), so one slow answer does not open a problem. Value unusual for the time (learned) on the response time needs no threshold: it learns what is usual for each hour of the week.
- Where alerts go: under Settings → Notifications, add a channel — email, Microsoft Teams, Slack, Discord, Telegram, ntfy, PagerDuty, SMS or a signed webhook — with From severity and, if you like, Also when resolved. Tell after (minutes) and Repeat every (minutes) under Escalation and hours of duty bring in a second person and remind while a site stays down.
- Planned work: Plan maintenance on the device page, or Problems → Maintenance, keeps the site measured but sends nothing. A deploy script can plan the window with
POST /api/v1/maintenanceand an API token.
Check from outside your network
The console checks from where it runs. If it stands in your office, it sees your sites through your own line and DNS — not the way visitors see them. For the outside view, use a remote collector:
- Install the WatchZit agent on a computer outside your network (under Agents, Create enrollment code, then install the package with it). The agent connects to the console's agent port 8444, so that port must be reachable from there: set the Public agent address under Settings → Network and access and limit the networks agents may come from.
- On the device page of that computer, click Use as a remote collector.
- On the web site device, choose the collector under Monitored from (or for many devices in the device list under Change selected:).
The collector runs the web page, scenario, certificate and DNS checks on their intervals and sends the results back; while its connection to the console is down it keeps the results (up to a day) and sends them later. A second collector can be the Backup. A device is checked from one place at a time: to have both views, add the site twice, once monitored from This console and once from the collector. A Network path (traceroute) check on the same device shows from the collector's side where a delay starts. The guide Monitor branch offices with a remote collector has the details.
Availability reports
Reports lists the availability of every device for 7, 30 or 90 days, this month or last month, with downtime and problems, as CSV or PDF (Print or save as PDF). Availability counts the time a device was down; time in maintenance is shown apart. Give the group Websites an SLA target (%) under Groups, and the report shows SLA by group as met or missed; Send by email mails it every Monday or on the 1st of the month.
What the web checks do not do
- No browser. The page check reads the HTML the server sends; text that JavaScript adds in the browser is not seen, and there are no screenshots or page-load timings of images and scripts.
- GET only, no own headers. The Web page (HTTP) check sends no own headers, cookies or request body; the web scenario can send form data with POST. There is no check that a text is not on the page.
- No public status page. Kiosk displays show maps on your own screens, inside the console's allowed networks.
- No domain expiry check. The DNS check asks a DNS server you add as a device; it does not read when a domain registration ends.
- STARTTLS is not read by the TLS certificate check (SMTP on 25 or 587, IMAP on 143).
- One place per device, not several locations at once; checks run at most every 10 seconds.
- No push (heartbeat) checks for cron jobs or scripts, and no importer of site lists: sites are added in the console, by hand or with a template on a group.
What to do next
- More than web sites — devices, servers, maps and triggers: An Uptime Kuma alternative.
- Escalation, on-call and the API in detail: A Nagios and Checkmk alternative.
- See everything WatchZit does on the features page and get it on the download page.
- The complete reference is the user guide built into the console; see the documentation.
Questions and ideas are welcome in GitHub Discussions; companies can get commercial support from MaxZit.