agentinfo Utility
The agentinfo
utility collects system logs, CTE agent logs, CTE agent trace information, and system information for diagnostic purposes. All this information is saved in the destination path and compressed into a zip file. The agentinfo
utility is available as an agentinfo.js
Java command and as an agentinfo.ps1
PowerShell command.
agentinfo Utility (Java version)
The agentinfo.js
utility is a JavaScript file. You can open it in a text editor to see specific functions.
The agentinfo.js
support collection scripts reside in the following path on systems where the CTE agent is installed.
To run the agentinfo
script on Windows, navigate to one of the following folders:
C:\Program
Files\Vormetric\DataSecurityExpert\agent\vmd\bin
or
C:\Program
Files\Vormetric\DataSecurityExpert\agent\shared\bin
Then run the following script:
agentinfo.js
agentinfo Utility (PowerShell version)
The PowerShell version of agentinfo
supports several parameters.
PowerShell version agentinfo parameters
-
Directory
- Specify the directory where all the collection information is saved. By default, this information is saved in the current directory. -
ZipFile
- Specify the name of the compressed file, where all the collected information will be archived. By default, this information is saved in the current directory. -
Logfile
- Specify the name of the files where verbose logs will be saved. By default, this information is saved in the current directory.
Examples for using agentinfo utility (PowerShell version)
To save all the collection information in “c:\AgentLogs”
folder, run the following command:
.\agentinfo.ps1 -Directory ‘C:\AgentLogs’
To save all the collected information in “c:\AgentLogs”
folder and verbose logs in “c:\temp\AgentInfo.log”
, run the following command:
.\agentinfo.ps1 -Directory ‘C:\AgentLogs’ -LogFile ‘c:\temp\AgentInfo.log’
To save all the collected information in “c:\AgentLogs”
folder, verbose logs in “c:\temp\AgentInfo.log”
, and create the “AgentInfo.zip” archive file, run the following command:
.\agentinfo.ps1 -Directory ‘c:\AgentLogs’ -LogFile ‘c:\temp\AgentInfo.log’ -ZipFile ‘C:\temp\AgentInfo.zip’
Note
PowerShell 5.1 or later is required. Use the $PSVersionTable.PSVersion
command to confirm which PowerShell version you are using.