bug(mapper): no topology links being found #814

Closed
opened 2026-03-28 04:28:49 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #2424
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2424
Original created: 2026-01-21T06:16:29Z


Describe the bug

{"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","hostname":"tonka01","ip":"216.17.46.98","mac":"0e:ea:14:32:d2:77","device_id":"0e:ea:14:32:d2:77","source":"snmp","time":"2026-01-21T06:11:05Z","message":"Adding new device"}
{"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","hostname":"tonka01","mac":"0e:ea:14:32:d2:77","device_id":"0e:ea:14:32:d2:77","alternate_ip":"192.168.10.1","primary_ip":"216.17.46.98","source":"snmp","time":"2026-01-21T06:11:05Z","message":"Device updated with alternate IP"}                                                              {"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","devices":1,"interfaces":94,"topology_links":0,"time":"2026-01-21T06:11:05Z","message":"Completed succe
ssfully"}

This is on tonka01, it may be that there are no topology links but I find this hard to believe. We need to enable SNMP on the aruba switch and see if we can discover this through the mapper. It also doesn't seem like we are properly identifying/classifying network devices, we should be able to identify and label devices as routers, l2 switches, l3 switches, firewall, load balancer, etc and update the device in ocsf_devices.

Once we add the aruba switches SNMP configuration, I would expect that if the mapper is pointed at tonka01, and the aruba is connected to tonka01 via some switchport, we should be able to detect that the aruba is a switch, and then create a topology link between the router and switch represented in apache-age/cnpg/cypher.

I'm not sure how this would work or if it provides value, but I'm wondering if we should be creating topology links on tonka01 to our ISP/uplink as well.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2424 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2424 Original created: 2026-01-21T06:16:29Z --- **Describe the bug** ``` {"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","hostname":"tonka01","ip":"216.17.46.98","mac":"0e:ea:14:32:d2:77","device_id":"0e:ea:14:32:d2:77","source":"snmp","time":"2026-01-21T06:11:05Z","message":"Adding new device"} {"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","hostname":"tonka01","mac":"0e:ea:14:32:d2:77","device_id":"0e:ea:14:32:d2:77","alternate_ip":"192.168.10.1","primary_ip":"216.17.46.98","source":"snmp","time":"2026-01-21T06:11:05Z","message":"Device updated with alternate IP"} {"level":"info","component":"agent","job_id":"fa52c162-ce5b-49b6-a4b2-90fa702a792c","devices":1,"interfaces":94,"topology_links":0,"time":"2026-01-21T06:11:05Z","message":"Completed succe ssfully"} ``` This is on tonka01, it may be that there are no topology links but I find this hard to believe. We need to enable SNMP on the aruba switch and see if we can discover this through the mapper. It also doesn't seem like we are properly identifying/classifying network devices, we should be able to identify and label devices as routers, l2 switches, l3 switches, firewall, load balancer, etc and update the device in ocsf_devices. Once we add the aruba switches SNMP configuration, I would expect that if the mapper is pointed at tonka01, and the aruba is connected to tonka01 via some switchport, we should be able to detect that the aruba is a switch, and then create a topology link between the router and switch represented in apache-age/cnpg/cypher. I'm not sure how this would work or if it provides value, but I'm wondering if we should be creating topology links on tonka01 to our ISP/uplink as well. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **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):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2424#issuecomment-3938080365
Original created: 2026-02-21T03:36:18Z


closing, stale

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2424#issuecomment-3938080365 Original created: 2026-02-21T03:36:18Z --- closing, stale
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#814
No description provided.