Ad Widget

Collapse

How to upgrade to the optional database version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xorrkaz
    Junior Member
    • Sep 2021
    • 2

    #1

    How to upgrade to the optional database version

    I'm currently running Zabbix 5.0.15, upgraded from 5.0.12 via packages on CentOS 7. One of the new 5.0.15 features is this Cisco ASAv template. However, after an upgrade to 5.0.15, following the instructions in the docs, I still don't have it. I confirm the create_sql.gz file has the new template, but I also see this in the zabbix_server.log:

    Code:
    Sep 12 14:36:42 tst01-z0-vm-zabbix-backend-01 zabbix_server[17758]: current database version (mandatory/optional): 05000000/05000004
    So my guess is that I'm running the mandatory minimum DB version, but there is an optional upgrade (that likely has this template). I could not find instructions anyway for upgrading the to the optional DB version. I read that if the mandatory DB version is too old, a database upgrade will be triggered. So I assume there's a way to do this for the optional upgrade, too.

    Thanks.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Newly added templates will not be added unless you import them yourself. Try importing the template on Git.

    Comment

    • xorrkaz
      Junior Member
      • Sep 2021
      • 2

      #3
      Thanks. I found the same when looking at the DB migration C code. In thinking about it, this makes sense given one might have already imported such a template (though I suppose some special system class/naming could be done). Nonetheless, having the git pointers work, though a bit of a non-obvious step.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4806

        #4
        If you have done mods to installed templates, then you would be quite upset, if next upgrade would overwrite your mods, while importing again all the default templates.....

        Comment

        Working...