Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EzARBgNVBAgMCkNhbGlmb3JuaWExFDASBgNVBAoMC1plZGVkYSBJbmMuMSQwIgYD

...

Tech-Support Command

The 'techsupport' command is to gather most of the EdgeView other command output and save into a compressed file then uploading to user's laptop. This is similar to some router vendor's "show tech-support" command on devices. The command includes the above mentioned EdgeView commands:

Network: (route, arp, if, acl, connectivity, url, socket, app, mdns, nslookup/google.com, trace/8.8.8.8, wireless, flow)

System: (hw, model, pci, usb, lastreboot, newlog, volume, app, datastore, cipher, dmesg, configitem)

Pubsub: (nim, domainmgr, nodeagent, baseosmgr, tpmmgr, global, vaultmgr, volumemgr, zedagent, zedmanager, zedrouter, zedclient, fsmanager, edgeview, watcher)

See detail of the description of each command in this document.

Similar to 'cp' and 'log/copy-logfiles', the 'techsupport' requires docker volume of directory '/download' be mounted in user's local system. This command takes a while to run (about 60 seconds). Here is an example of the output:

edgeview.sh techsupport

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

file: name techsupport-20220816202445.gz, size 82317

=================================================

file saved at /download/techsupport-20220816202445.gz

User can view the file:

% ls -l /tmp/download/techsupport-20220816202445.gz

-rw-r--r-- 1 naiming wheel 82317 Aug 16 13:25 /tmp/download/techsupport-20220816202445.gz

View the file content:

zcat < /tmp/download/techsupport-20220816202445.gz | head -50

- Show Tech-Support -


Device IPs: [192.168.86.36]; Endpoint IP 167.12.91.124:40839
UUID: 07ab2c40-408a-4bc2-b9f2-8ca94235074f
Controller: zedcloud.local.zededa.net
EVE-OS release 0.0.0-master-ca6084b9-dirty-2022-08-16.20.07-kvm-amd64, IMGA
Edge-View Ver: 0.8.2, JWT expires at 2022-08-23T01:35:56Z
2022-08-16T20:24:45Z(UTC), uptime 474 (sec) = 0 days


- network info -


=== Network: <route> ===


- ip rule:

1000: table 510, ip rule 1000: from all to all table 510

routes in table: 510
{Ifindex: 10 Dst: <nil> Src: <nil> Gw: <nil> Flags: [] Table: 510 Realm: 0}

...