Ad Widget

Collapse

timescaledb.sql missing in zabbix-sql-scripts_7.0.0~beta1-4+ubuntu22.04_all.deb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dszabbix
    Junior Member
    • Sep 2022
    • 2

    #1

    timescaledb.sql missing in zabbix-sql-scripts_7.0.0~beta1-4+ubuntu22.04_all.deb

    timescaledb.sql was present in zabbix-sql-scripts_7.0.0~alpha1 through alpha7, but is no longer present in alpha8,9 or beta1. The documentation still refers to using this script to set up Zabbix to use timescaleDB :



    Are there updated instructions for how to enable timescaleDB on a fresh 7.0 installation?

    Thank you.

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

    #2
    Is there a "/usr/share/zabbix-sql-scripts/postgresql/timescaledb/schema.sql" ? At least, if looking on source package, it has moved and renamed... but identical file in alpha6 and beta1.
    ~/zabbix-7.0.0alpha6/database/postgresql/timescaledb.sql
    ~/zabbix-7.0.0beta1/database/postgresql/timescaledb/schema.sql

    Comment

    • dszabbix
      Junior Member
      • Sep 2022
      • 2

      #3
      Thank you cyber and sorry for the late response (I didn't get an email notification and haven't been back here til now). Yes, schema.sql is there and works fine.

      Comment

      • db100
        Member
        • Feb 2023
        • 61

        #4
        how about kubernetes and dockerfiles ? where is the schame.sql file ?

        Comment

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

          #5
          Originally posted by db100
          how about kubernetes and dockerfiles ? where is the schame.sql file ?
          you may need it only with clean install, if you upgrde, server does all required upgrade steps during first start.

          Comment


          • db100
            db100 commented
            Editing a comment
            i believe a simple note in the documentation would be of great help !!
        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #6
          • db100 commented
            Today, 10:19
            i believe a simple note in the documentation would be of great help !!
          I don't know... If the script is used for "initial DB creation" and is not mentioned in upgrade notes, then why would you need to run it...

          Comment


          • db100
            db100 commented
            Editing a comment
            i ended up needing the script for migrating a non timescale instance onto a timescale one, after installing timescale in postgres.

            the script was in the container but the path did not match the documented one AFAIK

          • db100
            db100 commented
            Editing a comment
            here the actual path inside the container: /usr/share/doc/zabbix-server-postgresql/timescaledb.sql which does not match whats written in the doc: https://www.zabbix.com/documentation...scaledb-schema
        • viruslab
          Junior Member
          • Jul 2024
          • 4

          #7
          Code:
          the actual path inside the container:
          /usr/share/doc/zabbix-server-postgresql/timescaledb.sql
          which does not match whats written in the docs
          This is really confusing. I spent so many time to find this.
          Please fix this in the docs.

          Comment

          • Markku
            Senior Member
            Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
            • Sep 2018
            • 1781

            #8
            Originally posted by viruslab
            Please fix this in the docs.
            Select the text in the docs and press Ctrl/Command-Enter to submit feedback (see the footer text on any documentation page). (I don't know how to do that on touch-only devices)

            Markku

            Comment

            Working...