Ad Widget

Collapse

How old can data be displayed in an Item Value widget?

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    How old can data be displayed in an Item Value widget?

    I have noticed that some item values displayed by the "Item Value" widget are not displayed in the dashboard. Instead, a "no data" message is displayed.
    ​​

    The item has an interval of 1 day and a "discard unchanged" preprocessing step with a heartbeat of 7 days. So the item can have values up to 7 days old.
    When the widget is set to display this item, it will only display the value if it is less than one day old. If the value is older than one day, it displays "no data".
    Incidentally, the same data is correctly displayed in the inventory overview.
    Click image for larger version  Name:	image.png Views:	0 Size:	1.1 KB ID:	475791

    This raised some questions.
    Shouldn't the item value widget always show the last value of an item?
    How far back can an item value widget display data?​
    Last edited by markfree; 14-12-2023, 00:58.
  • Answer selected by markfree at 17-12-2023, 14:47.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    Check, if something changes, if you go to Administration->General and change "Max history display period​" to more than 24h...
    EDIT: I stand corrected..
    Last edited by cyber; 15-12-2023, 13:05.

    Comment


    • Hamardaban
      Hamardaban commented
      Editing a comment
      Administration → General → GUI → Max history display period
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2
    Originally posted by markfree
    ...
    When the widget is set to display this item, it will only display the value if it is less than one day old. If the value is older than one day, it displays "no data".
    ...
    Shouldn't the item value widget always show the last value of an item?
    I don't think so, if you have set period "last 24h" then why should it display data beyond that?

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #3
      Originally posted by cyber

      I don't think so, if you have set period "last 24h" then why should it display data beyond that?
      Sorry. I wasn't clear.

      I've noticed that when the stored data in the database is more than one day old, the widget doesn't display it. Instead, it shows a "no data" message.

      This behavior persists regardless of the period filter set on the dashboard. Whether it's set to 1 hour, 1d, 7d, or 30d, the data isn't shown.

      Comment

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

        #4
        Check, if something changes, if you go to Administration->General and change "Max history display period​" to more than 24h...
        EDIT: I stand corrected..
        Last edited by cyber; 15-12-2023, 13:05.

        Comment


        • Hamardaban
          Hamardaban commented
          Editing a comment
          Administration → General → GUI → Max history display period
      • markfree
        Senior Member
        • Apr 2019
        • 868

        #5
        I guess this is it.
        The last stored value
        was about 2 days ago and it is still showing on the dashboard.
        Click image for larger version  Name:	image.png Views:	1 Size:	2.2 KB ID:	476015Click image for larger version  Name:	image.png Views:	1 Size:	7.0 KB ID:	476016


        When I change the "Max history display period" back to 1d, it shows "no data" again.​

        Thanks guys.​
        Last edited by markfree; 17-12-2023, 14:50.

        Comment

        Working...