Commit Graph

18 Commits

Author SHA1 Message Date
cschantz d446a7afb4 Update documentation with PHP optimizer and establish development log
DOCUMENTATION UPDATES:

README.md changes:
- Added php-optimizer.sh to performance modules section
- Added 3 new libraries: php-detector.sh, php-analyzer.sh, php-config-manager.sh
- Added comprehensive PHP Configuration Optimizer feature description
- Updated with all capabilities (7-day analysis, OPcache tuning, auto-backup, rollback)

DEVELOPMENT_LOG.md (NEW):
- Comprehensive tracking document for ALL development work
- Detailed documentation of PHP optimizer (Dec 2-3, 2025)
- Component breakdown: 4 files, 2,960 lines, 45 functions
- Complete workflow documentation for Option 4
- Safety features and testing status documented
- Git commit history tracked
- Development guidelines established
- Placeholder sections for Nov 21-30 work to be filled in

DEVELOPMENT GUIDELINES ESTABLISHED:
- NO AI attribution in commits (per user instructions)
- Update DEVELOPMENT_LOG.md with every change
- Track file statistics and testing status
- Document all git commits and decisions

This establishes proper ongoing documentation practices going forward.
2025-12-03 00:45:15 -05:00
cschantz fc9a433503 Add Loadwatch Health Analyzer for system monitoring analysis
NEW FEATURE: Loadwatch Health Analyzer
- Comprehensive system health analysis from loadwatch monitoring logs
- Time-range analysis: 1h, 6h, 24h, 7d, 30d options
- Intelligent problem detection and trending

CAPABILITIES:
- Memory pressure detection (low available memory, high swap usage)
- CPU saturation analysis (idle %, iowait, steal time)
- Load average trending and threshold detection
- Process issue detection (zombie processes, high CPU/MEM consumers)
- MySQL performance monitoring (slow queries, thread counts)
- Network connection analysis
- Historical trending across snapshots (3-minute intervals)

IMPLEMENTATION:
- modules/diagnostics/loadwatch-analyzer.sh - Main analyzer script
- Handles symlinked loadwatch directories
- Parses 7 log sections: alerts, summary, memory, CPU, tasks, MySQL, network
- Generates detailed reports with actionable recommendations
- Saves reports to tmp/ directory for review

INTEGRATION:
- Added to Performance & Diagnostics menu (option 10)
- Time range selection submenu for user-friendly access
- Updated README.md with feature documentation and usage examples

ANALYSIS FEATURES:
- Swap threshold alerts (>= 50% usage)
- CPU saturation detection (< 10% idle)
- High I/O wait warnings (> 20%)
- Zombie process tracking
- Memory availability trending (avg/min/max)
- Top CPU consumers aggregated across period

Perfect for:
- Post-incident investigation
- Capacity planning
- Performance trending
- System health monitoring
- Identifying resource bottlenecks

Works with servers that have loadwatch monitoring enabled
(logs in /root/loadwatch or /var/log/loadwatch)
2025-11-20 20:35:16 -05:00
cschantz df92e7b2f1 Update README to v2.2 with multi-panel support accomplishments
MAJOR UPDATE: v2.1 → v2.2

Added new section highlighting multi-panel architecture completion:
- Full cPanel, InterWorx, and Plesk support (all production ready)
- 38/38 modules refactored (100% complete)
- Automated validation scripts (13 tests InterWorx, 15 tests Plesk)
- All critical paths verified on production systems

New section on System Detection & Abstraction:
- Automatic control panel detection
- Multi-panel user/domain management abstraction
- Dynamic log discovery for all panel types
- Zero hardcoded paths - all detection-based

Updated existing sections to reflect multi-panel capabilities:
- Website Diagnostics now explicitly multi-panel
- Security tools updated with multi-panel support
- Core Infrastructure highlights production validation

Changed tagline to reflect multi-panel support capabilities.

