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 )
10 title = "%H: Disk I/O operations on %pi",
11 vlabel = "Operations/s",
12 number_format = "%5.1lf%sOp/s",
15 types = { "disk_ops" },
17 disk_ops = { "read", "write" },
37 title = "%H: Disk I/O bandwidth on %pi",
39 number_format = "%5.1lf%sB/s",
44 types = { "disk_octets" },
46 disk_octets = { "read", "write" }
54 disk_octets__write = {