SAUTECH MONITORING - CORRECT PRODUCTION LAYOUT Web application: https://apps.sautech.net/monitoring/ Deploy everything INSIDE the monitoring/ folder to the web root folder: .../apps.sautech.net/monitoring/ Agent API: https://apps.sautech.net/monitoring/agent_api.php WhatsApp remains a SEPARATE sibling folder: https://apps.sautech.net/whatsapp/ Meta callback MUST remain: https://apps.sautech.net/whatsapp/webhook.php Deploy: whatsapp/webhook.php to the existing /whatsapp folder. The webhook loads: ../monitoring/lib.php so incoming WhatsApp messages and Meta delivery/read statuses are stored in the same monitor.db used by the combined monitoring portal. Do NOT move the webhook under /monitoring. Do NOT change Meta's callback URL to /monitoring. The combined monitoring portal's "WhatsApp Replies" page reads those stored messages and allows admin to reply, remove from inbox, restore, and keep history. Agents included under monitoring/agents are configured to: https://apps.sautech.net/monitoring/agent_api.php The separate future uptime/checkpoint area mentioned previously is NOT used as a WhatsApp webhook path.