diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/disk.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/disk.php b/plugin/disk.php index 9837041..e3a5f3d 100644 --- a/plugin/disk.php +++ b/plugin/disk.php | |||
@@ -29,7 +29,7 @@ switch($obj->args['type']) { | |||
29 | case 'disk_merged': | 29 | case 'disk_merged': |
30 | $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']); | 30 | $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']); |
31 | $obj->rrd_vertical = 'Merged operations/s'; | 31 | $obj->rrd_vertical = 'Merged operations/s'; |
32 | $obj->rrd_format = '%5.1lf'; | 32 | $obj->rrd_format = '%5.1lf%s'; |
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']); |
@@ -39,7 +39,7 @@ switch($obj->args['type']) { | |||
39 | case 'disk_ops': | 39 | case 'disk_ops': |
40 | $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']); | 40 | $obj->rrd_title = sprintf('Disk Operations (%s)', $obj->args['pinstance']); |
41 | $obj->rrd_vertical = 'Ops per second'; | 41 | $obj->rrd_vertical = 'Ops per second'; |
42 | $obj->rrd_format = '%5.1lf'; | 42 | $obj->rrd_format = '%5.1lf%s'; |
43 | break; | 43 | break; |
44 | case 'disk_time': | 44 | case 'disk_time': |
45 | $obj->rrd_title = sprintf('Disk time per operation (%s)', $obj->args['pinstance']); | 45 | $obj->rrd_title = sprintf('Disk time per operation (%s)', $obj->args['pinstance']); |