diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/disk.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/disk.php b/plugin/disk.php index a776abd..e3a5f3d 100644 --- a/plugin/disk.php +++ b/plugin/disk.php | |||
@@ -33,9 +33,8 @@ switch($obj->args['type']) { | |||
33 | break; | 33 | break; |
34 | case 'disk_octets': | 34 | case 'disk_octets': |
35 | $obj->rrd_title = sprintf('Disk Traffic (%s)', $obj->args['pinstance']); | 35 | $obj->rrd_title = sprintf('Disk Traffic (%s)', $obj->args['pinstance']); |
36 | $obj->rrd_vertical = sprintf('%s per second', ucfirst($CONFIG['datasize'])); | 36 | $obj->rrd_vertical = 'Bytes per second'; |
37 | $obj->rrd_format = '%5.1lf%s'; | 37 | $obj->rrd_format = '%5.1lf%s'; |
38 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | ||
39 | break; | 38 | break; |
40 | case 'disk_ops': | 39 | case 'disk_ops': |
41 | $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']); | 40 | $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']); |