“aexcustinv.exe” gathers the custom inventory and generates the NSI file. “aexnsinvcollector.exe” collects & combines the NSI files and generates the NSE file from them.
10.With the above command line & parameters, AeXCustInv.exe will generate the NSI file at “...\Program Files\Altiris\eXpress\Inventory”. This is the default location for nsi files. Modify the “AeXIsHttp.ini”, as shown below, so that AeXNSInvCollector.exe generates the NSE in the “C:\Outbox” directory. Note that this is for testing purposes only. In a production environment, the default locations should be used.
11.Now, add files to the empty package. Click on the “Add” button and browse to “...\Program Files\Altiris\Notification Server\NSCap\bin\Win32\X86\Inventory\Custom Inventory 6.1”
12.Add the files shown below to the package. (Multiple file selection is not supported by the editor. Add each file individually.) After adding these files, the “Files” tab should appear as shown below.
13.Now go to the “Options” tab.
14.Change the “Command Line” value from “InvSoln.exe” to “AeXInvSoln.exe /s AeXIsHttp.ini /zfp /cleanbeforerun /useguid”. Add or remove command line parameters as required or desired for your environment.
15.Now click on the “Save” button. The “Package Editor” window should disappear.
16. Rerun "AeXPkgEditor.exe”, open the new/updated standalone package and verify that the changes are reflected in the package.
17.The “Options” tab for our standalone package should now look like:
and the “Files” tab should look like:
18.Click on “Cancel” button.
19.Now our modified “Custom Inventory” package is ready to gather the custom inventory on client machines.
20. Create a custom inventory data class. Go to the 7.x NS console and create the custom data class for example “AeX OS Quick Fix Engineering”. The menu tree path is: Settings, All Settings, Discovery and Inventory, Inventory Solution, Manage Custom Data Classes. Select 'New data class', enter a name and description and click OK. When the screen reloads, add each attribute as shown below.
21.Manually execute the standalone package on the client machine. The NSE for the custom data class should get created at “C:\Outbox”.
22.Manually copy the NSE file to "“...\Program Files\Altiris\Notification Server\NSCap\EvtQueue" directory on the SMP box.
23.The custom data class should get populated for the given computer resource, as shown below.
24. Modify the command lines in the “AeXIsHttp.ini” to use the parameters for the default locations for automatically sending the NSE file to the NS/SMP. Rerun aexpkgeditor.exe to validate that the ini file is updated with the new changes.
25. Deploy the standalone inventory package thru a method of your choice.
Imported Document ID: HOWTO59834
Subscribing will provide email updates when this Article is updated. Login is required.