feat(v3): SNMP Probe + NinjaOne Live Query (Sprint 1 PR 3) #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "a1/sentinel-v3-ground-truth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
src/snmp-probe.js:queryArpTable/queryMacTable/queryInterfaceStatus/getNetworkSegmentSnapshot— RFC1213/1493 OIDs,net-snmp, MAC-Normalisierung, Timeout-Race-Pattern, MOCK_SOURCES+SNMP_COMMUNITY Guardssrc/live-query.js:shouldFetchLive(DRIFT_CRITICAL|MEDIUM-Confidence → trigger, 15min-Cooldown gesetzt inshouldFetchLive) +fetchLiveState(NinjaOne script-run → poll bis COMPLETED/FAILED)src/ninjaone-client.js:getNinjaTokenals öffentlichen Exportsrc/db.js:storeLiveSnapshot— ninja_live-Snapshots aus PS-Script-Output in snapshots-Tabellesrc/sentinel.js: Draft-Verdict →shouldFetchLive→fetchLiveState→storeLiveSnapshot→buildDriftSummaryRecompute →emitVerdictTest plan
npm test)MOCK_SOURCES=true→queryArpTable/queryMacTablegeben[]SNMP_COMMUNITY→ alle SNMP-Funktionen geben[]shouldFetchLivegibtfalsewennLIVE_QUERY_SCRIPT_IDnicht gesetztshouldFetchLive-Aufruf gibtfalsefetchLiveStategibtnullbei FAILED/TIMED_OUT NinjaOne-Job