NCP
  • Network Copilot
  • What's New?
  • Quick Start
  • Getting Started
    • System Requirements
      • On-Prem Deployment
      • Cloud Deployment
    • Licensing
    • Metrics Matrix
    • Onboarding Data
    • Scalability
  • Downloading Network Copilot
  • Deploying & Managing Network Copilot
    • Deployment Prerequisites
    • Installing Prerequisite Packages
    • Deploying the NCP Package
    • Managing Network Copilot
      • Upgrading License
      • Upgrading NCP
      • Uninstalling NCP
  • Web UI Administration
    • License Activation
    • Login Page
    • Dashboard Overview
    • Inventory Management
      • Onboarding Switches
        • Using ONES Telemetry Agent
        • Using SNMP
          • Adding Switches using YAML
          • Adding Switches using CSV
        • Using sFlow
        • Using API
        • Using gNMI
    • User Accounts
  • Accessing NCP
  • External Integrations
    • Communication & Collaboration
      • NetBox
      • Cisco Nexus Dashboard
      • Slack
    • Data Ingestion
      • AWS S3
      • Azure
      • ELK Stack
      • Google Cloud Storage
      • InfluxDB
      • Loki
      • Snowflake
      • Splunk
  • Use Cases
    • Basic NetOps
    • Flow Analytics
    • Security Audits
    • Inventory Insights
    • Support Knowledge Base
    • Upgrade Compliance
  • Contact Aviz Networks Support
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Web UI Administration
  2. Inventory Management
  3. Onboarding Switches

Using ONES Telemetry Agent

On the NCP Controller:

  • Navigate the installation directory cd ncp-rx.x.x-en1/ones_t_agent

  • Edit device inventory file vi device_info.csv and add your inventory

The valid region types are predefined keywords: superspine, spine, leaf, and tor, each representing a specific role within the network hierarchy

device_info.csv
ip,user,passwd,layer,region,azid,brickid,rackid
"10.4.2.12","admin","YourPaSsWoRd","leaf","NYK",1,1,1
"10.4.2.13","admin","YourPaSsWoRd","leaf","NYK",1,1,1

Set Collector IP Restriction to 'No' if NAT is used, as IP translation can block device communication with the NCP Controller.

  • Run ./ones_agent_parallel_installer.sh to initiate the ONES Agent installation on SONiC switches

aviz@server:~/ncp/ncp-rx.x.x-onprem/ones_t_agent$ ./ones_agent_parallel_installer.sh
Does the ONES-agent is integrated with SONiC NOS? (yes/no): no
Do you want to add only Collector IP for auto-discovery and skip the agent installation ?(yes/no): no
Enter the ip address of collectors to auto-discover. Do not enter more than 2. Eg - 10.1.1.10,10.2.2.5 : 10.4.4.11
Do you want to restrict access only to provided collector ip?
Note: Providing Yes will restrict access to agent only with the provided collector IP Address
Enter Yes/No: No
468025bd9c12: Loading layer [==================================================>]   2.56kB/2.56kB

<...>

Deployment of ones-agent to switch 10.4.4.61 is successful
agent_installer

Docker agent_installer has been stopped
agent_installer

Docker agent_installer has been removed
Untagged: avizdock/agent_installer:latest
Deleted: sha256:6604bbec1feedd9169ea6cca598650bf2f1fe659ae587e9637f80adabe877eeb
Deleted: sha256:4754441bc1128ca32bd0085e2a366e111b4882359cdebc92560d243a671f33e3
Deleted: sha256:c803c23f2ec84e2601fa5e5d954b1cbf406167ae057d7200e9d2f61ba1f402fa
Deleted: sha256:f9279b9fbc87fee822c69ea9cacc2f9d9a10d9c54bbc21732205684ea3bcf0b1
Deleted: sha256:27ea50b3cb2914caa5f99e5268ba0b47e15fb7c490275f560c54e400162e2cc3

Docker  image has been removed

aviz@server:~/ncp/ncp-rx.x.x-onprem/ones_t_agent$
PreviousOnboarding SwitchesNextUsing SNMP

Last updated 1 month ago

Was this helpful?

More details about the ONES Telemetry Agent can be found .

here