Ad Widget

Collapse

Zabbix 6.2.1 does not show graphs older than two days

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • piti
    Junior Member
    • Feb 2022
    • 3

    #1

    Zabbix 6.2.1 does not show graphs older than two days

    Hello,
    I noticed an interesting thing.
    after updating to zabbix 6.2, the graphs only show data for a maximum of two days... when I enter, for example, seven days... the displayed data is empty.

    i'm running on zabbix server 6.2.1,
    MariaDB 10.5.15 and Debian 11


    graph of 2 days
    Click image for larger version

Name:	Snímka obrazovky 2022-08-16 o 19.16.48.png
Views:	1277
Size:	587.4 KB
ID:	449897
    graph of 7 days

    Click image for larger version

Name:	Snímka obrazovky 2022-08-16 o 19.17.02.png
Views:	1219
Size:	115.5 KB
ID:	449898
  • VeeEnDee
    Junior Member
    • Jul 2022
    • 7

    #2
    Hey, piti.
    What previous version you had?
    It seems to me like you have updated from version 5.X< and ran sql script to update history tables, but you have not transferred your old data from old history tables to new ones.
    If I am right all your history is availiable within zabbix db in tables like "history_old, history_uint_old" etc. And you need to do this.
    In any case, if you have not got history, you should start checking history tables in your databases. Check your mysql\zabbix logs, maybe some access errors for histroy* tables there.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      When displaying a graph for a longer period, trends are used instead of history.
      trends_uint and trends tables

      Check how trend storage is configured for items data and clearing trend data.

      And of course pay attention to the comments VeeEnDee !

      Comment


      • VeeEnDee
        VeeEnDee commented
        Editing a comment
        longer period than what period?
    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #4

      please note "Generating from history/trends"

      Comment


      • VeeEnDee
        VeeEnDee commented
        Editing a comment
        thank you for you reply. from docs:
        >longevity of item history. For example, item history can be kept for 14 days. In that case, any data older than the fourteen days will be coming from trends.
        Normally history is kept 7+ days as I can see from default zabbix templates, so my assumption is not silly. In the comment there were nothing about history keeping periods, so I did "pay attention". chill
        BR
    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #5
      то VeeEnDee : you probably misunderstood me (translation difficulties - sorry)
      I wrote to piti to pay attention to YOUR comments! Because I think it is correct, adjusted for which tables you need to pay attention to (trends no history)

      Comment


      • VeeEnDee
        VeeEnDee commented
        Editing a comment
        oh, thank you than. That was misunderstanding from my side. Sorry
        Thanks for adjusting,
        BR
        Last edited by VeeEnDee; 17-08-2022, 15:44.
    • bunkzilla
      Junior Member
      • Feb 2017
      • 6

      #6
      I'm having the same thing happen on 6.0.4. If I try to show anything greater than 2 days, it tries to grab data from trends, which in my scenario doesn't exist.

      Comment

      Working...