Hi, I can't get the file content sensor to work properly. I get this error message every time:
Cannot access fil,e: The system cannot find file specified(2) (code: PE031)
I've checked some requirements: - File and path, seems correct and the string as well, tried different ones. - account privileges "account is domain admin" - Tried to recreate the sensor several times. - Tried on W2K8 and W2K12 servers.
Any ideas/thoughts?
Cheers R.
Article Comments
Hey roberto,
could it be, that you have anyway the wrong path? Could you post the path to your file, whats in the sensor settings?
The error says that the server can't finde the file you want to monitor. This could be the wrong path or other wrong settings.
With the path i could help you more.
It should look like this:
<<volume name ex. c$>>\<<foldername>>\<<filename>> Not more, only folder names
The server name is from the "host" where the sensor takes place.
Best
Sascha
Dec, 2014 - Permalink
Hi There,
Thanks for your replies.
@PRTGTools: The error is always there, as soons when I resume the sensor it goes into error state.
@Sascha: This is the full path D:\MBI\Webserver\AppServer\Server1\logs\FarOut.log
I've checked the file "FarOut.log" the string I put there "exit" the word is in there and the file isn't changed.
Dec, 2014 - Permalink
Hey roberto,
try it with this string:
D$\MBI\Webserver\AppServer\Server1\logs\FarOut.log
You have to connect like from another server. If you try to connect to the folder from PRTG you do something like this:
connect to: <<domainname/ipadress>>\d$\MBI\Webserver\AppServer\Server1\logs\FarOut.log
With this, it will be correctly. Please try it out.
Thank's
Sascha
Dec, 2014 - Permalink
Please also note that d$ is an administrative share, this share will not be visible to the PRTG probe running on the local system account!
Dec, 2014 - Permalink
Ok, my fault, i've missed this information, thank's ;), but the credentials are from domain administrator.
So this will work for you ;), with local as @PRTGToolsFamily says, it won't.
Best
Sascha
Dec, 2014 - Permalink
@Sascha: This did the trick:" "D$\MBI\Webserver\AppServer\Server1\logs\FarOut.log"
I don't prefer to use UNC path.
Thank you very much!
NB: PRTG IS case sensitive concerning given search string!
Dec, 2014 - Permalink
Do you get the error every now and then, or is the error always there?
Could it be that this file gets recreated by a process instead of having data appended to it?
Dec, 2014 - Permalink