selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitLab

Self-host Website Monitor

Minimal PHP uptime checker with email alerts

Open SourceMIT
Updated2 years ago
Setup difficultyEasy
Install with Linux

What is Website Monitor?

A small open-source PHP script that checks whether a list of domains responds and how long they take, aimed at anyone who wants a no-frills uptime check on their own web space. It reads the domains to watch from a plain text file (one per line) and can email a configured address whenever a site does not answer with HTTP 200. An optional index.html page renders a Chart.js graph of the recorded status for each website. Self-hosting is copying status.php plus the domains and mailto files to a PHP-capable server, then opening status.php in a browser or letting cron call it, for example every minute. It stays deliberately minimal: no database, no user login, no alert history or configurable status page, and the repository saw no activity after April 2024.

Website Monitor alternatives

Should you self-host Website Monitor?

Website Monitor scores 43/100 on selfhost.directory (how scoring works) and ranks #40 of 51 in Monitoring & observability.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. It is MIT-licensed.

Its closest alternative on selfhost.directory is GoAccess (75/100, 21 152 stars). It scores higher overall, so compare the two before you pick. See Website Monitor vs GoAccess side by side.

Features

  • Email notifications on failure
  • Run manually or from cron
  • Status chart visualizationOptional, via an index.html page built with Chart.js
  • Website status and latency monitoring

How to install Website Monitor

Install Website Monitor with Linux

PHP
  1. Copy the status.php script, domains, and mailto file to your server.
  2. Configure the list of domains in the domains file, with one domain per line.
  3. Configure the email address to receive notifications in the mailto file.
  4. (Optional) Copy the index.html file to your server to see a visualization.

Run it manually in a browser or from a cron job.

More in Monitoring & observability

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…