Agentless Scan
The workstations and servers that are not part of any domain/network are scanned using Standalone Audit. This method involves a script being installed on the remote workstations which scan and push the inventory details to the AE server.
Note: Make sure to disable the "Stop uploading scanned XMLs via non-login URL" option under Admin ->>Scan Settings for Agentless Scan to work.
Scanning remote machines involve two simple steps,
-
Download the script from here.
-
Execute the script in the remote machines. On executing the script, the data is pushed to the server.
-
If the server is not reachable from the remote machine, an XML file is generated in the same folder from where the script is executed.
-
Import the XML file from the AssetExplorer application. You can see the stand-alone workstation details in the list view.
Accessing Standalone Audit configuration
You need to download the scripts from the links below to access the standalone audit configuration.
NOTE: Please note that the scripts are different for Windows, Linux, and MAC machines. Click the appropriate links below to download the script.
- Click here to download the script for Windows. Click here to download the script for Linux. Click here to download the script for Mac. Click here to download the script for HP-UX.Save the file as ae_scan.vbs for Windows machines. In the case of Linux, MAC, and HP-UX machines, save the file as ae_scan_linux.sh, ae_scan_mac.sh, and ae_scan_hpux.sh respectively.
- Open the command prompt. Change the directory to the folder where the script is saved and execute the following command.
For Windows:
CSCRIPT ae_scan.vbs
For Linux:
sh ae_scan_linux.sh
For MAC:
sh ae_scan_mac.sh
- Executing the script will push the data to the AE server. If the server is not reachable from the remote machine, an XML file is generated in the same folder.
- Locate and import the XML file from the application.
- Click Submit button. On importing the XML file, the stand-alone workstation is scanned and gets listed on the Workstation list view page.
FOR HP_UX:
sh ae_scan_hpux.sh
It is recommended to execute the script as a root / sudo user as shown below to avoid any latencies.
sudo sh ae_scan_hpux.sh
NOTE:
For Windows Machines:
The ae_scan.vbs file can be configured as a logon script in the active directory with script parameter as "-SilentMode".This will scan the target workstations upon user login and push the scanned inventory data to the AssetExplorer Server.
For Linux Machines:
The ae_scan_linux.sh file can be configured in crontab or as a start-up script so that the machines are scanned in a periodic manner and the data are pushed to the server. The data is pushed to the AE server using curl which has to be installed on the Linux machine.
For MAC Machines:
The ae_scan_mac.sh file can be configured in crontab or as a start-up script so that the machines are scanned in a periodic manner and the data are pushed to the server. The data is pushed to the AE server using curl which has to be installed on the MAC machine.
For HP-UX Machines:
The ae_scan_hpux.sh can be configured in crontab so that the machines are scanned in a periodic manner and the data is pushed to the server. curl is used for pushing the data to the server and has to be installed if it is not available in the HP-UX machines.