# Website Monitor

> Self-hosted, open-source PHP uptime checker that probes your domains for status and latency, emails alerts on non-200 responses, and can draw a Chart.js status graph.

- **Category:** [Monitoring & observability](https://selfhost.directory/monitoring)
- **Licence:** MIT
- **Source model:** Open source
- **Author:** WEB-Manufaktur
- **Platforms:** Linux
- **Tags:** Cron, Uptime Monitoring, Php, Email alerts, Chart.js, Latency, Website Monitor

## 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.

## Should you self-host Website Monitor?

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

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](https://selfhost.directory/project/goaccess) (75/100, 21 153 stars). It scores higher overall, so compare the two before you pick. [See Website Monitor vs GoAccess side by side.](https://selfhost.directory/compare/goaccess-vs-website-status-php-script)

## Features

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

## How to install Website Monitor

### Install Website Monitor with Linux

Requirements: 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.

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

## Website Monitor alternatives

- [phpservermon](https://selfhost.directory/project/phpservermon): Self-hosted, open-source uptime monitor that checks websites and TCP ports from your own PHP server, with cron jobs, graphs and email, SMS or Telegram alerts. (compare: https://selfhost.directory/compare/phpservermon-vs-website-status-php-script)
- [upstat](https://selfhost.directory/project/upstat): Self-hosted open-source uptime monitor with HTTP(S) checks, latency charts, status pages, and alerts via Discord, Slack, email, webhooks. SQLite/PostgreSQL. (compare: https://selfhost.directory/compare/upstat-vs-website-status-php-script)
- [Monitorr](https://selfhost.directory/project/monitorr): Monitorr is a self-hosted, open-source PHP web app for live monitoring of services and system resources with a responsive dashboard. (compare: https://selfhost.directory/compare/monitorr-vs-website-status-php-script)
- [arewedown](https://selfhost.directory/project/arewedown): Are We Down? is a self-hosted, open-source uptime monitor with a web dashboard checking HTTP, SSH, Docker, and more, alerting via email and Slack. (compare: https://selfhost.directory/compare/arewedown-vs-website-status-php-script)
- [ezservermonitor-web](https://selfhost.directory/project/ezservermonitor-web): Self-hosted PHP dashboard for monitoring Linux servers with system info, CPU, memory, disk, network, services, and ping checks. (compare: https://selfhost.directory/compare/ezservermonitor-web-vs-website-status-php-script)
- [Upptime](https://selfhost.directory/project/upptime): Open-source, self-hosted uptime monitor and status page that runs entirely on GitHub Actions, Issues and Pages, checking endpoints every 5 minutes with no server. (compare: https://selfhost.directory/compare/upptime-vs-website-status-php-script)
- [static_status](https://selfhost.directory/project/static-status): static_status is a self-hosted Bash script generating static HTML status pages for monitoring websites and services. Runs via cron, outputs HTML, JSON, SVG. (compare: https://selfhost.directory/compare/static-status-vs-website-status-php-script)
- [Statping-ng](https://selfhost.directory/project/statping-ng): A self-hosted, open-source status page and uptime monitor in Go. It checks HTTP, socket and gRPC endpoints, alerts via Slack, Discord or email, and supports oAuth logins. (compare: https://selfhost.directory/compare/statping-ng-vs-website-status-php-script)

## More in Monitoring & observability

- [Webterminal](https://selfhost.directory/project/webterminal): Self-hosted open-source bastion host unifying SSH, RDP, VNC, database and Kubernetes access via browser or native clients with fine-grained auth and full audit.
- [workbench](https://selfhost.directory/project/workbench): Self-hosted, open-source BullMQ dashboard for Node and Bun: job runs, FlowProducer DAGs, schedulers, metrics, alerting, MCP server. Embed in your app or run via Docker.
- [WPMgr](https://selfhost.directory/project/wpmgr): WPMgr is a self-hosted, open-source WordPress fleet management platform for backups, updates, uptime monitoring, image optimization, and security from one dashboard.
- [xyOps](https://selfhost.directory/project/xyops): Self-hosted open-source operations platform unifying fleet job scheduling, visual workflows, live server monitoring, alerting with snapshots, and incident response.
- [Zabbix Docker](https://selfhost.directory/project/zabbix-docker): Self-hosted Zabbix monitoring with official open-source Docker images for server, agents, proxies, web UI and SNMP traps, plus ready-to-use Compose files and a Makefile.
- [ZizkaDB](https://selfhost.directory/project/zizkadb): Open-source, self-hosted DB recording AI agent decisions with causal links for root-cause analysis, replay, and EU AI Act compliance.
- [Zoneminder](https://selfhost.directory/project/zoneminder): ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras. 
- [zpulse](https://selfhost.directory/project/zpulse): A self-hosted monitor that pushes drive health, ZFS state, and I/O metrics from many machines to a central web dashboard via WebSocket, with Gotify notifications.
- [adagios](https://selfhost.directory/project/adagios): Adagios is a self-hosted, open-source web UI for Nagios/Naemon/Icinga with modern status view, REST APIs, and audit trails — no database needed.
- [addon-grafana](https://selfhost.directory/project/addon-grafana): Self-hosted Grafana addon for Home Assistant to query, visualize, and alert on metrics. Runs via Supervisor with Ingress support.
- [adguard-exporter](https://selfhost.directory/project/adguard-exporter): Self-hosted Prometheus exporter scraping AdGuard Home for DNS query stats, blocking metrics, and upstream performance to monitor with Grafana.
- [ADS-Bit](https://selfhost.directory/project/ads-bit): Self-hosted open-source flight tracker that renders live ADS-B data as retro pixel art sprites with animated sky, weather, and an in-browser sprite editor.

## Links

- [Homepage](https://gitlab.com/web-manufaktur/website-status-php-script)

---
Source: https://selfhost.directory/project/website-status-php-script