Graph Output

From FreeNATS Wiki

Jump to: navigation, search

Contents

Example Graph Output

Output from directly calling the test.graph.php script.

All the examples shown are in the same data range.

Standard Output

Image:Graph-Standard.png

The standard output is shown over the last 24 hours. With no other options specified the drawing style defaults to track and spikes (drawing a line under only on failure/warning events). The rangemax is set to the highest value in the data and rangemin usually always zero.

Data Ranges

Image:Graph-Rangemax0.3.png

Setting rangemax=0.3 with the data generates the graph above (the maximum Y axis value is 0.3 and values above that are "above" the top of the graph).

Image:Graph-Rangemaxmin0.3.png

Setting rangemaxmin=0.3 has no affect as the highest data value is above 0.3 so generates the same graph as standard output.

Image:Graph-Rangemax2.0.png

Setting rangemax=2.0 puts the top Y axes value above the data range

Image:Graph-Rangemaxmin2.0.png

Setting rangemaxmin=2.0 results in the same graph as rangemax=2.0 (unlike using rangemaxmin and rangemax 0.3) as the highest data item is under 2.0.


Drawing Styles

Image:Graph-Nospike.png

With draw_spike=0 set

Image:Graph-Notrack.png

With draw_track=0 set

Image:Graph-Colours.png

Colours specified to create a white-on-black display

Views
Personal tools
Toolbox