This represents the completion of the largest refactoring effort
to date, bringing full multi-panel support to the entire toolkit.
2025-11-20 16:35:52 -05:00
cschantz 1a5fb86692 Update README with all-in-one command using source 2025-11-11 18:23:03 -05:00
cschantz fc6c39231d Add wrapper script for automatic cleanup with zero manual steps
New workflow:
1. User runs: source run.sh (instead of bash launcher.sh)
2. Launcher runs normally
3. On exit with cleanup=yes, launcher sets flag file
4. Wrapper detects flag and does ALL cleanup automatically:
   - Cleans ~/.bash_history file
   - Clears current shell's in-memory history
   - Removes toolkit directory
   - No manual commands needed

The key: wrapper is SOURCED so it runs in parent shell and can modify history.

User experience: answer "yes" and cleanup happens instantly, automatically.
2025-11-11 18:22:10 -05:00
cschantz 631780e460 Simplify to single command with cleanup after 2025-11-11 17:59:29 -05:00
cschantz 1a34de97cc Add option to disable history before running curl command 2025-11-11 17:58:49 -05:00
cschantz c956f83338 Update README with privacy cleanup instructions 2025-11-11 17:58:11 -05:00
cschantz 21645ab4c4 Simplify README - just use trace eraser for privacy
Changes:
- Remove HISTFILE=/dev/null (doesn't actually work)
- Point users to built-in trace eraser tool
- Clean simple curl command

Reality: No bash trick reliably prevents history recording
Solution: Use the trace eraser after running toolkit
2025-11-11 17:41:24 -05:00
cschantz 216a6198a1 Use HISTFILE=/dev/null instead of leading space
Changes:
- Replace leading space with HISTFILE=/dev/null prefix
- More reliable - works on all systems
- Doesn't depend on HISTCONTROL settings

Command now prevents history recording universally
2025-11-11 17:39:16 -05:00
cschantz 746e559c16 Simplify README - remove comment from download command
Changes:
- Remove comment line inside code block
- Keep just the clean curl command
- Shorter tip below code block

Now easy to copy the command without extra lines
2025-11-11 17:37:43 -05:00
cschantz ac319b0705 Add leading space to README download command
Changes:
- Add leading space before curl command in README
- Add privacy tip explaining HISTCONTROL=ignorespace
- Updated comment to indicate privacy feature

Command now includes space to prevent history recording:
 curl -sL https://git.mull.lol/.../tar.gz | tar xz && ...
2025-11-11 17:36:45 -05:00
cschantz 2edaf8f772 Update README to v2.1.0 with complete feature documentation
Directory Structure Updates:
- Added backup/ module (16 Acronis Cyber Protect scripts)
- Added website/ module (error analysis tools)
- Added maintenance/ module
- Updated security/ module with IP reputation manager

Key Features Additions:
- Complete Acronis backup management documentation
- Website diagnostics capabilities
- Enhanced security features section

Usage Examples:
- Added Acronis backup management examples
- Added website error analysis examples
- Updated all examples with current menu paths

Recent Updates:
- Bumped version to 2.1.0
- Reorganized updates into categories
- Documented all major features added since v2.0
2025-11-06 22:32:09 -05:00
cschantz b441f3880a Fix install command with correct lowercase directory name 2025-11-03 19:26:24 -05:00
cschantz 5717d73d3a Update README with all-in-one installation command
- Added single-line command to download and run
- Downloads from Gitea, extracts, and launches in one go
- Keeps original method as alternative for already installed
2025-11-03 19:19:02 -05:00
cschantz da22b79983 Merge remote README with local comprehensive version 2025-11-03 18:28:38 -05:00
cschantz a51d968185 Initial commit: Server Management Toolkit v2.0
- Complete security menu restructure (3-mode: Analysis/Actions/Live)
- Intelligent cPHulk enablement with CSF whitelist import
- Live network security monitoring dashboard
- Multi-source threat detection and classification
- 50+ organized security tools across 4-level menu hierarchy
- System health diagnostics with cPanel/WHM integration
- Reference database for cross-module intelligence sharing
2025-11-03 18:21:40 -05:00
cschantz 1a13e11978 Initial commit 2025-11-03 18:14:51 -05:00