Template Veeam Backup and Repication API Version

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I saw a setup with Zabbix monitoring a Veeam installation that stopped working from the moment where veeam was updated to version 13. The "Get Metrics" Request got into an error:

      Request failed with status code 500: {"errorCode":"ServiceUnavailable","message":"Job type HyperVBackup is not supported in this API version.","title":"Job type HyperVBackup is not supported in this API version.","status":500} 

      I found out that the query for the endpoint `api/v1/jobs/states` causes the error. So one solution is to comment out that line in the script. When i updated the api version header to use version 1.3-rev1 instead it worked again even with the endpoint enabled.

       

      Maybe it could be useful to define the used api version by some parameter?

            Assignee:
            Michal Laga
            Reporter:
            Peter Kessen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: