VeeamHub / grafana

Grafana dashboard for Veeam solutions
MIT License
60 stars 21 forks source link

Backup and replication - error with api version #27

Closed michelinok closed 2 months ago

michelinok commented 2 months ago

Hi, I'm trying to run the script for veeam backup and replication v11 but i get this error:

Bad request: Unsupported RESTAPI version. The following versions are supported: v1.0-rev1.

Changing the script x-api-version to 1.0-rev1 I get these errors:


root@veeamdashboard:~# ./veeam_backup_and_replication.sh
Successfully obtained bearer token
Writing veeam_vbr_info to InfluxDB
Error: failed to write data: 400 Bad Request: unable to parse 'veeam_vbr_info,veeamVBRId=,veeamVBRName=,veeamVBRVersion=,veeamVBR=192.168.1.150,veeamDatabaseVendor= vbr=1': missing tag value
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
root@veeamdashboard:~#

And I miss a lot of info on the dashboard (eg Managed Servers, Proxy, Backup repository usage, Backup repositories)

I've created a simple readonly user in Veeam of course, with a "simple" password.

Any idea?