remove monitor.php — SSH pull monitoring replaced by push-based agent

This commit is contained in:
2026-06-13 15:49:35 -04:00
parent a9f21810b1
commit 6c6ad957bc
4 changed files with 3 additions and 68 deletions

View File

@@ -116,17 +116,7 @@ server {
}
```
### 5. Cron Job for Monitoring
```bash
# Add to crontab (runs every minute)
sudo crontab -u www-data -e
# Add line:
* * * * * php /var/www/servermanager/bin/monitor.php >> /var/www/servermanager/logs/cron.log 2>&1
```
### 6. Start Services
### 5. Start Services
```bash
sudo systemctl restart php8.3-fpm nginx mysql
@@ -171,7 +161,6 @@ All credential accesses are logged:
```
ServerManager/
├── bin/
│ ├── monitor.php # CLI: collect metrics
│ └── generate-key.php # CLI: generate master key
├── config/
│ └── config.php # App configuration