Skip to content

Inventory by USB

Requirements

Run the Usody pendrive

  1. Insert the Usody USB pendrive into the PC to be inventoried.

  2. Initialise the PC with the USB boot enabled, see configuring for USB booting.

  3. Wait for the execution to finish, duration is 2-3 minutes.

    [INIT] ===== Starting Workbench =====
    [VERSION] 2022.5.2-beta
    [SNAPSHOT ID] Y7JLZ
    [STEP 1] ---- Generating Snapshot ----
    [INFO] LSHW successfully completed.
    [INFO] DMIDECODE successfully completed.
    [INFO] LSPCI successfully completed.
    [INFO] HWINFO successfully completed.
    [INFO] SMART on sda successfully completed.
    [INFO] SMART on sdb successfully completed.
    [INFO] Snapshot JSON successfully completed.
    [STEP 2] ---- Saving Snapshot ----
    [INFO] Snapshot JSON successfully completed.
    

    Step 2: If you got the message "Snapshot JSON successfully completed", you will find the "Snapshot" file in the "wb_snapshots" folder of the pendrive, see how to access the snapshot file on the flash drive.

    [STEP 3] ---- Uploading Snapshot ----
    [DH URL] https://api.testing.usody.com/api/inventory/
    [INFO] Snapshot JSON successfully uploaded.
    [DEVICE ID] /devices/4E7MX
    [EXIT] ===== Workbench finished =====
    

    Step 3: If you get the message "Snapshot JSON successfully uploaded" you will find the "Snapshot" in the list of uploaded Snapshots, if there is an error you get the message: [EXCEPTION] Post snapshot exception: HTTPSConnectionPool, see how to fix it here

If there is an error in STEP 3, the Snapshot does not upload to your inventory, to upload it manually do the following two steps:

  1. Access the snapshot file on the pendrive
  2. Upload snapshot files