I'm trying to monitor a text log file with the file content sensor searching it for the word error in it. However, I get an error saying, "Cannot access file: The system cannot find the path specified(3) (code: PE031)."
I know the path is correct, the file does exist, and has text in it. I have a file age sensor pointing at the same file and it is able to return the correct age of the file, so I know the probe is able to navigate the path. I am using the file content sensor on other log files just like this one located in the exact same directory and are working just fine.
Any help would be greatly appreciated! Thanks!
Article Comments
The account I am using is the local admin for the machine and I am able to get other file content sensors reading files in the same folder without issue using the same log on account, so I know it's not the account.
I ended up fixing this by using C$ instead of C:\ for the path on the sensors that weren't working. The others are still just using C:\. So, it's weird that some work and others don't, but it's not the big of a deal since it's working now.
Jun, 2015 - Permalink
Hello,
Please try to change the log on account from the PRTG Probe Service to an account with elevated access rights and see if the sensors works afterwards. I assume, that the access rights of the local system account from the Probe Server might not be sufficient at this point.
Best regards
Jun, 2015 - Permalink