feat: agent missing edge onboarding support #875
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar#875
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: #2533
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2533
Original created: 2026-01-27T06:33:59Z
Is your feature request related to a problem?
serviceradar-agentseems to be missing the support to do edge onboarding:It should accept -enroll -token
This aligns it to accept edge onboarding packages created by
web-ng, where users can go into the UI andgenerate the onboarding package, all the user should have to do is take the token and pass it to the agent on the CLI, the agent base64 decodes the string, which should contain the address of the
serviceradar-agent-gatewayand so on. I think historically we had the edge onboarding process generating a config and pushing that down as well, not sure if that is really necessary/still implemented in the elixir rewrite ofserviceradar-core.So really the core needs to be returning the external IP address of the agent-gateway in the onboarding package, the agent receives it, and updates its config on the filesystem. Need to also make sure the
serviecradar-agent-gatewayis reachable to edge agents.Another option is to ship serviceradar-cli with the agent and let the cli handle updating the config.
https://192.168.2.235/admin/edge-packages also appears to be broken:
Also I'm not really sure how the agent-gateway would be aware of its external IP address if it were running in docker or k8s. We might have to add some UI into web-ng settings pages where we can just hardcode that in, it would be a task the user does after installation or if they needed to deploy edge packages, this is a pre-requisite?
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.