Share a homemade monitoring system using PHP that has been running stably for a long time

First Release on Our Site! First Release on Our Site! First Release on Our Site!
===========2025-12-17=============
Added more notification types, now you can also customize webhooks!
If you have any more new ideas, share them and I’ll make them happen!


===========2025-12-15=============
Didn’t expect everyone to like it so much, so I quickly updated notifications for WeChat Work (Qiye Weixin) bots.
I’ll consider adding more features in the future—or you can add them yourself, or request access to the repo on git and let’s make this project even more powerful together.
Honestly, the backend login was just me being lazy. I didn’t want to write SQL, so the account and password are stored locally, haha. I’ll refactor it if needed later~

Main Point:

If you like it, that’s enough. It’s all fully open source, no encryption at all.

github:

Demo site:

Admin: /admin
Please modify your login credentials in login.php

This project started because I had a lot of sub-sites and wanted to monitor their status, but found that most monitoring platforms were either paid or had too much delay. So I threw this system together on a whim. To my surprise, it’s run stably for over 6 months! For notifications, since I use an iPhone, I only adapted Bark—if you need other options, feel free to add them with AI or integrate them yourself.

Features

  • :magnifying_glass_tilted_left: Multiple Monitoring Types: Supports HTTP, HTTPS, and API monitoring
  • :alarm_clock: Flexible Intervals: Customizable check interval
  • :bar_chart: Real-Time Status: Real-time site status and response time display
  • :bell: Notifications: Supports Bark push notifications
  • :crescent_moon: Theme Switching: Light/dark themes supported
  • :mobile_phone: Responsive Design: Works on all device sizes
  • :bullseye: Sorting Feature: Drag-and-drop sorting to customize display order

Frontend Features

  • Status Overview: View the status of all monitored sites
  • Real-Time Data: Shows response time and last check time
  • Theme Switching: Click the icon on the top right to switch between light and dark mode
  • Auto Refresh: Page auto-refreshes every 60 seconds

Admin Panel

  • Add Website: Add new monitored sites
  • Edit Settings: Modify site settings and check intervals
  • Sort Management:
    • Drag the sort icon on the left to reorder
    • Click ‘Save Order’ to save changes
    • Order changes the frontend display
  • Status Control: Enable/disable monitoring
  • View Logs: Check historical monitoring records
  • Notification Settings: Configure Bark notifications

How to Use Sorting

  1. In the admin panel, each row has a drag icon on the left
  2. Click and drag the icon to reorder sites
  3. After rearranging, click ‘Save Order’
  4. The new order appears instantly on the frontend

File Structure

statusMonitor/
├── admin/              # Admin panel
│   ├── index.php      # Site management list
│   ├── add_site.php   # Add site
│   ├── edit_site.php  # Edit site
│   ├── logs.php       # View logs
│   └── notification.php # Notification settings
├── config/
│   └── database.php   # Database config
├── cron/
│   └── check_sites.php # Scheduled checks
├── includes/
│   └── functions.php  # Core functions
├── install/
│   ├── install.sql    # DB structure
│   └── add_sort_order.sql # Sort field
└── index.php          # Frontend display

Tech Stack

  • Backend: PHP 7.4+
  • Database: MySQL 5.7+
  • Frontend: Bootstrap 5, Font Awesome
  • Sorting: Sortable.js
  • Theme: CSS Variables + JavaScript
17 Likes

Thanks for sharing

thank you for open sourcing

Admire the Gods

Thank you for sharing

Thank you for sharing. Saved.

Thanks

This is not bad, useful

1 Like

thank you for sharing

It’s also very refreshing and quite good.

Thank you for sharing

Thanks for sharing

Not bad, thanks for sharing

Sharing is helpful, even if not useful.

1 Like

Thank you for sharing

1 Like

Thank the great contributor!

Thank you for sharing, should we add a link to the website for easy access?

Considering adding this, but it conflicted with another product I was working on at the time, so I didn’t add it: https://product.itzkb.cn, which is very simple and you just need one line of code for your frontend list, or throw it into AI and add it! After all, it’s open source, so feel free to use it however you like.

1 Like

Simplicity and usability are the most important!

1 Like

I set it up, but one website keeps showing an exception, even though it’s actually working!\n\nhttp://alay.loc.cc

1 Like