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

No xml Generated

Open GamerClassN7 opened this issue 5 years ago • 14 comments

Zabbix server and agent are 4.0.13 Veeam 9.5

not even with: PS C:\Windows\system32> powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\z abbix_vbr_job.ps1" ExportXml

image

image

there are no xml Files only folder is created can anybody help me ?

GamerClassN7 avatar Oct 31 '19 09:10 GamerClassN7

Hi,

Check that your powershell execution policy is correct (get-executionpolicy), and no problems with UAC.

With powershell check the success of the export manually with :

Add-PSSnapin -Name VeeamPSSnapIn
Connect-VBRServer
Get-VBRBackupSession | Export-Clixml .\testExport.xml

romainsi avatar Oct 31 '19 15:10 romainsi

I will try that tomorow

GamerClassN7 avatar Nov 03 '19 17:11 GamerClassN7

Now are xmls here :/ but for some reason in zabbix i still see only: image

GamerClassN7 avatar Nov 05 '19 09:11 GamerClassN7

Could it be because of Timeout ? and How can i check that ??

GamerClassN7 avatar Nov 06 '19 08:11 GamerClassN7

Can i somehow run data transfer maualy to zabbix ?

GamerClassN7 avatar Nov 06 '19 08:11 GamerClassN7

image

GamerClassN7 avatar Nov 06 '19 09:11 GamerClassN7

Any idea why ?

GamerClassN7 avatar Nov 12 '19 17:11 GamerClassN7

Hi,

Can you check your zabbix_agentd.conf contains the userparameter ? UserParameter=vbr[*],powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1" "$1" "$2" "$3"

On your zabbix server you can test that and return the error : zabbix_get -s "yourveeamserver" -k 'vbr["DiscoveryBackupJobs"]'

romainsi avatar Nov 14 '19 09:11 romainsi

First one yes and second i will test that immediately

GamerClassN7 avatar Nov 28 '19 08:11 GamerClassN7

image

GamerClassN7 avatar Nov 28 '19 08:11 GamerClassN7

Hello, Any news ?

GamerClassN7 avatar Jul 02 '20 13:07 GamerClassN7

Progress is that xml are generated but items are labeled in discover like unsupported even when i try it on machine image

GamerClassN7 avatar Jul 02 '20 13:07 GamerClassN7

Hi Did you solve your problem? I ve got the same :(

Randy29800 avatar Mar 22 '21 15:03 Randy29800

@Randy29800 yes, try to set Agents to active mod instead of passive this helped me

GamerClassN7 avatar Apr 14 '21 09:04 GamerClassN7