Older agents send PING job results as SnmpResult messages instead of MonitoringCheck messages, causing FunctionClauseError when process_job_result/3 tried to pattern match on job_type: :PING. Added handler that: - Catches PING results in SnmpResult format - Logs warning that agent should be upgraded - Creates monitoring check with success status - Stores result via store_monitoring_check This prevents crashes while maintaining backward compatibility until all production agents are upgraded to use MonitoringCheck format. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent_channel.ex | ||
| agent_socket.ex | ||