I've created a powershell script, which requests if all servers made their last backup -> Script is working fine. Now I'm creating a sensor and adding this to the main server, but instead of the result everything is ok I'm getting this error message "Systemfehler: Cannot open log Veeam Agent on machine WJZ-SRV100. Windows has not provided an error code. At C:\Program Files (x86)\PRTG Network Monitor\custom sensors\EXE\VeeamLog.ps1:6 char:14 + ... $veeam = Get-EventLog -ComputerName $server -LogName 'Veeam (Code: PE022)"


Article Comments

What parameters are you using for the script? Did you already try to use the security context option?


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Nov, 2018 - Permalink

Hi Stephan,

thank you for the response, I'm using no parameters. What security context option do you mean?

Best Regards, Matej Vujicic


Nov, 2018 - Permalink

In the sensor settings, you have a section "Security Context". When this is set to "Use credentials of parent device", is the sensor working afterwards?


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Nov, 2018 - Permalink

Yes!!! Thank you very much, switched the credentials and the sensor is working fine.

Best Regards Matej


Nov, 2018 - Permalink