From: Jo-Philipp Wich Date: Wed, 8 Oct 2008 15:59:10 +0000 (+0000) Subject: * luci-0.8: backport statistics dns plugin fix X-Git-Tag: 0.8.0~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c8170941b9e00517bf0b653b60106aa3a3f76f6f;hp=9a02c8634e9aaff78c14c5c71f7edbae917ddb05;p=oweals%2Fluci.git * luci-0.8: backport statistics dns plugin fix --- diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions.lua b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions.lua index e7938ad55..7e0b60534 100644 --- a/applications/luci-statistics/luasrc/statistics/rrdtool/definitions.lua +++ b/applications/luci-statistics/luasrc/statistics/rrdtool/definitions.lua @@ -297,14 +297,14 @@ function Instance.__init__( self, ... ) "LINE1:rsp_avg#" .. self.palette.FullGreen .. ":Responses", "GPRINT:rsp_avg:AVERAGE:%5.1lf%s Avg,", "GPRINT:rsp_max:MAX:%5.1lf%s Max,", - "GPRINT:rsp_avg:LAST:%5.1lf%s Last\\l", - "GPRINT:rsp_avg_sum:LAST:(ca. %5.1lf%sB Total)", + "GPRINT:rsp_avg:LAST:%5.1lf%s Last", + "GPRINT:rsp_avg_sum:LAST:(ca. %5.1lf%sB Total)\\l", "LINE1:qry_avg#" .. self.palette.FullBlue .. ":Queries ", - #"GPRINT:qry_min:MIN:%5.1lf %s Min,", + "GPRINT:qry_min:MIN:%5.1lf %s Min,", "GPRINT:qry_avg:AVERAGE:%5.1lf%s Avg,", "GPRINT:qry_max:MAX:%5.1lf%s Max,", - "GPRINT:qry_avg:LAST:%5.1lf%s Last\\l", - "GPRINT:qry_avg_sum:LAST:(ca. %5.1lf%sB Total)" + "GPRINT:qry_avg:LAST:%5.1lf%s Last", + "GPRINT:qry_avg_sum:LAST:(ca. %5.1lf%sB Total)\\l" }, dns_opcode = {