Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No xml Generated #43

Open
GamerClassN7 opened this issue Oct 31, 2019 · 14 comments
Open

No xml Generated #43

GamerClassN7 opened this issue Oct 31, 2019 · 14 comments

Comments

@GamerClassN7
Copy link

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 ?

@romainsi
Copy link
Owner

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

@GamerClassN7
Copy link
Author

I will try that tomorow

@GamerClassN7
Copy link
Author

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

@GamerClassN7
Copy link
Author

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

@GamerClassN7
Copy link
Author

Can i somehow run data transfer maualy to zabbix ?

@GamerClassN7
Copy link
Author

image

@GamerClassN7
Copy link
Author

Any idea why ?

@romainsi
Copy link
Owner

romainsi commented Nov 14, 2019

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"]'

@GamerClassN7
Copy link
Author

First one yes
and second i will test that immediately

@GamerClassN7
Copy link
Author

image

@GamerClassN7
Copy link
Author

Hello, Any news ?

@GamerClassN7
Copy link
Author

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

@Randy29800
Copy link

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

@GamerClassN7
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants