Compare commits

..

2 commits

Author SHA1 Message Date
hhftechnologies
77c0fdd0a4 update 2024-11-19 23:12:31 +05:30
hhftechnologies
ea7ea0d62f update 2024-11-19 23:12:18 +05:30
4 changed files with 8 additions and 3 deletions

View file

@ -2,6 +2,8 @@
A simple web service for monitoring website availability. A simple web service for monitoring website availability.
![Image Home Page](image.png)
## Features ## Features
- Monitor multiple websites simultaneously - Monitor multiple websites simultaneously
@ -20,17 +22,19 @@ A simple web service for monitoring website availability.
### 1. Installation ### 1. Installation
1. Upload all files to your web server 1. Upload all files to your cloudpanel.
2. Ensure PHP has write permissions for the `monitors` directory 2. Ensure PHP has write permissions for the `monitors` directory
![alt text](image-2.png)
### 2. Configure Monitored Websites ### 2. Configure Monitored Websites
Edit `monitors.json` to add websites you want to monitor: Edit `monitors.json` to add websites you want to monitor:
```json ```json
{ {
"example.com": "https://example.com", "forum.hhf.technology": "https://forum.hhf.technology",
"wikipedia.org": "https://www.wikipedia.org" "git.hhf.technology": "https://git.hhf.technology"
} }
``` ```
@ -50,6 +54,7 @@ Place Markdown files in the `incidents` directory:
Add this to your crontab to run monitoring every minute: Add this to your crontab to run monitoring every minute:
![alt text](image-1.png)
```bash ```bash
* * * * * /usr/bin/php -f /path/to/monitor.php >/dev/null 2>&1 * * * * * /usr/bin/php -f /path/to/monitor.php >/dev/null 2>&1
``` ```

BIN
image-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
image-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB