diff options
Diffstat (limited to '')
-rw-r--r-- | graph.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -92,6 +92,9 @@ if (isset($plugin_json[$type]['rrdtool_opts'])) { | |||
92 | if (isset($plugin_json[$type]['datasize']) and $plugin_json[$type]['datasize']) | 92 | if (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 | ||
95 | if ($type == 'if_octets') | ||
96 | $obj->percentile = $CONFIG['percentile']; | ||
97 | |||
95 | if (isset($plugin_json[$type]['scale'])) | 98 | if (isset($plugin_json[$type]['scale'])) |
96 | $obj->scale = $plugin_json[$type]['scale']; | 99 | $obj->scale = $plugin_json[$type]['scale']; |
97 | 100 | ||