Discovery and Inventory Group

Expand all | Collapse all

Stand Alone Inventory gives Incorrect Information regarding File Inventory

  • 1.  Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Posted 01-28-2014 11:11 PM
    Here are the steps to reproduce the issue
     
    1) Create a "Stand Alone Inventory Package" and Add / Include Folder for Desktop, Selected Hardware, Software, File Properties, Server Applications Types of Inventory to Gather.
    2) Place 2 Files on the Win 7 system PUTTY and SSE TOOLS
    3) Run the Stand Alone Inventory Package which went successful
    4) Open SMP and Resource Manager for Win7 system check under View > Inventory : Data Classes - Software Management -
         Installed File Details and i was able to see the Putty and SSE Tools File
    5) Delete SSE Tools, Added CALC.EXE and rename Putty to Putty_session2
    6) Ran the Stand Alone Inventory Package which went successful
    7) Open the same location as mention in (4)
    8) You will be able to see Putty, Putty_session2, SSE Tools and Calc
     
    *Ideally It should be Putty_session2 and Calc Only.
     
    Release : 7.5 HF2
     


  • 2.  RE: Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Broadcom Employee
    Posted 01-29-2014 06:14 AM

    I doubt whether deleted file NSE is created in case of Standalone, the reason is that the Standalone package is extracted in temp folder where InvData.mdb file (this file is used as a reference for comparison while creating deleted file NSE) also reside.

    When Standalone gathered the inventory it delete the extracted components from temp folder, so we don't have any reference for creating the deleted file “AuditPls_deletedfiles.nse” when next time we gather the inventory using standalone. 

    Thanks,

    Vipin



  • 3.  RE: Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Posted 03-27-2014 10:29 AM

    Hello Arty
    Can you please share the mentioned script

    Thanks
    MS
     



  • 4.  RE: Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Broadcom Employee
    Posted 01-29-2014 03:38 PM

    Could one create a trigger on the dataclasses that needed to be accurate in the standalone inventory?  The trigger would do something like delete other records from that same resource guid with an older timestamp?  This would only work if you were planning on only sending full inventory each time. 



  • 5.  RE: Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Broadcom Employee
    Posted 03-26-2014 11:24 AM

    Hi there,

     

    We had the same issue with 7.1.  It turned out that a full inventory will not do a complete refesh of the installed files data class.

    Our Symantec support engineer provided us a script that runs and send s a blank NSE to clear out he Installed files data class for the resource.  then if you follow that with a full inventory the install files will populate with the most up to date data.

     

    Strange but true!

     

    regards



  • 6.  RE: Stand Alone Inventory gives Incorrect Information regarding File Inventory

    Broadcom Employee
    Posted 03-27-2014 10:43 AM

    Hi there MS,

     

    Yes this script is here

     

    On Error Resume Next
    'Create a blank nse for the Installed File Details class
    dim nse, InstalledFileDetails, oDataClass, oDataBlock
    set nse = WScript.CreateObject ("Altiris.AeXNSEvent")
    nse.To = "{1592B913-72F3-4C36-91D2-D4EDA21D2F96}"
    nse.Priority = 1
    InstalledFileDetails = "{A3855A05-D687-4969-8356-94717DF261F2}"
    set oDataClass = nse.AddDataClass (InstalledFileDetails)
    set oDataBlock = nse.AddDataBlock (oDataClass)
         
    nse.SendQueued

    Please bear in mind this was designed to run on 7.1 so the guid may be different in 7.5.

    It will clear the installed files data class for the resource and if you follow this up with a full inventory, the installed file details willl be populated with the correct data.  We are now setting this up a schedule to refresh our Installed Files data class weekly.

     

    Regards,

     

    Arty Ziff