Agent Health Return Codes
The agenthealth.ps
utility validates:
-
Super-user privilege
-
CTE Agent installation
-
CTE registration to key manager
-
CTE processes/modules that are running
-
Available disk resources:
-
Current GuardPoints: Tests if the agent can reach the GuardPoints
-
CTE log directory resource status
This directory contains pending CTE log files for upload. This utility reports the size and number of pending files for upload. These text files are logs that contain vmd/SecFS information. They are regenerated whenever secfs restarts. If the number of files is unexpectedly large, this can indicate a problem.
Agent Health Check Script
The Agent health check script (agenthealth.ps1
)is located in C:\Program Files\Vormetric\DataSecurityExpert\agent\shared\bin\
To run the Agenthealth
check script:
-
Run the power shell command to enable self-signing for the system.
Before running agent-health script make sure power shell command has enough privileges to execute the Powershell script. Some Windows operating systems have default execution policy set as
restricted
.Use the Powershell command
Set- Execution-policy Remote Signed
to change the execution policy if needed. -
Open the
Powershell
prompt as administrator. -
Type:
.\agenthealth.ps1
System Response
Log file is at log\agent_health.log Checking super user privilege............................. OK Vormetric Agent installation............................... OK Vormetric policy directory................................. OK Registration to server..................................... OK Kernel drivers are loaded.................................. OK VMD is running............................................. OK SECFSD is running......................................... OK rhat26130.qa1.com is resolvable..........K..................OK rhat26130.qa1.com port 8446 is reachable................... OK rhat26130.qa1.com port 8447 is reachable................... OK Can communicate to at least one server..................... OK VMD is listening on port 7024.............................. OK Time of last update from server 2016-12-01 14:39:49.038 Checking available disk space.............................. OK Checking logging space ............................... OK Log directory is "" File system for log data is "/", 32G free (17% full) Log directory contains 2 of maximum 200 files (1% full) Log directory contains 1 of maximum 100 Mbytes used (1% full) Testing access to C:\GP2................................... OK