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> |
||
|---|---|---|
| .. | ||
| channels | ||
| components | ||
| controllers | ||
| helpers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| gettext.ex | ||
| gettext_helpers.ex | ||
| permissions.ex | ||
| plug_exceptions.ex | ||
| router.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||