XML files not getting created
Trembler34 opened this issue · 3 comments
I was able to fix the various other errors with the discovery issues but now it seems the XML files are not getting generated.. I am getting this error. Ive checked UAC on machine, execution policy, etc.. I can manually execute the script to the point it asks for an option..
What could be causing this problem?
I solved my problem like this:
-Give access(for your user) in regedit :"HKEY_LOCAL_MACHINE\SOFTWARE\VEEAM
-Check your ExecutionPolicy in powershell: Get-ExecutionPolicy
set Unrestricted
-run(run as Administrator):
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1" ExportXml
-Check folder: "C:\Program Files\Zabbix Agent\scripts\TempXmlVeeam"
-Also check zabbix_agent.conf configuration, Zabbix-Server-Web(Administration-General-Regular Expressions)
Kind of workaround I did was to schedule a daily event on task scheduler.