Discovery and Inventory Group

 View Only
  • 1.  Inventory Scanning Too long time

    Posted Dec 10, 2015 10:52 AM

    Why Altiris Hardware inventory scan taking very long time more than 9hours in UNIX machine?

  • 2.  RE: Inventory Scanning Too long time

    Posted Dec 11, 2015 11:09 AM

    If it's hardware inventory, you can try running the inventory scripts manually. Here are a couple kb article that explain how. - Manually running inventory ULM scripts - Gathering inventory data for troubleshooting purposes


    And, here's a shell script that will run each inventory script. You can create and run it anywhere on your system since it changes to the correct directory. 

    By running this, you can see which category or script is hanging. We can trouble shoot from there. 


    ### Modify the shell in the above statement, as appropriate or required

    ### this script requires sudo or root priviliges


    # cd to the correct directory for running individual shell scripts.

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


    # find the current OS

    # Test for OS/Platform. Case-sensitive values used in script names are: AIX, Darwin, HPUX, Linux, Solaris.

    CurOS=`uname -s`

    #if [ "$CurOS" = "Linux" ]; then

    #  filemask="*$CurOS*.sh"


    case "$CurOS" in

      Linux)  filemask="*Linux*.sh" ;;

      Darwin) filemask="*Darwin*.sh" ;;

      SunOS)  filemask="*Solaris*.sh" ;;

      HP-UX)  filemask="*HPUX*.sh" ;;

      AIX)    filemask="*AIX*.sh" ;;



    # loop thru specific list of directories; run each shell script for appropriate OS

    for dir in CltInv_HW CltInv_OS CltInv_SW CltInv_UG SrvInv_DB  SrvInv_OS  SrvInv_VM  SrvInv_WEB


      for file in $dir/$filemask


        echo "Processing script: $file"





  • 3.  RE: Inventory Scanning Too long time

    Posted Dec 11, 2015 01:44 PM

    Thanks Sure will check and update.

    Meanwhile is there anyway in SQL report which shows task history of unix machines for last 30 days.

  • 4.  RE: Inventory Scanning Too long time

    Trusted Advisor
    Posted Mar 02, 2016 04:27 PM

    The console has a canned report.  Reports>All Reports>Task Server>Task Summary by Resource


    You can clone the report and add in the OS criteria to pull just your UNIX machines.