546
edits
No edit summary |
|||
Line 20: | Line 20: | ||
The '''Allegro Network Multimeter''' allows the export of captured pcaps via SFTP. | The '''Allegro Network Multimeter''' allows the export of captured pcaps via SFTP. | ||
pcap files can be stored in an upload queue and be automatically uploaded to a remote host | pcap files can be stored in an upload queue and be automatically uploaded to a remote host once a day. | ||
once a day. | |||
This feature only works if a disk is attached to the device. | This feature only works if a disk is attached to the device. | ||
When ''PCAP Export via SFTP'' is enabled, a new checkbox ''Save to SFTP export directory'' is | When ''PCAP Export via SFTP'' is enabled, a new checkbox ''Save to SFTP export directory'' is added to the capture dialogue. If checked, the pcap will be stored to a special upload directory. | ||
added to the capture dialogue. If checked, the pcap will be stored to a special | |||
upload directory. | |||
In the configuration view, it is possible to see the files in the upload queue | In the configuration view, it is possible to see the files in the upload queue anddelete them or trigger an immediate upload. | ||
SFTP export allows SFTP authentication via public key or via password. The public key | SFTP export allows SFTP authentication via public key or via password. The public key is printed at the top of the configuration view. For public key authentication, the password field in the SFTP connection parameters can be left empty. | ||
is printed at the top of the configuration view. For public key authentication, the | |||
password field in the SFTP connection parameters can be left empty. | |||
A "Test upload" button uploads a file '''allegro-upload-test.txt''' into the configured | A "Test upload" button uploads a file '''allegro-upload-test.txt''' into the configured | ||
target directory on the remote host. | target directory on the remote host. | ||
Uploaded files are deleted from the storage device after successful upload. | |||
The upload can also be triggered manually via the web frontend or an REST API call: | |||
Method: POST | |||
URL: /API/system/sftp-export | |||
Payload: { uploadNow: true} | |||
Uploads are executed sequentially so it is safe to call the API with already running uploads. | |||
Limitation: There should be no running capture to the SFTP export as it would be uploaded incompletely. | |||
== Public statistics == | == Public statistics == |
edits