<< Previous Section Feature Reference [home] Next Section >>

Graph Variables

The following variables can be used in the "Text Format" and "Value" graph item fields. Below is a description of each of these variables.

Data/Time

|date_time|

This variable will place the date and time of the last poller run on the graph. It can be used to replicate MRTG's "graph last updated" feature.

95th Percentile

|95:(bits|bytes):[0-9]:(current|total)|

95th percentile is often used by hosting providers to bill customers based on their peak traffic usage while ignoring their top 5 percent. This way if a customer has a fairly consistent traffic pattern and decides to download a huge file one day, the large spike will be ignored.

In Cacti, 95th percentile works just like any other graph variable. To use this variable you must give it three arguments:

(bits|bytes) Choose whether you want to represent your 95th percentile in bits or bytes. The only valid values for this field are 'bits' and 'bytes'.
[0-9] This field determines the power of 10 divisor that will be applied to your 95th percentile number. Enter '0' to leave the number alone, '3' for kilo or '6' for mega, etc.
(current|total) You can choose to calculate the 95th percentile based on the current data source or a total of all data sources used on the graph. The only valid values for this field are 'current' and 'total'.