summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics')
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua2
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua8
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua2
3 files changed, 6 insertions, 6 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua
index 449a4e2147..0da546c0b4 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua
@@ -22,7 +22,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
number_format = "%5.0lf",
data = {
sources = {
- conntrack = { "entropy" }
+ conntrack = { "value" }
},
options = {
conntrack = {
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
index 9b698d263a..a6f3b5c6a6 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/interface.lua
@@ -22,9 +22,9 @@ function rrdargs( graph, plugin, plugin_instance )
--
local traffic = {
- -- draw this diagram for each data instance
+ -- draw this diagram for each plugin instance
per_instance = true,
- title = "%H: Transfer on %di",
+ title = "%H: Transfer on %pi",
vlabel = "Bytes/s",
-- diagram data description
@@ -58,9 +58,9 @@ function rrdargs( graph, plugin, plugin_instance )
--
local packets = {
- -- draw this diagram for each data instance
+ -- draw this diagram for each plugin instance
per_instance = true,
- title = "%H: Packets on %di",
+ title = "%H: Packets on %pi",
vlabel = "Packets/s",
-- diagram data description
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
index 5707f3aba8..bdffc85997 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
@@ -20,7 +20,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
-- Ping roundtrip time
{ title = "%H: ICMP Round Trip Time", vlabel = "ms",
number_format = "%5.1lf ms", data = {
- sources = { ping = { "ping" } },
+ sources = { ping = { "value" } },
options = { ping__ping = { noarea = true, title = "%di" } }
} },