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

Problem with Veeam monitoring #130

Open
Stu5000 opened this issue Apr 4, 2017 · 7 comments
Open

Problem with Veeam monitoring #130

Stu5000 opened this issue Apr 4, 2017 · 7 comments

Comments

@Stu5000
Copy link

Stu5000 commented Apr 4, 2017

I'm having trouble getting the Veeam monitoring to work. I'm using Zabbix 3.2 and Veeam Backup and Replication 9.5. On the veeam server I can run the zabbix_vbr_job.ps1 script manually ok (after signing it and running with appropriate permissions) and the zabbix agent also appears to run the discovery script ok, but the Running Job query is timing out. See an abridged excerpt of the zabbix_agentd.log file below (Server names redacted)
Note, it also takes a long time for the RunningJob query to complete manually ~50 seconds. I have the timeout set to its maximum of 30 seconds in the zabbix_agentd.win.conf file, but evidently this is not long enough.

  8888:20170404:140721.402 Requested [vbr["RunningJob"]]
  8556:20170404:140721.402 Requested [vbr["Discovery"]]
…
  8556:20170404:140742.592 EXECUTE_STR() command:'%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -nologo -command "& C:\Zabbix\zabbix_vbr_job.ps1" "Discovery" ""' len:717 cmd_result:'{"data":[{"{#JOBID}"'
  8556:20170404:140742.592 Sending back [{"data":[{"{#JOBID}":"904a7234-9165-4053-9f11-20c290c93355","{#JOBNAME}":"Server1Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"dbf7239d-02fa-4568-91f6-5ae9885eca3d","{#JOBNAME}":"Server2Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"5b575259-fb14-43c2-9031-6834ff62de07","{#JOBNAME}":"Server3Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"6bf842cc-61fd-4303-8377-6fcc3618b183","{#JOBNAME}":"Server4Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"b532116f-9ed4-486c-93dd-7e6ee21dc8d5","{#JOBNAME}":"Server5Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"bf6d0b0d-69ef-45f7-9644-f4e2fff0da8b","{#JOBNAME}":"Server6Job","{#JOBSCHEDULED}":"True"},{"{#JOBID}":"b106526a-1533-4d4f-9d90-f55b214b6cb8","{#JOBNAME}":"Server7Job","{#JOBSCHEDULED}":"True"}]}]
…
  8888:20170404:140751.405 Sending back [ZBX_NOTSUPPORTED: Timeout while executing a shell script.]

When I look at the discovery rule in the zabbix web interface it has Not supported status "Value should be a JSON object"
And the Number of running jobs item has Not supported status "Timeout while executing a shell script".
In the zabbix server log it mentions a network error.

 14107:20170404:130204.383 Zabbix agent item "vbr["Discovery"]" on host "veeam-svr" failed: first network error, wait for 15 seconds
 14152:20170404:130219.089 resuming Zabbix agent checks on host "veeam-svr": connection restored
 14152:20170404:130239.097 Zabbix agent item "vbr["RunningJob"]" on host "veeam-svr" failed: first network error, wait for 15 seconds
 14154:20170404:130254.152 resuming Zabbix agent checks on host "veeam-svr": connection restored

Any ideas whats going wrong? I'm fairly new to both Zabbix and Veeam so it may be something trivial I have missed.

@jreynaert
Copy link

jreynaert commented Jul 31, 2017

Veeam support confirmed the problem, haven't received an update yet, since march 2017.
But the latest update 9.5.0.1038 fixed it.

@xenadmin
Copy link

@jreynaert If you have a support case open, I would be glad to open another support case where I can reference you. If you could provide me a reference and the exact error you reported, I will gladly open a case too, to increase the pressure. We have 15+ Customers with Veeam + Zabbix who used this successfully in the past.

@DanielG27
Copy link

Anybody having this issue still? I can't get this to work with Veeam 9.0/9.5 in combination with Zabbix 3.2/3.4. Anybody any ideas?

@xenadmin
Copy link

xenadmin commented Oct 9, 2017

We are on Zabbix 3.2.7 and Veeam 9.5 and everything works. Can you give more Details?

@marcps
Copy link

marcps commented Nov 9, 2017

I'm on Zabbix 3.2.7 and Veeam 9.5. It works fine except for the following errors (from zabbix_server logs)

Zabbix agent item "vbr[VmCount,X]" on host "X" failed: first network error, wait for 15 seconds
Zabbix agent item "vbr[VmCount,X]" on host "X" failed: another network error, wait for 15 seconds
resuming Zabbix agent checks on host "X": connection restored

which happen every 10 minutes or so

Any ideas?

@xenadmin
Copy link

What happens if you collect the data via zabbix_get? For me it works only every seconde time. Seems like the underlying PowerShell query takes a lot of time. Something which Zabbix doesn't like.

@Jorpavon
Copy link

Jorpavon commented Apr 5, 2018

I'm on Zabbix 3.4.7 and Veeam 9.5. I was having the same trouble and I solved increasing the Timeout=30 on zabbix agent and server.

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

6 participants