zabbix-VEEAM_B-R icon indicating copy to clipboard operation
zabbix-VEEAM_B-R copied to clipboard

XML files not getting created

Open Trembler34 opened this issue 4 years ago • 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?

image

Trembler34 avatar Mar 16 '22 01:03 Trembler34

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)

xorRAT avatar May 28 '22 11:05 xorRAT

Having the same problem on Windows Server 2019 Standard. It works on 2022 Standard tho.

Somehow, launching it manually from powershell: powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1" ExportXml Creates files:

obraz

ThreshTheRed avatar Aug 10 '23 12:08 ThreshTheRed

Kind of workaround I did was to schedule a daily event on task scheduler.

ThreshTheRed avatar Sep 12 '23 13:09 ThreshTheRed