Manually initiate a scan
When a change has been made or if you need to run a scan for support reasons, you can manually initiate a scan outside of the regular schedule for Snow Inventory Agent for Linux.
In the examples that follow, sudo is used. However, sudo is not required if the user running the snowagent has access to the commands as described in Commands used by the agent.
Initiate a scan of online computers
Use the commands below to trigger the agent to start a manual scan of the current computer and send the scan result to a Snow Inventory endpoint as defined in the <Server><Endpoint> element of the agent configuration file. A manual scan will start regardless of any schedule or other configuration. However, if there is a scan already running, a manual scan will not start.
Scan and send the scanning result:
sudo snowagent
Initiate a scan of offline computers
In scenarios where a computer is offline, or cannot communicate with a Snow Inventory endpoint, a one-time scan can be performed.
-
Copy the binary files of the agent to a directory on a USB memory stick.
-
On the offline computer to be scanned:
-
Insert the memory stick into the USB port.
-
In a Command Prompt window, navigate to the folder where the binary files are placed.
-
Run the following command to make the agent perform an instant scan of the current computer:
sudo snowagent scan
The scan result is put in a subdirectory on the USB memory stick.
-
-
Move the USB memory stick to an online computer with access to Snow Inventory.
-
On the online computer, run the following command to make the agent send the scan result to a Snow Inventory endpoint, as defined in the agent configuration file:
sudo snowagent send