blob: 01eb33f9b43af8acc74fd8998ae2a424bb338fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
-- Copyright 2015 Hannu Nyman <hannu.nyman@iki.fi>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.entropy", package.seeall)
function item()
return luci.i18n.translate("Entropy")
end
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
title = "%H: Available entropy",
vlabel = "bits",
number_format = "%4.0lf",
data = {
types = { "entropy" },
options = { entropy = { title = "Entropy %di" } }
}
}
end
|