Ad Widget

Collapse

Zabbix graphs - force to show history instead of trends for 7 days

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • registration_is_lame
    Senior Member
    • Nov 2007
    • 148

    #1

    Zabbix graphs - force to show history instead of trends for 7 days

    Hi,

    I've saved the item to have 90 days of history. But when I view graphs, I can only view 4 days of history. If I select more than 5 days or 7 days it shows only Trends.

    Is there anyway to force to show history or anywhere I can set (like in frontend php files) to show more history (around 10 days history) than trends?
    Last edited by registration_is_lame; 18-04-2017, 08:02.
  • registration_is_lame
    Senior Member
    • Nov 2007
    • 148

    #2
    Found the reason for why it doesn't work...

    It seems zabbix 3.4 API will have options to pull data from history, if anyone knows if that's possible already, let us know.

    I tried changing the graph width, but it doesn't reflect in "Monitoring -> Graphs". It reflects for individual host graphs though. My graphs are combined wit multiple hosts.

    Found the reason for why it doesn't work...




    Several factors influence whether history of trends is used:

    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.

    data congestion in the graph. If the amount of seconds to display in a horizontal graph pixel exceeds 3600/16, trend data are displayed (even if item history is still available for the same period).

    if trends are disabled, item history is used for graph building - if available for that period. This is supported starting with Zabbix 2.2.1 (before, disabled trends would mean an empty graph for the period even if item history was available).

    Comment

    • Lazy Zeroed
      Junior Member
      • Jun 2020
      • 5

      #3
      I've obtained graphs based on historical data (without trends) by https://grafana.com/grafana/plugins/...in-zabbix-app/
      It has parameters trends, after and range https://alexanderzobnin.github.io/gr...configuration/

      Comment

      Working...