diff options
author | Pim van den Berg | 2014-06-24 12:38:10 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-06-24 12:44:37 +0200 |
commit | d21f4a765b82e4c02ff15bf730b0e1f0d68d5471 (patch) | |
tree | 567b1cb3fdbfb8b5ea33704ee8c665f4494647af /type/Base.class.php | |
parent | plugin/tcpconns: fix missing port number in rrd title (diff) | |
download | apt-panopticon_cgp-d21f4a765b82e4c02ff15bf730b0e1f0d68d5471.zip apt-panopticon_cgp-d21f4a765b82e4c02ff15bf730b0e1f0d68d5471.tar.gz apt-panopticon_cgp-d21f4a765b82e4c02ff15bf730b0e1f0d68d5471.tar.bz2 apt-panopticon_cgp-d21f4a765b82e4c02ff15bf730b0e1f0d68d5471.tar.xz |
add percentile support to network traffic graphs
Set $CONFIG['percentile'] to a number and a XXth percentile line + legend
will be added to all network traffic (if_octets) graphs.
Closes #81
Diffstat (limited to 'type/Base.class.php')
-rw-r--r-- | type/Base.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index 40f3df0..883c98f 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
@@ -22,6 +22,7 @@ class Type_Base { | |||
22 | var $height; | 22 | var $height; |
23 | var $graph_type; | 23 | var $graph_type; |
24 | var $negative_io; | 24 | var $negative_io; |
25 | var $percentile = false; | ||
25 | var $graph_smooth; | 26 | var $graph_smooth; |
26 | 27 | ||
27 | var $files; | 28 | var $files; |