Further condense README - remove excessive verbosity
Changes: - System Diagnostics & Performance section: 19 lines → 7 lines - Removed detailed sub-bullets for Loadwatch and PHP Optimizer - Condensed to clean feature list - Recent Updates section: 74 lines → 11 lines - Removed excessive checkmarks and detailed breakdowns - Condensed to key highlights and current feature count - Directory structure: Removed duplicate diagnostics/ entry - Fixed "Website Diagnostics & Troubleshooting" → "Website Diagnostics" Before: 292 lines total After: ~210 lines (28% reduction from previous version) README is now concise and scannable without losing essential info.
This commit is contained in:
@@ -13,9 +13,9 @@ server-toolkit/
|
|||||||
│ │
|
│ │
|
||||||
│ ├── diagnostics/ # 🔍 System Diagnostics
|
│ ├── diagnostics/ # 🔍 System Diagnostics
|
||||||
│ │ ├── system-health-check.sh # Comprehensive health analysis
|
│ │ ├── system-health-check.sh # Comprehensive health analysis
|
||||||
│ │ └── loadwatch-analyzer.sh # System health from loadwatch monitoring logs
|
│ │ └── loadwatch-analyzer.sh # Historical system health analysis
|
||||||
│ │
|
│ │
|
||||||
│ ├── security/ # 🛡️ Security & Threat Analysis
|
│ ├── security/ # 🛡️ Security & Monitoring
|
||||||
│ │ ├── bot-analyzer.sh # Full bot/threat analysis
|
│ │ ├── bot-analyzer.sh # Full bot/threat analysis
|
||||||
│ │ ├── live-attack-monitor.sh # Real-time attack monitoring dashboard
|
│ │ ├── live-attack-monitor.sh # Real-time attack monitoring dashboard
|
||||||
│ │ ├── ssh-attack-monitor.sh # SSH brute force detection
|
│ │ ├── ssh-attack-monitor.sh # SSH brute force detection
|
||||||
@@ -29,13 +29,10 @@ server-toolkit/
|
|||||||
│ │ ├── acronis-*.sh # Acronis Cyber Protect (9 management scripts)
|
│ │ ├── acronis-*.sh # Acronis Cyber Protect (9 management scripts)
|
||||||
│ │ └── mysql-restore-to-sql.sh # MySQL/MariaDB database restore & dump tool
|
│ │ └── mysql-restore-to-sql.sh # MySQL/MariaDB database restore & dump tool
|
||||||
│ │
|
│ │
|
||||||
│ ├── website/ # 🌐 Website Diagnostics & Troubleshooting
|
│ ├── website/ # 🌐 Website Diagnostics
|
||||||
│ │ ├── website-error-analyzer.sh # Comprehensive website error analysis
|
│ │ ├── website-error-analyzer.sh # Comprehensive error analysis
|
||||||
│ │ └── 500-error-tracker.sh # Track and analyze 500 errors
|
│ │ ├── 500-error-tracker.sh # Fast 500 error tracking
|
||||||
│ │
|
│ │ └── wordpress/ # WordPress tools
|
||||||
│ ├── diagnostics/ # 🔍 System Diagnostics & Log Analysis
|
|
||||||
│ │ ├── system-health-check.sh # Comprehensive health analysis
|
|
||||||
│ │ └── loadwatch-analyzer.sh # System health monitoring from loadwatch logs
|
|
||||||
│ │
|
│ │
|
||||||
│ ├── performance/ # 📊 Performance Analysis
|
│ ├── performance/ # 📊 Performance Analysis
|
||||||
│ │ ├── hardware-health-check.sh # Hardware diagnostics
|
│ │ ├── hardware-health-check.sh # Hardware diagnostics
|
||||||
@@ -109,24 +106,13 @@ source /root/linux-server-management-toolkit/run.sh
|
|||||||
- **Log Integration**: Apache, PHP-FPM, cPanel error log analysis
|
- **Log Integration**: Apache, PHP-FPM, cPanel error log analysis
|
||||||
- **Smart Recommendations**: Context-aware suggestions for fixing issues
|
- **Smart Recommendations**: Context-aware suggestions for fixing issues
|
||||||
|
|
||||||
### 🔍 System Diagnostics & Performance Monitoring
|
### 🔍 Performance & Diagnostics
|
||||||
- **Comprehensive Health Checks**: Hardware, services, security posture
|
- **System Health Check**: Comprehensive hardware, services, and security posture analysis
|
||||||
- **Loadwatch Health Analyzer**: Historical system health analysis from monitoring logs
|
- **Loadwatch Analyzer**: Historical system health analysis (1h/6h/24h/7d/30d time ranges)
|
||||||
- Time-range analysis: 1h, 6h, 24h, 7d, 30d
|
- **MySQL Query Analyzer**: Slow query detection and optimization recommendations
|
||||||
- Memory pressure detection and swap usage trending
|
- **Network & Bandwidth Analyzer**: Traffic analysis and top consumers
|
||||||
- CPU saturation analysis (idle, iowait, steal time)
|
- **Hardware Health Check**: SMART, memory, CPU sensors
|
||||||
- Process issue detection (zombies, high CPU/MEM consumers)
|
- **PHP Configuration Optimizer**: Per-domain PHP-FPM tuning with auto-backup and zero downtime
|
||||||
- MySQL performance monitoring
|
|
||||||
- Actionable recommendations based on findings
|
|
||||||
- **PHP Configuration Optimizer** (NEW!): Per-domain PHP optimization
|
|
||||||
- Analyzes PHP-FPM pool configurations across all domains
|
|
||||||
- Detects max_children issues from 7-day error log history
|
|
||||||
- OPcache hit rate analysis and tuning recommendations
|
|
||||||
- Memory limit optimization based on actual usage
|
|
||||||
- Auto-backup before changes with rollback capability
|
|
||||||
- Graceful PHP-FPM reload for zero downtime
|
|
||||||
- Supports cPanel, InterWorx, Plesk, standalone Apache
|
|
||||||
- **Smart Recommendations**: Context-aware suggestions based on findings
|
|
||||||
- **Multi-Panel Support**: cPanel, InterWorx, Plesk, standalone Apache
|
- **Multi-Panel Support**: cPanel, InterWorx, Plesk, standalone Apache
|
||||||
|
|
||||||
### 📊 Session Intelligence
|
### 📊 Session Intelligence
|
||||||
@@ -207,79 +193,16 @@ nano /root/server-toolkit/config/settings.conf
|
|||||||
|
|
||||||
## 📊 Recent Updates (v2.1)
|
## 📊 Recent Updates (v2.1)
|
||||||
|
|
||||||
### December 2025 - Major Cleanup & Optimization
|
### December 2025 Highlights
|
||||||
|
- **Launcher Cleanup**: Removed 90+ phantom menu items, reduced from 1,576 to 574 lines (64% reduction)
|
||||||
|
- **Performance**: Cached domain status checks save ~5 minutes on 50-domain servers
|
||||||
|
- **MySQL Restore Tool**: Advanced database recovery with intelligent Force Recovery detection
|
||||||
|
- **Multi-Panel**: Full support for cPanel, InterWorx, Plesk, standalone Apache
|
||||||
|
|
||||||
#### Launcher Streamlined (NEW!)
|
### Current Feature Set
|
||||||
- ✅ Removed 90+ phantom menu items pointing to non-existent scripts
|
- **41 Working Modules**: Security (14), Website (3), Performance (5), Backup (11), Diagnostics (8)
|
||||||
- ✅ Reduced from 1,576 lines to 574 lines (64% reduction)
|
- **Reference Database**: 1-hour cached status for cross-module intelligence
|
||||||
- ✅ Cleaned up 7-level nested menus to 3 levels maximum
|
- **Zero Hardcoded Paths**: Automatic control panel detection and path abstraction
|
||||||
- ✅ Every menu item now points to a real, working script
|
|
||||||
- ✅ Faster navigation and no more "module not found" errors
|
|
||||||
- ✅ Main menu: 6 categories, 41 total working options
|
|
||||||
|
|
||||||
#### Performance Optimizations
|
|
||||||
- ✅ Bot analyzer now uses cached domain status (eliminates redundant HTTP checks)
|
|
||||||
- ✅ Saves ~5 minutes on 50-domain servers (no more curl requests per check)
|
|
||||||
- ✅ All modules use centralized reference database for domain status
|
|
||||||
- ✅ 1-hour cache prevents wasteful re-checking
|
|
||||||
|
|
||||||
#### MySQL/MariaDB Database Restore Tool
|
|
||||||
- ✅ Advanced database recovery from file-based backups
|
|
||||||
- ✅ Multi-control panel support (cPanel, InterWorx, Plesk, standalone)
|
|
||||||
- ✅ Intelligent Force Recovery with smart detection
|
|
||||||
- ✅ Safe selective restore (single DB from full backup, zero data loss)
|
|
||||||
- ✅ InterWorx path fix (/chroot/home instead of /home symlink)
|
|
||||||
- ✅ SQL output saved to restore directory parent (not control panel dirs)
|
|
||||||
- ✅ Safety features: disk space validation, directory protection, recovery warnings
|
|
||||||
|
|
||||||
#### Documentation Updates
|
|
||||||
- ✅ Main README updated with streamlined menu structure
|
|
||||||
- ✅ New modules/backup/README.md (comprehensive backup tools documentation)
|
|
||||||
- ✅ Updated usage examples to match new launcher
|
|
||||||
- ✅ All recent features documented
|
|
||||||
|
|
||||||
### Multi-Control Panel Support
|
|
||||||
- ✅ Full cPanel support (primary platform - production ready)
|
|
||||||
- ✅ InterWorx support (validated on real servers - production ready)
|
|
||||||
- ✅ Plesk support (validated on real servers - production ready)
|
|
||||||
- ✅ Standalone Apache support (basic functionality)
|
|
||||||
- ✅ 41 modules refactored for multi-panel architecture
|
|
||||||
- ✅ All critical paths verified on production systems
|
|
||||||
|
|
||||||
### Core Features Implemented
|
|
||||||
|
|
||||||
**Security & Monitoring (14 tools)**
|
|
||||||
- Bot & Traffic Analyzer (full + quick scan)
|
|
||||||
- Live Attack Monitor + 3 specialized monitors
|
|
||||||
- IP Reputation Manager
|
|
||||||
- Malware Scanner
|
|
||||||
- 4x Log tail viewers
|
|
||||||
- cPHulk enablement
|
|
||||||
- CT_LIMIT optimization
|
|
||||||
|
|
||||||
**Website Diagnostics (3 tools)**
|
|
||||||
- Website Error Analyzer
|
|
||||||
- Fast 500 Error Tracker
|
|
||||||
- WordPress Tools (WP-Cron manager)
|
|
||||||
|
|
||||||
**Performance Analysis (5 tools)**
|
|
||||||
- MySQL Query Analyzer
|
|
||||||
- Network & Bandwidth Analyzer
|
|
||||||
- Hardware Health Check
|
|
||||||
- PHP Configuration Optimizer
|
|
||||||
- Loadwatch Health Analyzer
|
|
||||||
|
|
||||||
**Backup & Recovery (11 tools)**
|
|
||||||
- Complete Acronis Cyber Protect integration (9 scripts)
|
|
||||||
- MySQL/MariaDB database restore
|
|
||||||
- Cleanup toolkit data
|
|
||||||
|
|
||||||
### System Infrastructure
|
|
||||||
- ✅ Reference database for cross-module intelligence (.sysref with 1-hour cache)
|
|
||||||
- ✅ Automatic control panel detection (system-detect.sh)
|
|
||||||
- ✅ Multi-panel user/domain management (user-manager.sh)
|
|
||||||
- ✅ Cached domain status checks (eliminates redundant HTTP requests)
|
|
||||||
- ✅ Zero hardcoded paths - all detection-based
|
|
||||||
|
|
||||||
## 🙏 Credits
|
## 🙏 Credits
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user