Intrust Deployment Manager

Is there a way to export data from the deployment manager through email or saving a local copy of the data?

  • Hi Akshar,

    Please save the following script as .ps1 and run it on an InTrust Server.


    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    <#
    .SYNOPSIS
    Dumps real-time event collection information into a CSV file.
    .DESCRIPTION
    Real-time collections are created and can be viewed in InTrust Deployment Manager. This script dumps the information displayed there into a CSV file for further analysis.
    The script is intended to be run on any of the InTrust servers in the InTrust organization under an account which has at least Read permissions in the InTrust organization.
    The following columns are written in default mode:
    - CurrentTimeLocal
    - ServerName
    - ServerVersion
    - AgentName
    - AgentDomain
    - AgentStatus
    - AgentVersion
    - AgentType
    - CollectionName
    - RepositoryName
    - DataSourceName
    - DataSourceStatus
    - LastEventTimeGMT
    The following columns are added in -Verbose mode:
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    • Thank you Igor. I am receiving the error below (i replaced the actual key with x): 

      An error occurred at line 159 : System.ArgumentException: Item has already been added. Key in dictionary: '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' Key being added: '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'
      at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
      at System.Collections.Hashtable.Add(Object key, Object value)
      at System.Management.Automation.HashtableOps.Add(IDictionary lvalDict, IDictionary rvalDict)
      at lambda_method(Closure , Object[] , StrongBox`1[] , InterpretedFrame )

      • Hi Akshar,

        I was able to reproduce this situation, please wait a while for the fixed script...

        • Please try this one which is probably fixing the issue:

          Fullscreen
          1
          2
          3
          4
          5
          6
          7
          8
          9
          10
          11
          12
          13
          14
          15
          16
          17
          18
          19
          20
          21
          <#
          .NOTES
          QUEST SOFTWARE PROPRIETARY INFORMATION
          This software is confidential. Quest Software Inc., or one of its
          subsidiaries, has supplied this software to you under terms of a
          license agreement, nondisclosure agreement or both. You may not copy,
          disclose, or use this software except in accordance with those terms.
          Copyright 2019 Quest Software Inc.
          ALL RIGHTS RESERVED.
          QUEST SOFTWARE INC. MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE,
          EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY,
          FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. QUEST SOFTWARE SHALL NOT BE LIABLE FOR
          ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
          .NOTES
          Version: 9
          Date: November 21, 2019
          .SYNOPSIS
          Dumps real-time event collection information into a CSV file.
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

          • Hi Igor, that worked great- thank you!

            One question- instead of choosing fields, can I get all the available fields? Then I can modify the script myself with only the fields I am interested in returning.

            • Well, this script just follows the structure of the InTrust Configuration database objects, so the request of "all fields" has unclear scope, there are lots of them. I'm using ADCServers, ADCDataSources, ITRTDataSources, ITRTCollectings, ADCSites, LiveSyslogDevices and ITRTAgents tables and analyze and join their properties by GUIDs if they are in the scope of the script. You can look into the database and find out and grab other columns in these tables. However, some information that the product (IDM) is showing relies on live network requests and cannot be obtained from database. I wonder, do you miss any specific field even in Verbose mode? If so, you can tell me and I will include it to the list. BTW, I also have to say that the feature of direct CSV export from the IDM UI may be included into one of the upcoming releases.