bug: unable to collect metrics from device using its public IP address #1004
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar#1004
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Imported from GitHub.
Original GitHub issue: #2783
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2783
Original created: 2026-02-11T01:58:45Z
Describe the bug
https://demo.serviceradar.cloud/devices/sr%3A7588d12c-e8da-4b9e-a21d-8cc5c7faef38/interfaces/ifindex%3A4
in:interfaces device_id:"sr:7588d12c-e8da-4b9e-a21d-8cc5c7faef38" interface_uid:"ifindex:4" latest:true limit:1We tried to setup SNMP polling on a couple of the interfaces on a device that was discovered via SNMP/discovery engine. DIRE (device identity and reconciliation engine) created a new device record for this, but we should have probably created some relationship between the parent device and this so we could reach it via SNMP polling, since we've created a device record based on this discovered public IP address, but it is unreachable across the network due to firewall that we are not opening up.
I'm guessing we don't keep track of this right now and we probably should, one place to do this would just be in the apache age topology graph, and the poller would have to do a check first or maybe do some kind of fallback where if we can't reach the public IP address, we lookup the parent and query it instead. Apache age lookups are probably overkill and would be way slower than just adding this information to the device in
platform.ocsf_devicesschemaTo Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.