1 -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
2 -- Licensed to the public under the Apache License 2.0.
4 module("luci.statistics.rrdtool.definitions.disk", package.seeall)
6 function rrdargs( graph, plugin, plugin_instance, dtype )
9 title = "%H: Disk I/O operations on %pi",
10 vlabel = "Operations/s",
11 number_format = "%5.1lf%sOp/s",
14 types = { "disk_ops" },
16 disk_ops = { "read", "write" },
36 title = "%H: Disk I/O bandwidth on %pi",
38 number_format = "%5.1lf%sB/s",
43 types = { "disk_octets" },
45 disk_octets = { "read", "write" }
53 disk_octets__write = {