ONES Telemetry Agent Installation

On the Application machine, go to ONES-1.2/ones_t_agent folder

root@ones-application:~$ cd /ONES-1.2/ones_t_agent

Installation (Agent Install on multiple switches at the same time)

  • Enter device details (Management IP, Username and Password ) in device_info.csv

root@ones-application/ONES-1.2/ones_t_agent:~$ vi device_info.csv

ip,user,passwd
10.4.4.75,admin,YourPaSsWoRd
10.4.4.76,admin,YourPaSsWoRd
10.4.4.77,admin,YourPaSsWoRd 
...
...
...
  • Save the File

  • Verify and Clean up old versions of Agents running

root@ones-application/ONES-1.2/ones_t_agent:~$ python3 ones_agent_uninstaller.py

###########Connecting to Switch############ 
###########Connecting to Switch############ 
###########Connecting to Switch############ 
###########Connecting to Switch############ 
Connection to switch 10.4.4.75 successful………… 
Looking for previous installation………………………
Removing Agents currently installed…………………. 
Connection to switch 10.4.4.76 successful………… 
Looking for previous installation……………………….. 
ones-agent is not in the device 10.4.4.76 for uninstallation…. 
...
...
...
  • Execute the installation script can be used for installing telemetry agent on one or more devices in the data center.

root@ones-application/ONES-1.2/ones_t_agent:~$ python3 ones_agent_parallel_installer.py