aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/graph.php
diff options
context:
space:
mode:
Diffstat (limited to 'graph.php')
-rw-r--r--graph.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/graph.php b/graph.php
index 55be9e9..dadb2c5 100644
--- a/graph.php
+++ b/graph.php
@@ -92,6 +92,9 @@ if (isset($plugin_json[$type]['rrdtool_opts'])) {
92if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) 92if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize'])
93 $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1; 93 $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1;
94 94
95if ($type == 'if_octets')
96 $obj->percentile = $CONFIG['percentile'];
97
95if (isset($plugin_json[$type]['scale'])) 98if (isset($plugin_json[$type]['scale']))
96 $obj->scale = $plugin_json[$type]['scale']; 99 $obj->scale = $plugin_json[$type]['scale'];
97 100