Zabbix Documentation 4.2

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:config:visualisation:graphs:simple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
manual:config:visualisation:graphs:simple [2014/09/25 14:42]
sasha Page moved from 2.4:manual:config:visualisation:graphs:simple to manual:config:visualisation:graphs:simple
manual:config:visualisation:graphs:simple [2019/04/05 08:02] (current)
martins-v date in relative format can contain one or several mathematical operations
Line 1: Line 1:
-==== - #1 Simple graphs ====+==== 1 Simple graphs ====
  
 === Overview === === Overview ===
Line 9: Line 9:
 Just go to //​Monitoring -> Latest data// and click on the Graph link for the respective item and a graph will be displayed. ​ Just go to //​Monitoring -> Latest data// and click on the Graph link for the respective item and a graph will be displayed. ​
  
-{{:2.4/manual/config/simple_graph.png|}}+{{manual:config:simple_graph.png?600|}}
  
-**Time period selector**+<​note>​Simple graphs are provided for all numeric items. For textual items, a link to History is available in //​Monitoring -> Latest data//​.</​note>​
  
-Take note of the time period selector ​above the graph. It allows you to select the desired time period easily.+=== Time period selector ​===
  
-The slider within ​the selector ​can be dragged back and forth, as well as resized, effectively changing ​the time period displayedLinks on the left hand side allow to choose some often-used predefined ​periods ​(above the slider area) and move them back and forth in time (below the slider area). The dates on the right hand side actually work as links, popping up a calendar and allowing to set a specific start/end time+Take note of the time period ​selector ​above the graphIt allows ​to select ​often required ​periods ​with one mouse click
  
-The **fixed/dynamic** link in the lower right hand corner has the following effects: +Note that such options as //Today//, //This week//, //This month//, //This year// display ​the whole period, including ​the hours/days in the future. //Today so far//, in contrast, only displays ​the hours passed. 
-  * controls whether the time period ​is kept constant when you change ​the start/end time in the calendar popup + 
-  * when //fixed//, time moving controls (<< 6m 1m 7d 1d 12h 1h | 1h 12h 1d 7d 1m 6m >>) will move the sliderwhile not changing its size, whereas when //dynamic//the control used will enlarge the slider ​in the respective ​direction. +Once a period is selectedit can be moved back and forth in time by clicking on the {{:​manual:​config:​visualisation:​left_arrow.png|}} {{:​manual:​config:​visualisation:​right_arrow.png|}} arrow buttons. The //Zoom out// button allows to zoom out the period two times or by 50% in each direction. Zoom out is also possible by double-clicking in the graphs. The whole time period selector can be collapsed by clicking on the tab label containing the selected period string
-  * when //fixed//, pressing ​the larger ​**<** and **>** buttons will move the slider, while not changing its size, whereas when //dynamic//, **<** and **>​** ​will enlarge the slider in the respective directionThe slider will move by the amount of its sizeso, for example, if it is one month, it will move by a month; whereas ​the slider will enlarge by 1 day.+ 
 +The //From/To// fields display the selected period in either: 
 + 
 +  * absolute time syntax in format ''​Y-m-d H:​i:​s''​ 
 +  * relative time syntaxe.g.: ''​now-1d''​ 
 + 
 +A date in relative format can contain one or several mathematical operations (- or +), e.g. ''​now-1d''​ or ''​now-1d-2h+5m''​. For relative time the following abbreviations are supported:​ 
 + 
 +  ​now 
 +  ​s (seconds) 
 +  ​m (minutes) 
 +  ​h (hours) 
 +  ​d (days) 
 +  ​w (weeks) 
 +  ​M (months) 
 +  ​y (years) 
 + 
 +It is possible to pick a specific start/end date by clicking on the calendar icon next to the //From/To// fields. In this casethe date picker pop up will open. 
 + 
 +{{:​manual:​config:​date_picker.png?​200|}} 
 + 
 +Within ​the date picker, it is possible to navigate between the blocks of year/month/date using Tab and Shift+Tab. Keyboard arrows or arrow buttons allow to select ​the desired value. Pressing Enter (or clicking on the desired value) activates the choice.
  
 Another way of controlling the displayed time is to highlight an area in the graph with the left mouse button. The graph will zoom into the highlighted area once you release the left mouse button. Another way of controlling the displayed time is to highlight an area in the graph with the left mouse button. The graph will zoom into the highlighted area once you release the left mouse button.
  
