statistics: fix conntrack regression caused by collectd 5.5.0
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 18 Aug 2015 20:05:00 +0000 (23:05 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 18 Aug 2015 20:05:00 +0000 (23:05 +0300)
commitff9da6cb7657704b07ed35b4ffb17b9d2bece43d
tree4e9979547e5403d5d4ab94980cd1074794531daf
parent2a77918b023f6afc754d008a952776da69f0f618
statistics: fix conntrack regression caused by collectd 5.5.0

Collectd 5.5.0 introduced new data to conntrack plugin:
In addition to the number of tracked connections there is also
the static max conntrack value and the calculated use percentage.

Luci's conntrack plugin intrepretes "conntrack-max" as a new data instance
and includes it in the graph in addition to the real "conntrack" number.

Eliminate "max" from graph by specifying empty "" instance as data source.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/conntrack.lua