Snapshot troubleshooting¶
Enabling full trace debug¶
If snapshots keep failing on a specific device, you may want to collect a full trace of the commands and replies exchanged in the background between Netshot and the device. A hidden option makes this easy.
- Select the device, and click the Snapshot button to open the Take snapshot dialog.
- Double-click the icon (the blue arrow) to reveal the checkbox Enable full debug of the CLI session (only for troubleshooting). Tick the box and click Save to start the snapshot.
- After the snapshot has failed, click the Download debug logs link to get the full trace.
Capturing SSH traces¶
- Add the following line to
/etc/netshot.conf:
- Reload Netshot to apply:
- Start a snapshot and extract the logs from
/var/log/netshot/netshot.log. - Remove the config line and reload Netshot to disable the temporary debug.