I have a vb script to check the log file update for every minute and it works perfectly in my local machine. Now I am using this script to monitor the log file in one of my server. I have created a device with the server name(XXX) and added a sensor Custom EXE/Script on the server name XXXXXXXXX
In the script i have file path as:
set File= "
roenma003a\mis$\Program Files\GIA NM General\General Image Archiver\2015.11.29_ERROR.log" (Which runs perfectly in my local machine) Then while running the script in PRTG server I have modified the file path as below: set File= "mis$\Program Files\GIA NM General\General Image Archiver\2015.11.29_ERROR.log" (This one is on the server XXX)
This Fails and I am getting Timeout (code:PE018) error. I am thinking PRTG is not able to find the file location because of the file path the way i have defined.
Is this the correct way of defining the file path in the script while running the script on the prtg server?
Your help is much appreciated.