Compare commits
2 commits
e5fd11edbd
...
77c0fdd0a4
Author | SHA1 | Date | |
---|---|---|---|
![]() |
77c0fdd0a4 | ||
![]() |
ea7ea0d62f |
4 changed files with 8 additions and 3 deletions
11
README.md
11
README.md
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
A simple web service for monitoring website availability.
|
A simple web service for monitoring website availability.
|
||||||
|
|
||||||
|

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

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

|
||||||
```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
BIN
image-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
BIN
image-2.png
Normal file
BIN
image-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
BIN
image.png
Normal file
BIN
image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 428 KiB |
Loading…
Reference in a new issue