1: Open CMD as an
Administrator
2: Download zip file containg script using running below command in CMD
curl -o txcontact_monitor_script.zip https://amber.txcontact.com/txcontact_monitor_script.zip
3: Extract the ZIP file.
tar -xf txcontact_monitor_script.zip
4: Change directory into the script folder.
cd txcontact_monitor_script
5: Run install_ping_monitor script
install_ping_monitor.bat
Restart the machine once script is run.
This script will create a task scheduler which runs
ping_monitor.bat as soon as machine is restarted
. ping_monitor.bat script will create 3 files in
C:\Windows\Temp\TxContactPingLogs.
Those files are:
a: <curent_date>_ds_tnx_svr1_txcontact_com.txt
b: <curent_date>_google_com.txt
c: <curent_date>_amber_txcontact_com.txt
These files can be analysed to check if the issue was created by Agent's Internet/VPN problem/Server Problem.
Run the below commands if you want to discontinue the ping test scripts, has to be run in Administartor CMD.
schtasks /delete /tn "TxContactNetworkPingMonitorOnAwake" /f
schtasks /delete /tn "TxContactNetworkPingMonitorOnRestart" /f
schtasks /delete /tn "TxContactNetworkPingMonitor" /f