update
This commit is contained in:
parent
ea7ea0d62f
commit
77c0fdd0a4
3 changed files with 6 additions and 3 deletions
|
@ -22,17 +22,19 @@ A simple web service for monitoring website availability.
|
|||
|
||||
### 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. Configure Monitored Websites
|
||||
|
||||
Edit `monitors.json` to add websites you want to monitor:
|
||||
|
||||
```json
|
||||
{
|
||||
"example.com": "https://example.com",
|
||||
"wikipedia.org": "https://www.wikipedia.org"
|
||||
"forum.hhf.technology": "https://forum.hhf.technology",
|
||||
"git.hhf.technology": "https://git.hhf.technology"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -52,6 +54,7 @@ Place Markdown files in the `incidents` directory:
|
|||
|
||||
Add this to your crontab to run monitoring every minute:
|
||||
|
||||

|
||||
```bash
|
||||
* * * * * /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 |
Loading…
Reference in a new issue