Using ONES Telemetry Agent
ONES Agent v2.1 support Agent Auto discovery
ONESv2.1 Agent support auto-discovery feature
ONESv2.1 Agent support to send telemetry on multiple controllers (Max 2)
Restrict IP feature can be enabled/disabled
Only Collector upgrade after Deployment is possible now
Using the Restrict IP feature agent will discover the ONES Controller and will update the entry on the ONES App with all the feature metrics
Need to add a few inputs while installing the agent
Controller IP //To restrict the telemetry streaming
Device Credentials
Layer
Region
azid
brickid
rackid
Installation
On the Application machine, go to ONES-2.1/ones_t_agent folder
--UPDATE HERE--
The user needs to add all the required details in the CSV file, This CSV file will be used to push this information to agent.conf(/etc/sonic/agent.conf) file to every switch and ones-agent on the switch will pick the details from agent.conf file and will register itself to ONES controller with all the given parameters this helps a NetOps engineer to directly add a CSV file containing all the details, The Engineer needs not to add one by one devices on the controller which actually is time-consuming
ONES Telemetry Agent can be installed on SONiC-based switches, provided as part of the NCP Package, navigate to the below location to start the installation
Navigate to the ones_t_agent folder
Edit the device inventory in the ‘device_info.csv’ file
The user must maintain the layer names exactly as specified above (case-sensitive). If the user inputs names that differ from these, they may encounter issues when using the ONES application.
It's important to restrict collector IP as NO in case the running network has NAT translation from private to public IP for ONES server access from the device.
Installation Begin
Now Agent will only stream the metrics to the given controller & will autoregister on the ONES-App
The user needs to make sure, The devices have a unique name, otherwise, there will issue while plotting the full topology view(Topology Page).
Run the ‘ones_agent_parallel_installer.sh’ script to start the agent installation on the SONiC Switches
After the Installation is complete, Switches will auto-discover the Controller and start streaming data to the Dashboard
Last updated