ThousandEyes

Agent Installation

On Cisco ISR 4000 router

  • Install agent: app-hosting install appid $name package flash:/agentfile.tar

  • Configure agent

interface virtualportgroup 0
  ip address 192.168.168.254 255.255.255.0
  ip nat inside
interface g0
  ip nat outside
  ip address 203.192.168.1 255.255.255.252
ip nat inside source list NAT interface G0 overload
ip access-list extended NAT permit ip 192.168.168.0 0.0.0.255 any
app-hosting appid TEAgent
  app-vnic gateway0 virtualportgroup 0 guest-interface 0
    guest-ipaddress 192.168.168.10 netmask 255.255.255.0
  app-default-gateway 192.168.168.254 guest-interface 0
  app-resource docker
    prepend-pkg-opts
    run-opts 1 "-e TEAGENT_ACCOUNT_TOKEN=dkalfdaldafl"
    run-opts 2 "--hostname AGENT_NAME"
Note:
- Can configure agent inside the container: te-agent-config $token
  • Activate agent: app-hosting activate appid $name

  • Start agent: app-hosting start appid $name

  • Verification

    • show app-hosting list

    • app-hosting connect appid $name session: attach to agent

Reference

Last updated