1 module("ffluci.statistics.rrdtool.definitions.cpu.cpu",package.seeall)
3 function rrdargs( graph, host, plugin, plugin_instance, dtype )
5 dtype_instances = { "idle", "nice", "system", "user" }
9 opts.image = graph:mkpngpath( host, plugin, plugin_instance, dtype )
10 opts.title = graph:mktitle( host, plugin, plugin_instance, dtype )
11 opts.rrd = { "-v", "Percent" }
23 for i, inst in ipairs(dtype_instances) do
26 rrd = graph:mkrrdpath( host, plugin, plugin_instance, dtype, inst )