mirror of
https://github.com/taylanbakircioglu/haproxy-openmanager.git
synced 2026-09-24 11:26:29 +00:00
4f2405e57a
CRITICAL FIX: Embedded daemon section needed same HTTP error logging PROBLEM: - Agent install script embeds daemon via heredoc (Line ~755-1999) - Previous commit only updated installer functions, not embedded daemon - Agents still showed old heartbeat error format SOLUTION: - Updated send_heartbeat() in embedded daemon section - Added HTTP status code checking - Added backend error response logging - Added warning comment about embedded daemon updates IMPORTANT: - When updating agent functionality, BOTH sections must be updated: 1. Embedded daemon (Line 755-1999) 2. Installer functions (Line 2000+) PRODUCTION IMPACT: - Agents now log detailed HTTP errors in embedded daemon mode - Better troubleshooting for heartbeat failures - Consistent error reporting across all agent modes