-<​note>​Simple graphs are provided for all numeric items. For textual itemsa link to History is available ​in //​Monitoring -> Latest data//.</​note>​+In case no time value is specified or field is left blanktime value will be set to "​00:​00:​00"​. This doesn'​t apply to today'​s date selection: ​in that case time will be set to current value
  
-**Recent data vs longer periods**+=== Recent data vs longer periods ​===
  
 For very recent data a **single** line is drawn connecting each received value. The single line is drawn as long as there is at least one horizontal pixel available for one value. For very recent data a **single** line is drawn connecting each received value. The single line is drawn as long as there is at least one horizontal pixel available for one value.
Line 34: Line 55:
 Working time (working days) is displayed in graphs as a white background, while non-working time is displayed in grey (with the //Original blue// default frontend theme). Working time (working days) is displayed in graphs as a white background, while non-working time is displayed in grey (with the //Original blue// default frontend theme).
  
-{{:2.4/manual/config/​graph_workingtime.png?550|}}+{{manual:config:​graph_working_time.png?550|}}
  
-Working time is always displayed in simple graphs, whereas displaying it in [[:​2.4/​manual/​config/​visualisation/​graphs/​custom#​configuring_custom_graphs|custom graphs]] is a user preference. ​+Working time is always displayed in simple graphs, whereas displaying it in [[custom#​configuring_custom_graphs|custom graphs]] is a user preference. ​
  
 Working time is not displayed if the graph shows more than 3 months. ​ Working time is not displayed if the graph shows more than 3 months. ​
Line 42: Line 63:
 == Generating from history/​trends == == Generating from history/​trends ==
  
-Graphs can be drawn based on either item [[:2.0/manual/​config/​items/​history_and_trends|history or trends]]. ​grey caption at the bottom right of a graph indicates ​where the data come from.+Graphs can be drawn based on either item [[:​manual/​config/​items/​history_and_trends|history or trends]]. ​ 
 + 
 +For the users who have frontend [[:​manual/​web_interface/​debug_mode|debug mode]] activated, a grey, vertical ​caption ​is displayed ​at the bottom right of a graph indicating ​where the data come from.
  
 Several factors influence whether history of trends is used: Several factors influence whether history of trends is used:
Line 51: Line 74:
  
   * 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).   * 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).
-== Switching to raw values ==+ 
 +=== Absence of data === 
 + 
 +For items with a regular update interval, nothing is displayed in the graph if item data are not collected. 
 + 
 +However, for trapper items and items with a scheduled update interval (and regular update interval set to 0), a straight line is drawn leading up to the first collected value and from the last collected value to the end of graph; the line is on the level of the first/last value respectively. 
 + 
 +=== Switching to raw values ​===
  
 A dropdown on the upper right allows to switch from the simple graph to the //​Values/​500 latest values// listings. This can be useful for viewing the numeric values making up the graph. A dropdown on the upper right allows to switch from the simple graph to the //​Values/​500 latest values// listings. This can be useful for viewing the numeric values making up the graph.
  
 The values represented here are raw, i.e. no units or postprocessing of values is used. Value mapping, however, is applied. The values represented here are raw, i.e. no units or postprocessing of values is used. Value mapping, however, is applied.
 +=== Known issues ===
  
 +See [[:​manual/​installation/​known_issues#​graphs|known issues]] for graphs.