pp-statistics: add support for cUrl 2209/head
authorChizhong Jin <pjincz@gmail.com>
Sat, 13 Oct 2018 18:34:49 +0000 (02:34 +0800)
committerChizhong Jin <pjincz@gmail.com>
Sat, 13 Oct 2018 18:34:49 +0000 (02:34 +0800)
commit2d1830422b90d3dadc07b2d1ee05b0dc8ef7c583
tree63ebbb3e12c8e2d563fd3bcaa78dfacfd3ca751c
parent4f9e23f2b6cc42b8c534d32ec8669b1583c22cc0
pp-statistics: add support for cUrl

Add collectd-mod-curl plugin support. Which can do some complex track,
such as grab stock, but by now, only response time are supported.

Signed-off-by: Chizhong Jin <pjincz@gmail.com>
applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/curl.lua [new file with mode: 0644]
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/curl.lua [new file with mode: 0644]
applications/luci-app-statistics/root/etc/config/luci_statistics
applications/luci-app-statistics/root/usr/bin/stat-genconfig