OpenSync
Use the OpenSync template to configure an embedded Linux integration that exposes the OpenSync platform APIs.
Choose and complete the applicable Generic Linux, OpenWrt, or RDK-B installation route first. When that guide reaches Configure the Agent, return to this article.
Using the OpenSync Configuration
Prepare the supplied configuration file for your package type.
For an Agent Updater package, copy the supplied OpenSync configuration to the runtime filename:
cd opt/thousandeyes/cdev/router_agent_updater/etc cp skagent.opensync.cfg skagent.cfgFor an agent-only package, update the supplied
etc/skagent.cfgfile in the agent tree.
Replace every
CHANGE MEvalue before adding the configuration to the image.In the supplied OpenSync configuration, set the stable WAN interface under
[identity.mac]and replace the authentication secret. Keep the OpenSync lookups for model, firmware, serial number, active uplink, and production client routing unless the target platform requires a different input.The OpenSync configuration reads model, serial number, firmware, and uplink information from the platform. These values describe the device and its uplink; they do not identify the customer or authenticate the agent.
Confirm the resolved values on the target.
Model
ovsh_awlan_node
Confirm the result
Serial number
ovsh_awlan_node
Confirm the result
Firmware
ovsh_awlan_node
Recheck after firmware changes
Cross-traffic interface
ovsh_connection_manager_uplink
Confirm after startup and failover
MAC
Interface input
Set the stable WAN interface and verify its MAC
Client
plume_lookup_api
Use the Org Client ID when testing a production image in the lab; otherwise confirm the emitted label and backend mapping
Authentication secret
Not supplied
Inject it securely
Current Agent Updater packages include the OpenSync template for armv7a and arm64. Confirm that ThousandEyes supplies a matching agent-only target before choosing agent-only for an OpenSync integration.
Setting the MAC
Find the interface carrying the default route:
The interface name follows
dev.Replace
eth0below with that name, then read its MAC address:
Use the MAC printed on the device label when the runtime interface address is not the stable customer identifier.
Setting Client Routing and Authentication
When testing a production image in the lab, use your Org Client ID so the agent is visible in your organization:
Otherwise, use the OpenSync platform lookup to provide the stable ISP or customer label agreed with ThousandEyes:
Tell ThousandEyes the exact label emitted by the platform before rollout. A label does not route devices until the backend mapping exists.
Starting After the Uplink Is Ready
Wait for the platform's uplink-ready state, not merely for an interface to exist. Starting earlier can resolve the wrong cross-traffic interface while activation still succeeds.
On a device with failover, confirm the resolved interface again after failover.
Verifying
If the integration uses the Updater, follow its log:
If the log repeatedly reports that it is polling for platform sockets, wait before continuing. Continue after activation issues a Unit ID, the agent package is downloaded and verified, and the log reports Service started. Resolve any logged error before running --device-info or the agent in self-test mode.
For agent-only integrations, skip the Updater log check.
Run the device information check from the agent installation directory:
Check the model, serial number, firmware, MAC, client, and cross-traffic interface. Then validate with self-test mode.
Last updated