How to run individual scripts to view data gathered by Inventory Solution for Unix, Linux and Macintosh 7.x

Article:HOWTO32547  |  Created: 2010-10-14  |  Updated: 2014-07-22  |  Article URL http://www.symantec.com/docs/HOWTO32547
Article Type
How To



Inventory for ULM includes individual scripts to gather inventory data. These scripts are found at:

      /opt/altiris/notification/inventory/var/repo/providers/CltInv_Common/aex-shellprovider/scripts

 
There are scripts to gather memory, processor, disk and much more inventory data. Running these scripts from a shell will display the results to a screen. This provides a method to see exactly what inventory solution is gathering from a client computer.
 
Scripts are categorized as follows: Hardware (HW), Operating System (OS), Software (SW) and User & Group (UG). Sub-directories for each of these categories, each of which contains multiple inventory scripts, are:
  • CltInv_HW
  • CltInv_OS
  • CltInv_SW
  • CltInv_UG
If Inventory Pack for Servers is installed, the following directories will also exist here: 
  • SrvInv_DB 
  • SrvInv_OS 
  • SrvInv_VM 
  • SrvInv_WEB
 
To run these inventory scripts: 
  1. cd to:                   /opt/altiris/notification/inventory/var/repo/providers/CltInv_Common/aex-shellprovider/scripts/
  2. Run the script:   ./CltInv_<category>/<scriptname>

Output should display to the screen. (The "Invalid GUID" messages can be ignored when running the scripts manually.)

Note: You will need to run these with root privileges (log in as 'root' or use sudo). Also, some data may not be returned if authentication is required, i.e., Inventory Pack for Servers database inventory.

The figure above shows an example of how to find and run the Altiris_HW_Baseboard-Solaris.sh script on a Solaris Machine. The bash shell can be opened by entering bash into the terminal.

 IMPORTANT: Do NOT modify these scripts. Doing so could break inventory solution.

 





Article URL http://www.symantec.com/docs/HOWTO32547


Terms of use for this information are found in Legal Notices