diff --git a/modules/security/live-attack-monitor-v2.sh b/modules/security/live-attack-monitor-v2.sh index 176408d..d365cfa 100755 --- a/modules/security/live-attack-monitor-v2.sh +++ b/modules/security/live-attack-monitor-v2.sh @@ -1897,9 +1897,10 @@ monitor_apache_logs() { fi if [ ${#log_files[@]} -eq 0 ]; then - echo "ERROR: No accessible Apache log files found" >> "$TEMP_DIR/recent_events" - echo "Control panel: ${SYS_CONTROL_PANEL}, Log dir: ${LOG_DIR}" >> "$TEMP_DIR/recent_events" - return 1 + # Apache logs not found - skip HTTP monitoring but continue with other monitoring + # This is non-fatal; other monitors (SYN, SSH, email, etc.) will continue + echo "[WARNING] No accessible Apache log files found (control panel: ${SYS_CONTROL_PANEL}, log dir: ${LOG_DIR})" >> "$TEMP_DIR/debug.log" 2>/dev/null + return 0 # Don't fail - let other monitoring continue fi # Monitor all log files