REST API knowledge exchange
Post Reply
victorsina
Lurker
Posts: 2
Liked: 1 time
Joined: Aug 03, 2023 9:20 pm
Full Name: Victor Andres Sina S
Contact:

Veeam Jobs Zabbix monitoring throught REST API

Post by victorsina »

Hi all

I post this here because Im trying to configure the Veeam backup Replication 11.0.0.837 jobs monitoring ussing Zabbix 6.4.4

I use the following template

https://git.zabbix.com/projects/ZBX/rep ... ease%2F6.4

Y complete the macros as a show.

{$VEEAM.API.URL}. = https://192.168.0.8:9419
{$VEEAM.PASSWORD}. = the password
{$VEEAM.USER} = user with reader role

The REST API opens the SWAGGER as expected via 9419 tcpip port, but when I try to configure the zabbix template I saw this in the logs

Login failed with status code 400: {"errorCode":"NotImplemented","message":"Unsupp ort ed RESTAPI version. The following versions are supported: v1.0-rev1.","resourceId":null}.

I can access the infrastructure from a zabbix server running in a remote location. The infrastructure is accesibe through a Zabbix Proxy installed into a docker container.
I not have any clue to workaround this.
Any help will be apreciated.

Regards
Victor
Mildur
Product Manager
Posts: 9848
Liked: 2610 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam Jobs Zabbix monitoring throught REST API

Post by Mildur » 1 person likes this post

Hi Victor

First, please let me say you are using a Veeam version which has known security vulnerabilities.
https://www.veeam.com/kb4288 (CVSS v3 score: 9.8 )
https://www.veeam.com/kb4424 (CVSS v3 score: 7.5 )

I strongly recommend to update to the latest V11a build (11.0.1.1261 P20230227) or V12 build (12.0.0.1420 P20230718):
https://www.veeam.com/kb2680

Back to the issue you see.
In the Zabbix template, I can see it tries to access vbr-rest-v1-rev2. Which is not available in V11 (11.0.0.837). Therefore you get the error message "Unsupported RESTAPI version. The following versions are supported: v1.0-rev1.".

Please update to the recommended V11a build and try the Zabbix Template again. In V11a, vbr-rest-v1-rev2 is available and supported.

Best,
Fabian
Product Management Analyst @ Veeam Software
victorsina
Lurker
Posts: 2
Liked: 1 time
Joined: Aug 03, 2023 9:20 pm
Full Name: Victor Andres Sina S
Contact:

Re: Veeam Jobs Zabbix monitoring throught REST API

Post by victorsina » 1 person likes this post

H Fabian

Thanks for your time and help.
I upgrade the veeam server to 12.0.0.1420 and the zabbix template works as expected.
Only one minimal issue, only works for administrator user id, not for user id with read-only privileges, I will analize that issue.

Thanks again, all backups jobs are monitored now.

Regards
Victor
alleluia
Novice
Posts: 3
Liked: never
Joined: Dec 17, 2020 2:44 am
Full Name: Dao Hai
Contact:

Re: Veeam Jobs Zabbix monitoring throught REST API

Post by alleluia »

Hi victor,
i want to monitoring veeam backup like you .
i'm running zabbix 6.4 & veeam 11.01 but may you manual to setting API & user with read-only role ?
patelharnik
Lurker
Posts: 1
Liked: never
Joined: May 17, 2024 1:55 am
Full Name: Harnik Patel
Contact:

Re: Veeam Jobs Zabbix monitoring throught REST API

Post by patelharnik »

Hi Victor,

Can you please help in sharing details of steps used for Zabbix 6.4.4 with Veeam 12.1

API URL to be used ?
https://<HOSTNAME>:9419/swagger/ui/index.html

Also mentioned username & password as part of using Veeam B&R Monitoring via HTTP Rest API template from Zabbix Portal.
Also granted monitor user with Admin rights still gets Error - Login failed with Error : 404.

Can you please guide for same.

Thanks
Harnik
Mildur
Product Manager
Posts: 9848
Liked: 2610 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Veeam Jobs Zabbix monitoring throught REST API

Post by Mildur »

Hello Harnik

The API URL is wrong. Don‘t provide the link to the swagger subpage.
Please follow the description/examples on the template page:
https://www.zabbix.com/integrations/veeam

Sample: https://localhost:9419/

For any technical errors, Zabbix is not managed by Veeam. I recommend to reach out to Zabbix support: https://support.zabbix.com/

Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest