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)
7 return luci.i18n.translate("Disk Usage")
10 function rrdargs( graph, plugin, plugin_instance, dtype )
14 title = "%H: Disk I/O operations on %pi",
15 vlabel = "Operations/s",
16 number_format = "%5.1lf%sOp/s",
19 types = { "disk_ops" },
21 disk_ops = { "read", "write" },
41 title = "%H: Disk I/O bandwidth on %pi",
43 number_format = "%5.1lf%sB/s",
48 types = { "disk_octets" },
50 disk_octets = { "read", "write" }
58 disk_octets__write = {