Skip to content

mhhakim/WebsiteMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

It's a PHP based program which can monitor is your website running properly or not. This program will notify you every time via Telegram when website running status is changed. This program is not coming with a fantastic UI or any admin panel. You have to config everything manually.

How does it work?

You can set a keyword/text while adding website details. Every time the cron job runs, it will search that keyword in the given URL's content. If match found, everything is normal. If not matched, you should get notified. A website will mark as down after two times mismatch in a row.

Requirements

This program is written in PHP so, PHP must require. As the program runs every time by a cronjob, cron is required. And yes, this program doesn't need any database!

How to setup?

  • Extract the program files.
  • Edit config.php & add your telegram bot token & chat ID.
  • The sites directory contains all the website(which going to be monitored.) data.
  • Add cron.php to your cronjob & set how often you want to run the monitoring program.

How to set a cron job?

  • Search on Google, man. Why you are so lazy?

How I get required Telegram data?

  • You already know the answer, don't you?

Releases

No releases published

Packages

No packages published

Languages